Recently Browsing 0 members
No registered users viewing this page.
I always seem to get this warning on every new install of PW on my Ubuntu 14 box with Digital Ocean. The servers are usually based in the UK and I was wondering if I should be adding something other than the below in the config? Is there a UK based locale code? Quick Google didnt come up with much.
Warning: your server locale is undefined and may cause issues. Please add this to /site/config.php file (adjust “en_US.UTF-8” as needed): setlocale(LC_ALL,'en_US.UTF-8');
Added to the config file:
I'm trying to migrate a PW site on my local dev server to a shared hosted server and have used the ProcessExportProfile module to export a profile as a zip file. So far so good. I then deploy new install of PW on the server by unzipping the PW installation files but I do not run the install until I have replaced the various site profiles with the files from the exported profile. So basically:
In the PW install files I delete all the site-* folders except site-default. This one I overwrite with the export profile folders so it contains my assets, install, modules and templates folders together with the exported config.php
I then run the install in the browser in the normal way and it starts the installation and I can see my website profile in the list and I select it. It proceeds as normal and gets to setting up the database. I provide the db info. as usual and it proceeds as far the info. below and 'hangs' at this point , it never goes on to setup the PW login admin. and complete the install I am left at that screen.
If I relaunch the browser at the site it all seems to work! BUT I have no admin login to PW so cannot get into the backend.
I have basically followed the Installation, Moving and Troubleshooting guide by Joss Sanglier: http://processwire.com/docs/tutorials/installation-moving-and-troubleshooting/page4
Any idea where I could check for an error log or some help as I am at a loss as to the problem.
Many thanks. Paul
ProcessWire 3.x Installer
Test Database and Save Configuration
Database connection successful to pinpoin1_master
Saved configuration to ./site/config.php
Imported database file: ./wire/core/install.sql
Imported database file: ./site/install/install.sql
I have one central website, with membership registration and content etc., and then several related websites with their own URL/domains, each on Processwire, all on the same server.
I would like to access the database of the central website from the sister websites. How would I do that?
You can't bootstrap one PW installation into another. You can include template parts from one in the other by just using the server path, but whatever you try to get/post just comes/goes to the database of the site you are on.
Could you switch databases by including the config.php from another PW installation somewhere?
What is the correct, secure way to do this?
Just wondering if its possible to just add some basic output to my modules config page.
I was wanting to output a bulleted list of some information which I will be pulling from a third party.
Retrieving the data is fine i'm just not sure how to output it to the config page?
From what I can see in the link below, it only seems like you can append form items to the page.