Page 1 of 1
Time for my first one ^^
Posted: Thu 7. Sep 2006, 12:17
by ancerick
Since i have been getting so mutchpoitive feedback on this forum i have decided to try the phpwcms out myself

.. im planing to build a website ... so i downloaded phpwcms .. went through setup process.. but eaven thou it seems to work i get this at upper side on the login:
Warning: main(/phpwcms//phpwcms/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
Warning: main(): Failed opening '/phpwcms//phpwcms/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
soo..

whats that about? what did i do wrong?
hopefully im not turning out to be too mutch pain in the "place where sun dont shine"

Posted: Thu 7. Sep 2006, 12:52
by Jenne20
Hi,
perhaps during copying the files on your server there was a mistake.
I think you should look, if there are all files on your server.
with best regards and hope I could help you
Jenne
Posted: Thu 7. Sep 2006, 13:25
by ancerick
noup.. the files that is missing is there

Posted: Thu 7. Sep 2006, 13:31
by ancerick
also it cant find the:
Warning: main(): Failed opening '/phpwcms//phpwcms/phpwcms_template/inc_default/startup.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
witch is also there... oh and all of this appares after login .. at login screen its fluent

Posted: Thu 7. Sep 2006, 13:33
by marcus@localhorst
Warning: main(): Failed opening '/phpwcms//phpwcms/phpwcms_template/inc_default/startup.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
there is something wrong in your paths configuration, i think.
check your config file
best
marcus
Posted: Thu 7. Sep 2006, 13:59
by ancerick
my current conf file:
Code: Select all
// paths
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT']; //default: $_SERVER['DOCUMENT_ROOT']
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
and in server i have it under /phpwcms/
errors have changed to:
Warning: main(/srv/www/htdocs//include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
Warning: main(): Failed opening '/srv/www/htdocs//include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/include/inc_lib/imagick.convert.inc.php on line 34
and
Warning: main(/srv/www/htdocs//phpwcms_template/inc_default/startup.php): failed to open stream: No such file or directory in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
Warning: main(): Failed opening '/srv/www/htdocs//phpwcms_template/inc_default/startup.php' for inclusion (include_path='.:') in /srv/www/htdocs/phpwcms/phpwcms.php on line 425
im pretty useless in codeing so correct me if im wrong but i think "$_SERVER['DOCUMENT_ROOT']" part asks for the right path in server
Posted: Thu 7. Sep 2006, 14:15
by marcus@localhorst
as I remember right, you need to set
$phpwcms["root"] = "phpwcms";
because you installed phpwcms in a subdirectory.
try it out.
best
m.
Posted: Thu 7. Sep 2006, 14:43
by ancerick
yay works now .. thnx guys
