Installation Error - fopen(include/base.inc.php)

Discuss everything related to PHP MicroCMS. Any questions related to developing or using should be posted to this forum.

Moderators: alexmst, zewa

Installation Error - fopen(include/base.inc.php)

Postby HKBN_8841 on Wed Mar 03, 2010 3:14 am

Hi Master,

I got the problem during the installation. Do anyone know how to fix issue?
Troubleshooting action:
I try to change the attribute type to 777 on all related files and folder. for example: install.php etc...
Still get fail.

Warning: fopen(include/base.inc.php) [function.fopen]: failed to open stream: Permission denied in /home/dimensio/public_html/dms/install.php on line 36 ( $f=fopen("include/base.inc.php","w+")


Warning: fwrite(): supplied argument is not a valid stream resource in /home/dimensio/public_html/dms/install.php on line 49 (if (fwrite($f,$database_inf)>0) )

Thank you for your helpful.
HKBN_8841
Newbie
Newbie
 
Posts: 2
Joined: Wed Mar 03, 2010 2:58 am

Re: Installation Error - fopen(include/base.inc.php)

Postby administrator on Wed Mar 03, 2010 2:36 pm

1. Check if has enough permissions to create file.
2. Change include/ mod on 777 (and return it back after the installation)
User avatar
administrator
Site Admin
Site Admin
 
Posts: 1192
Joined: Wed Jan 07, 2009 11:18 pm

Re: Installation Error - fopen(include/base.inc.php)

Postby HKBN_8841 on Wed Mar 03, 2010 2:47 pm

i have already set all folder with 777..
please advise ..
HKBN_8841
Newbie
Newbie
 
Posts: 2
Joined: Wed Mar 03, 2010 2:58 am

Re: Installation Error - fopen(include/base.inc.php)

Postby administrator on Thu Mar 04, 2010 9:19 am

Do you work on windows server? localhost?
If yes, so you need to "share" this folder, so your script could create this file.

BTW, you may do this installation manually, just create such file with all need
constants and perform import of SQL dump file into your database.
User avatar
administrator
Site Admin
Site Admin
 
Posts: 1192
Joined: Wed Jan 07, 2009 11:18 pm

Re: Installation Error - fopen(include/base.inc.php)

Postby Borstensohn on Sun Mar 28, 2010 10:32 am

I think this could have something to do with the PHP options on the web server. If your web hoster allows and you have access to a config tool like Confixx or Plesk, you could try to set the options under menu “Httpd Special” or so as follows:
“PHP allow_url_fopen(On)”
User avatar
Borstensohn
Junior
Junior
 
Posts: 10
Joined: Wed Mar 03, 2010 12:45 pm
Location: Remscheid, Germany


Return to PHP MicroCMS {developers/users}

Who is online

Users browsing this forum: No registered users and 1 guest

cron