Permission denied...WHY??? Help!!!

youandphoto

Joined: 2009-06-18
Posts: 2
Posted: Thu, 2009-06-18 19:54

I've tried to installa until this point:

Warning: mkdir() [function.mkdir]: Permission denied in D:\Inetpub\webs\youandphotocom\new\gallery3\installer\init_var.php on line 3

Why? It is a permission problem on the web server? How Can I resolve this?

Thanks
Marco (italy)

 
appelflap

Joined: 2009-06-16
Posts: 23
Posted: Fri, 2009-06-19 00:04

Correct me if I am wrong, but I think you are installing the Gallery3 onto a windows server. I thought I've read something in the README like this:

Quote:
SUPPORTED CONFIGURATION:
- Platform: Linux / Unix.

But, if you want to give it a try... why not :D

The gallery3\var directory isn't writable for the webserver. It wants to create a directory called 'albums' (and many more) to put your albums in.

Is the webserver on your own computer? Then try one of the following:
- Change the attributes by clicking right mouse button on the var folder and select Properties. Then deselect 'Read-only'.
- You can also try to do this: Start Menu -> Run ... enter "attrib -R D:\Inetpub\webs\youandphotocom\new\gallery3\var" (without the "") and press OK.

Otherwise use your FTP client and browse to the gallery3 folder and try to change the attributes of the 'var' dir. Probably right mouse click on the 'var' dir and select something that sounds like 'attributes' or 'permissions' and make it writeable. Otherwise read the manual of your ftp client on how to change attributes.

That should do the trick.. good luck!

 
youandphoto

Joined: 2009-06-18
Posts: 2
Posted: Fri, 2009-06-19 17:06

SOrry, I've tried with your indications but it doesn't work, I have the same problem (permission denied)... :-(

Thanks
Marco