Page 1 of 1

instakkation

Posted: Sat 23. Dec 2006, 06:29
by olking
Hi,

My operating system is XP home edition.

I am running apache 2.2.3 using xampp 1.5.4a with mysql 5.0.24.

I installed the folder 20060905_phpwcms_1.2.8 into my htdocs folder in xampp which is in program files on c:
when I ran http://localhost/20060905_phpwcms_1.2.8 I got the error response as below:-

Warning: require_once(C:/Program Files/xampp/htdocs/include/inc_lib/dbcon.inc.php) [function.require-once]:

failed to open stream: No such file or directory in C:\Program

Files\xampp\htdocs\20060905_phpwcms_1.2.8\index.php on line 57

Fatal error: require_once() [function.require]: Failed opening required 'C:/Program

Files/xampp/htdocs/include/inc_lib/dbcon.inc.php' (include_path='.;C:\Program Files\xampp\php\pear\') in

C:\Program Files\xampp\htdocs\20060905_phpwcms_1.2.8\index.php on line 57

Can someone advise me as to what I should do.

The include file referred to is in the folder

Bill Cole

Posted: Sat 23. Dec 2006, 15:57
by juergen
xampp\htdocs\20060905_phpwcms_1.2.8\i
you have phpwcms in a subdir, this 20060905 has to be declared as subdir in /config/phpwcms/config.inc.php

Thats all ;)

Jürgen

configuration

Posted: Fri 29. Dec 2006, 04:23
by olking
I tried the following

// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms['root'] = 'c:\program files\xampp\htdocs\';
//$phpwcms['file_path'] = 'phpwcms_filestorage';
$phpwcms['templates'] = 'phpwcms_template';
$phpwcms['content_path'] = 'content';
$phpwcms['cimage_path'] = 'images';
$phpwcms['ftp_path'] = 'phpwcms_ftp';


I entered this in config.inc.php and then I got:-

Parse error: parse error, unexpected T_STRING in C:\Program

Files\xampp\htdocs\20060905_phpwcms_1.2.8\config\phpwcms\conf.inc.php on line 42

As you can tell I am not very clever with configuration and paths

Posted: Fri 29. Dec 2006, 07:41
by juergen
$phpwcms['root'] = '20060905_phpwcms_1.2.8';