Page 1 of 1

Set Up issue

Posted: Fri 14. Nov 2003, 21:22
by Dave
I ran through the setup proccess and got this error:

Warning: fopen(setup.conf.inc.php): failed to open stream: Permission denied in /home/hallowwe/public_html/temp/path_2_phpwcms/setup/setup.func.inc.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/hallowwe/public_html/temp/path_2_phpwcms/setup/setup.func.inc.php:38) in /home/hallowwe/public_html/temp/path_2_phpwcms/setup/setup.php on line 66

Do you know what I may be doing wrong?

Thanks
Dave

Posted: Fri 14. Nov 2003, 21:29
by Oliver Georgi
setup.conf.inc.php has to be writable (mode 777 can help). You can set this in your FTP client. Or if you have shell access cd into the setup folder and then chmod 777 setup.conf.inc.php

Oliver

Posted: Fri 14. Nov 2003, 21:30
by Oliver Georgi
Have you checked the documentation?
http://www.phpwcms.de?installation

I set the chmod to 777

Posted: Fri 14. Nov 2003, 21:35
by Dave
and have read throught the docs.


The strange thing is that the database tables have all been created and seem to be correct.
When i try to log in i get this error:
Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/hallowwe/public_html/temp/path_2_phpwcms/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost

what do you think?
Dave

here is the header info:

Posted: Fri 14. Nov 2003, 21:36
by Dave
system: Linux earth.sureshothosting.net 2.4.20-19.7 #1 Tue Jul 15 13:44:14 EDT 2003 i686
server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_jk/1.2.0 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.6b
php: v4.3.3
path: /home/hallowwe/public_html/temp/path_2_phpwcms

Posted: Fri 14. Nov 2003, 21:45
by Dave
I just deleted the db and tried to set it up again.
Even stranger i got a new error different form the last one:

Warning: mysql_connect(): Access denied for user: 'hallowwe@earth.sureshothosting.net' (Using password: YES) in /home/hallowwe/public_html/temp/path_2_phpwcms/setup/setup.php on line 50

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/hallowwe/public_html/temp/path_2_phpwcms/setup/setup.php on line 52

:cry:

i fixed it

Posted: Fri 14. Nov 2003, 21:49
by Dave
well through trial and error I have fixed it :)
I can't wait to see how it runs.
Thanks
Dave

Posted: Fri 14. Nov 2003, 23:02
by Oliver Georgi
Fine,
you had typical db_host, db_user, db_pass, db_table mistakes? Something in this order. ;-)