Some adjustments: will it eventually screw up phpWCMS?
Posted: Fri 4. May 2007, 12:02
Hi,
after a long absence on the phpWCMS front I installed v 1.3.3 yesterday but that left me with some doubts/questions.
Our university webserver is of the Win NT /IIS variety, the main site is http://www.let.ru.nl/ but I have phpWCMS installed in the subdirectory aikcms, so the URL is http://www.let.ru.nl/aikcms.
Because $_SERVER['DOCUMENT_ROOT'] does not give the right value in PHP (IIS problem?) I had to fill in the correct value for DOC_root in the paths section of the installation process (which is D:\WWW_root\users\aikcms\wwwdocs, I specified nothing for the 'root' value, according to what I found on the forums).
This way I got the maximum of green bars for all the subdirectories of phpWCMS (template, content, etc.) during installation, but I got a 404 error after the login screen. The URL listed in the addres bar of my browser showed
http://www.let.ru.nl/phpwcms.php?PHPSES ... iq0clk5sr2
clearly the subdirectory 'aikcms' was missing in the URL. To fix this I changed line 82 in \include\inc_lib\default.inc.php to
define ('PHPWCMS_URL', $phpwcms["site"]."aikcms/");
That seemed to fix that problem, but on the home page of the backend there was an error message saying that version information could not be displayed because there was no connection with the phpWCMS server. I did not see a way to tackle that problem but I turned version check off in conf.inc.php. Obviously that only cured the symptom, the underlying (unidentified?) problem remains.
Having done all this I can navigate around the backend, but I got the feeling not everything is working ok, for example creating a new user delivers the message 'error while creating new user'.
So any help or tip is much appreciated, especially what I should do during installation tot get things right without tweaking the source code,
many thanks in advance,
Bart
after a long absence on the phpWCMS front I installed v 1.3.3 yesterday but that left me with some doubts/questions.
Our university webserver is of the Win NT /IIS variety, the main site is http://www.let.ru.nl/ but I have phpWCMS installed in the subdirectory aikcms, so the URL is http://www.let.ru.nl/aikcms.
Because $_SERVER['DOCUMENT_ROOT'] does not give the right value in PHP (IIS problem?) I had to fill in the correct value for DOC_root in the paths section of the installation process (which is D:\WWW_root\users\aikcms\wwwdocs, I specified nothing for the 'root' value, according to what I found on the forums).
This way I got the maximum of green bars for all the subdirectories of phpWCMS (template, content, etc.) during installation, but I got a 404 error after the login screen. The URL listed in the addres bar of my browser showed
http://www.let.ru.nl/phpwcms.php?PHPSES ... iq0clk5sr2
clearly the subdirectory 'aikcms' was missing in the URL. To fix this I changed line 82 in \include\inc_lib\default.inc.php to
define ('PHPWCMS_URL', $phpwcms["site"]."aikcms/");
That seemed to fix that problem, but on the home page of the backend there was an error message saying that version information could not be displayed because there was no connection with the phpWCMS server. I did not see a way to tackle that problem but I turned version check off in conf.inc.php. Obviously that only cured the symptom, the underlying (unidentified?) problem remains.
Having done all this I can navigate around the backend, but I got the feeling not everything is working ok, for example creating a new user delivers the message 'error while creating new user'.
So any help or tip is much appreciated, especially what I should do during installation tot get things right without tweaking the source code,
many thanks in advance,
Bart