New setup error: Warning: fopen(setup.conf.inc.php)....

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

New setup error: Warning: fopen(setup.conf.inc.php)....

Post by Moozie »

Hi,

I am installing a fresh version for the new-years release. I created the db and the script seems to fill in the tables, but when I press the "send db data" button in the setup.php (first screen where you put the db-name and password) I get the following message:

Code: Select all

Warning: fopen(setup.conf.inc.php): failed to open stream: Permission denied in /home/httpd/vhosts/mysite.nl/httpdocs/cms4/setup/setup.func.inc.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/mysite.nl/httpdocs/cms4/setup/setup.func.inc.php:38) in /home/httpd/vhosts/mysite.nl/httpdocs/cms4/setup/setup.php on line 67
I copied all the new files over the excisting files of a test version of the old phpwcms, so rights can not be the prob since that version worked fine. I only changed the db-name and password settings in the config file.

What is wrong? Any ideas?

Thank you!
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

Did you change the files and folders access rights?
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

No I did not change rights.

I copied the new files over the old ones and ran the setup.php.
I only made a new db so I did not run the upgrade but a complete new setup.

Then that error appears.
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

I would suggest changing the access rights first. then go through setup steps and Then download the conf.inc.php and save it in your include/inc_conf folder. then log in.
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

But what access rights should I change. Indead the script tries to write something in the mentioned line. But the rights as I have them did work fine on the old version.

???
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

I think when you upload files and folders to your server, they overwrite the old ones, and the access rights changes to the default settings of the files and folders you uploaded.

Please see this document for more info.
http://www.phpwcms.de/index.php?id=10,0,0,1,0,0
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

Thanks!!

It was the inc file itself that had to be chmod to '666'.
Indead some dirs where changed due to the upload. I thought he would leave that intact.
Post Reply