Search the Community
Showing results for tags 'config.php'.
Found 3 results
Hi all! I upgraded my site from version 2.x to 3.x. The process has been quite more difficult than it used to be (mainly because of some third party modules, but I finally managed it. One question I have is, the config.php file. Are there some recommended changes I should do in this file? The config.php file in the example sites do not help so much because the installer will complete the file on installation. Thanks in advance! /Jasper
Hello, I'm working on a processwire based website in my local webserver (I don't have a lot of experience in processwire). I linked a new CSS file but no update on the website. I read some posts on the forum and decided to add $config->templateCompile = false; to my config.php to see if it was a compiler/cache issue. Then, white screen for all the pages even the admin pages. The only information I get is [HTTP/1.0 500 Internal Server Error 19ms] in the inspector console. I already tried to change back the config.php file or to add $config->debug=true; but nothing in the errors.txt. Any ideas ? Thank you
I am using the Multisite.module to run several (similar/related) websites off a single PW-site and database. Adding new sites was as simple as adding the domain to the config box, and a top level page of the same name. However, since an upgrade of PW, I now also have to update my site/config.php file with each extra domain, i.e. $config->httpHosts = array( 'mydomain.com', // our primary hostname 'related.mydomain.com', // related website ); Otherwise the site will throw a 404 page not found. Leaving a blank httpHosts will allow all hostnames, but causes a warning in the back-end Unrecognized HTTP host:'mydomain.com' - Please update your $config->httpHosts setting in /site/config.php Can anyone advise how best to update Multisite.module?