Time for my first one ^^

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ancerick
Posts: 26
Joined: Wed 14. Jun 2006, 16:00

Time for my first one ^^

Post by ancerick »

Since i have been getting so mutchpoitive feedback on this forum i have decided to try the phpwcms out myself :D :D .. 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.. :roll: 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" :wink:
Jenne20
Posts: 184
Joined: Fri 31. Mar 2006, 08:46
Location: Lindhorst/LK Schaumburg
Contact:

Post 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
ancerick
Posts: 26
Joined: Wed 14. Jun 2006, 16:00

Post by ancerick »

noup.. the files that is missing is there :roll:
ancerick
Posts: 26
Joined: Wed 14. Jun 2006, 16:00

Post 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 :roll:
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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
ancerick
Posts: 26
Joined: Wed 14. Jun 2006, 16:00

Post 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
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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.
ancerick
Posts: 26
Joined: Wed 14. Jun 2006, 16:00

Post by ancerick »

yay works now .. thnx guys :D
Post Reply