Page 1 of 1

path problem!

Posted: Mon 14. Feb 2005, 23:06
by sk1e
hi all!
I have my phpwcms installed into
http://localhost/new

and when i login i have an 404 error
http://localhost/new/new/phpwcms.php

he doubles /new/ and i have to remove it manually to
http://localhost/new/phpwcms.php

and when i save an artice or temaplte same problem appear
he doublws this /new/ and i have 404 error

i checked path in config files, everything seems to be okay, may be i missed somthing ?

Posted: Tue 15. Feb 2005, 08:10
by brans
hmm I guess that you have set the local path:

C:\APACHE....\htdoces\new\

and additionally the wcms-root to

\new\ . isn't it ?

you only have to set this once! Otherwise search for

document_root on this forum.

Posted: Tue 15. Feb 2005, 11:12
by sk1e
10x dude! everything looks nice now :)
update: oh not yet :((
login now is okay, but when i open site
he says:
Warning: main(): Unable to access /usr/home/www_nik/localhost/include/inc_front/content.article.inc.php in /usr/home/www_nik/localhost/new/include/inc_front/content.func.inc.php on line 196

Warning: main(/usr/home/www_nik/bonvoyage/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /usr/home/www_nik/localhost/new/include/inc_front/content.func.inc.php on line 196

Warning: main(): Failed opening '/usr/home/www_nik/localhost/include/inc_front/content.article.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/www_nik/localhost/new/include/inc_front/content.func.inc.php on line 196


here is my conf.inc for now:
// site values
$phpwcms["site"] = "http://localhost/new/";
$phpwcms["admin_email"] = "a@b.c";

// paths
$phpwcms["root"] = ""; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"

Posted: Tue 15. Feb 2005, 11:43
by Pappnase
hello

change this

Code: Select all

// site values
$phpwcms["site"] = "http://localhost/new/";
$phpwcms["admin_email"] = "a@b.c";

// paths
$phpwcms["root"] = ""; //default: "" 
to this

Code: Select all

// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "a@b.c";

// paths
$phpwcms["root"] = "new"; //default: "" 

Posted: Tue 15. Feb 2005, 11:54
by sk1e
yeah! now it really works :) btw, is there any stats module for this cms ?

Posted: Tue 15. Feb 2005, 12:00
by brans
--...--/index.php/topic,34.0.html (internal)

http://www.phpwcms.de/forum/viewtopic.p ... t=30#33435 (external)