I've installed everything ok, but I get this error...

Vyse

Joined: 2002-10-10
Posts: 13
Posted: Thu, 2002-10-10 14:36

Warning: mkdir() failed (Permission denied) in /home/***/public_html/media/classes/gallery/UserDB.php on line 35
Error: Unable to create dir: /home/***/public_html/media/albums/.users
Fatal error: Call to a member function on a non-object in /home/***/public_html/media/classes/gallery/UserDB.php on line 99

The installaiton was almost complete, but when I clicked save changes this error came up, any idea on how to fix this?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2002-10-10 14:52

Make sure the web-server user has write access to the albums directory

you will probably have to chmod the directory 0777

 
Vyse

Joined: 2002-10-10
Posts: 13
Posted: Thu, 2002-10-10 16:16

Ok that worked, thanks.

But now I have another problem, I changed the chmod settings like it said but when I click 'Enter The Gallery' it takes me back to the gallery configuration.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2002-10-10 16:18

Please read the README. You have to 'secure' gallery, either by running the secure.sh/secure.bat script or using the directions for FTP (in the README). The directions are on the page after the configuration.

 
Vyse

Joined: 2002-10-10
Posts: 13
Posted: Thu, 2002-10-10 16:28

I *have* been following that :razz:

But I figured out the problem. I couldn't change the chmod settings for the 'setup' folder through ws_ftp, so I just used cpanel. It works now, thanks.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2002-10-10 16:35

Cool! Have fun :wink:

 
whatsupss

Joined: 2002-10-10
Posts: 6
Posted: Thu, 2002-10-10 16:40

what is cpanel? i have same problem as you were having and I am using WS_FTP too please help me.

 
Vyse

Joined: 2002-10-10
Posts: 13
Posted: Thu, 2002-10-10 16:53

I'm not sure if I'll be very helpful to you, but I'll just tell you what I know.

I was given access to use Cpanel fom the web hosting I use. It's where I manage subdomains, e-mail accounts, mysql, file uploading, etc.

That's about all I can tell you, hopefully someone more knowledgable will be able to help you on this one.

 
whatsupss

Joined: 2002-10-10
Posts: 6
Posted: Thu, 2002-10-10 16:55

what web hosting are you using?

I have access to am ensim control panel. I checked the file permission is same as WS_FTP

 
myron

Joined: 2002-08-15
Posts: 8
Posted: Thu, 2002-10-10 23:54
Quote:
what is cpanel? i have same problem as you were having and I am using WS_FTP too please help me.

I was unable to chmod the setup folder to 0 via WS_FTP also. Just for grins, I tried chmod 4 and Gallery works fine. 4 is Read under Other.

Myron

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2002-10-11 01:01

As long as the execute bit for a directory isn't set, you can't "chdir()" to that directory...