Include problem, I think...

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Surfaren
Posts: 17
Joined: Mon 16. Feb 2004, 12:43

Include problem, I think...

Post by Surfaren »

Hello boys 'n girls.

I've just installed the latest wcms from zip file. I managed to get green bars on install, which made me think everything was OK, but noooo...
Warning: main(d:/htdocs/include/inc_conf/conf.pagelayout.inc.php) [function.main]: failed to create stream: No such file or directory in d:\htdocs\b2\phpwcms0122\include\inc_front\content.func.inc.php on line 128
I've also searched this forum a little bit, looking for a solution. I can give you this;
@php.ini: include_path = (empty)
@PHP: sessions are working
@apache_conf: ServerName localhost
- || - DocumentRoot "D:/htdocs"
@wcms_conf:

Code: Select all

// site values
$phpwcms["site"]              = "http://localhost/b2/phpwcms0122/";
$phpwcms["admin_email"]       = "";

// 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"
Anybody?

EDIT*
... and everything but phpwcms is working just fine...
System @ localhost: WinXP, Apache 1.3.28, MySQL 3.23, PHP 4.34
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Typical install error (serach forum - this is often listed here)

Code: Select all

$phpwcms["site"]              = "http://localhost/"; 

// paths 
$phpwcms["root"]               = "b2/phpwcms0122";         //default: "" 
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Surfaren
Posts: 17
Joined: Mon 16. Feb 2004, 12:43

Post by Surfaren »

Mmm... I've tried that one.
Not Found
The requested URL /b2/phpwcms0122/b2/phpwcms0122/login.php was not found on this server.
:cry:


EDIT*
Sorry.. I totally forgot the $phpwcms["site"] thing... :oops:

Thank you.
System @ localhost: WinXP, Apache 1.3.28, MySQL 3.23, PHP 4.34
Post Reply