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?
Posts: 8194
Make sure the web-server user has write access to the albums directory
you will probably have to chmod the directory 0777
Posts: 13
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.
Posts: 8194
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.
Posts: 13
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.
Posts: 8194
Cool! Have fun :wink:
Posts: 6
what is cpanel? i have same problem as you were having and I am using WS_FTP too please help me.
Posts: 13
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.
Posts: 6
what web hosting are you using?
I have access to am ensim control panel. I checked the file permission is same as WS_FTP
Posts: 8
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
Posts: 8194
As long as the execute bit for a directory isn't set, you can't "chdir()" to that directory...