I have spent much of the last 24 hours trying to set up DEV 123 on a new server my hosting company has just launched and at every step there seems to have been a problem not all the fault of phpwcms! All the more frustrating since I have already have 2 instances phpwcms working on my other hosted platform for some time. See recents posts for myself for some of the background - error messages and the like.
Anyway, the problem seemed to all boil down to the DOCUMENT_ROOT not being set correctly. All along I have been putting in the correct info but the error messages all indicated that the root was wrong. The reason turns out to be that the directives in the config file are in the wrong order.
It turns out that the following line is in the wrong place:
Code: Select all
$_SERVER['DOCUMENT_ROOT'] = '/files/home1/hp225tj';
Code: Select all
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
This mod, has resolved all my current issues in 3 separate instances on two different servers.
Hope this helps someone else. If others who understand phpwcms agree with my analysis could I please ask that they promote this to a BUG and get a solution into the DEV version as soon as possible.
Thanks to all especially OG for a great product ( although for a few hours yesterday I was begining to think my enthusiasm may have been misplaced!)
James