instakkation

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
olking
Posts: 2
Joined: Thu 21. Dec 2006, 23:41

instakkation

Post 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
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post 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
olking
Posts: 2
Joined: Thu 21. Dec 2006, 23:41

configuration

Post 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
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

$phpwcms['root'] = '20060905_phpwcms_1.2.8';
Post Reply