Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Sunday, May 26 2013 @ 05:16 AM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 failed to open stream: Permission denied in~
   
Anonymous: JLick
 01/23/10 03:18PM (Read 2606 times)  

unfocused


Hi, i get this error when trying to install:

PHP Formatted Code
Warning: fopen(D:/Hosting/5548871/html/siteconfig.php) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\5548871\html\admin\install\index.php on line 1190

Warning: fwrite(): supplied argument is not a valid stream resource in D:\Hosting\5548871\html\admin\install\index.php on line 1191
Unable to modify D:/Hosting/5548871/html/siteconfig.php. Did you make sure the file is writable by the web server?


Having trouble trying to figure out the problem =(
Thanks in advance for the help.

 
 Quote
Dirk
 01/23/10 03:24PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
During the install, the install script needs write access to the siteconfig.php (and db-config.php) file. Looks like that's not the case.

I'm not on Windows, so can't test it: Did you not get a warning message about this on the first page of the install script?

bye, Dirk

 
Profile Email Website
 Quote
Anonymous: JLick
 01/23/10 03:30PM  



Oh yup.

The installer was unable to locate critical Geeklog files. This is probably because you have moved them from their default location. Please specify the paths to the files and directories below:

So I changed it to: D:/Hosting/5548871/html/db-config.php and it took me to the next step.

Also, thanks for fast response =)

 
 Quote
Anonymous: JLick
 01/24/10 03:33AM  

angry


Tried even more things, read through this forum, still no luck =(

 
 Quote
Dirk
 01/24/10 03:39AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
Can you be more specific, please? What's the problem now? Still the same? What did you try? What happened?

I wouldn't know how to make a file writable on Windows, but the Geeklog Demo Site is running on Windows, for example, so it sure is possible ...

bye, Dirk

 
Profile Email Website
 Quote
Anonymous: JLick
 01/25/10 10:30AM  



Yes, still the same problem. I tried changing the path in the file on lines 1190 & 1191 and no help. I think I should just fix my root folder on website and try to make it mimic the guide, maybe then I will be successful xD

Thanks for your replies and help Dirk, I will keep on pushing through until I have my site working =)

 
 Quote
Dirk
 01/25/10 01:49PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
I was hoping for some of our Windows users to jump in with tips ...

Let us know how it goes. We should really add some better instructions and troubleshooting tips for Windows.

bye, Dirk

 
Profile Email Website
 Quote
Laugh
 01/25/10 06:21PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 878
Quote by: JLick

Hi, i get this error when trying to install:

PHP Formatted Code
Warning: fopen(D:/Hosting/5548871/html/siteconfig.php) [function.fopen]: failed to open stream: Permission denied in D:Hosting5548871htmladmininstallindex.php on line 1190

Warning: fwrite(): supplied argument is not a valid stream resource in D:Hosting5548871htmladmininstallindex.php on line 1191
Unable to modify D:/Hosting/5548871/html/siteconfig.php. Did you make sure the file is writable by the web server?


Having trouble trying to figure out the problem =(
Thanks in advance for the help.



It looks like you had the right paths initially but the web service does not have permission to write to the file To make those files writable in Windows. Open up Windows explorer, find the files and then right click to bring up a menu and click properties. From here you can then click the security tab. From there you have to add the user (that the web service uses) and give it write and modify permissions.

 
Profile Email Website
 Quote
Habitual
 01/30/10 09:00PM  
+++--
Chatty

Status: offline


Registered: 01/28/10
Posts: 39
In WinTendo Explorer, do a
Start >> Run... > D:\Hosting\5548871 and hit enter.
Find and highlight the html folder, and right mouse click.
Select either Properties (then Security Tab) or Security and Permissions (I think that's it)
Make sure "System " is listed in the list with ALL Permissions checked.

If System is not listed there, hit the Add button and type in System and then hit the
"Check Names" button. It will add System.
Restart XAMP service and try again.

That should help.


 
Profile Email
 Quote
Content generated in: 3.13 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content