Set Up issue

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Dave
Posts: 6
Joined: Fri 14. Nov 2003, 21:20

Set Up issue

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Last edited by Oliver Georgi on Fri 14. Nov 2003, 21:31, edited 1 time in total.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Have you checked the documentation?
http://www.phpwcms.de?installation
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Dave
Posts: 6
Joined: Fri 14. Nov 2003, 21:20

I set the chmod to 777

Post 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
Dave
Posts: 6
Joined: Fri 14. Nov 2003, 21:20

here is the header info:

Post 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
Dave
Posts: 6
Joined: Fri 14. Nov 2003, 21:20

Post 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:
Dave
Posts: 6
Joined: Fri 14. Nov 2003, 21:20

i fixed it

Post by Dave »

well through trial and error I have fixed it :)
I can't wait to see how it runs.
Thanks
Dave
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Fine,
you had typical db_host, db_user, db_pass, db_table mistakes? Something in this order. ;-)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply