Page 1 of 1

Setup Problems

Posted: Sun 9. Nov 2003, 15:38
by toby
Hi

I have tried to install this on Abyss Webserver by Aprelium Technologies (which I am advised will work as well as other web servers but was easier to setup and use). When going to the setup index php screen I receive the following notice;

Notice: Undefined variable: body_onload in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\index.php on line 32
>

I know it is fairly common to receive notices like this and in deed they can be turned off. Continuing to the Semi Automated Setup I then agree to the GPL and receive the following messages;

Notice: Undefined index: step in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 26

Notice: Undefined index: do in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 27
Notice: Undefined variable: body_onload in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 147
>

I then ignore these notices and proceed, then get the following;

Notice: Undefined index: do in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 27
Notice: Undefined variable: body_onload in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 147
>

Entering all of the database connection info and checking the box to create tables all in 1 go I get the following messages;

Notice: Undefined variable: conf_file in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 254

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php:254) in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 66
Notice: Undefined variable: body_onload in C:\Program Files\Abyss Web Server\htdocs\PHPWCMS\setup\setup.php on line 147
>

I know that the database and all the tables have been created as I can see them in the MySQL admin screen. What am I supposed to do now ? as I am left in the create database info section of the setup. Do I manually go elsewhere or is there a problem with the setup ?

any help very much appreciated,

cheers, danke schoen,

Toby.

Posted: Sun 9. Nov 2003, 15:46
by Oliver Georgi
Put this in your PHP.INI -> look for error handling:

Code: Select all

error_reporting  =  E_ALL & ~E_NOTICE
Oliver

Posted: Sun 9. Nov 2003, 16:15
by toby
Hi Oliver - I have just looked and the PHP.INI is already setup with that code in there .....

Posted: Sun 9. Nov 2003, 16:45
by Oliver Georgi
Then you might have another problem. But I think that your error_reporting setting is not made correct.

Look here: http://www.apachefriends.org/index-en.html

Oliver

Posted: Sun 9. Nov 2003, 22:34
by toby
oliver - I have downloaded and installed Xampp, and the ijnstallation of phpwcms has gone without hitch, or nearly - just one last question - where is the config file in step 5 supposed to come from and be saved to ? I have assumed it is the config file from the setup folder which will then be deleted ? The inc_conf folder where you suggest saving it with a new filename already has a file called conf.inc.php which cannot be overwritten. Where am I supposed to be copying this to ?

cheers,
Toby.

Posted: Sun 9. Nov 2003, 22:55
by Oliver Georgi
You're right: the setup process updates settings in "setup.conf.inc.php" in setup directory. It is good to proof your setting manually again before storing to "inc_conf".

The first install "conf.inc.php" in "inc_conf" can be deleted and overwritten by the renamed "setup.conf.inc.php". If you want to go a safe way rename "conf.inc.php" and then copy the renamed "setup.conf.inc.php" into "inc_conf" folder. If you download the config file in step 5 look for the right filename - Explorer often adds [1] to the name.

Oliver

Posted: Mon 10. Nov 2003, 00:02
by toby
excellent, thanks for your help it seems to be working. I haven't installed imagemagic or ghost script yet - but I guess this can be done later ? if not I can reinstall the software again from scratch.

Thanks again for your help,

cheers,
Toby.

Posted: Mon 10. Nov 2003, 00:49
by Oliver Georgi
Thats no problem - you can install ImageMagick and GhostScript later - but you can not use automatic thumbnail creation in phpwcms until you've installed.

Oliver