Hi,
I tried upgrading to 1.2.8 but gave up after numerous permission problems, so I decided to fresh install.
Again, lots of permission errors, most of which I fixed after some digging - gotta say it's not easy working out how to install Zenphoto any more. An included README or clear instructions on which folders need permission changes would be good.
Anyway, I'm stuck with the following:
> Zenphoto core file permissions [not correct]
> Setup could not set the one or more components to the selected permissions level. You will have to set the permissions manually. See the Troubleshooting guide for details on Zenphoto permissions requirements.
The troubleshooting guide gives no clues about which core files are not set correctly. Any suggestions, please?
Also, the 'uploaded' directory created as part of the install process does not allow me to change permissions due to this being shared hosting. Anything I can do about that?
Comments
You should be able to change the uploaded folder permissions via a FTP program. Otherwise try to delete the folder and create it manually. If you don't intend to use the Zenpage plugin and its file manager you can just ignore that.
I know what I'm doing - installed hundreds of scripts - and it's daunting.
I then follow the README to http://www.zenphoto.org/2008/08/installation-and-upgrading/ and there is no mention of permissions or how to address any of the issues I've encountered. My hosting is 'standard' shared hosting. I've installed many scripts without problems there, so I guess I'm not alone in seeing this.
~~~
Back to specifics: do I set *every* file and folder 777? Is that not a security risk?
I've set everything 777 - now I see 'File/Folder Permissions [are loose (0777)]' and 'Zenphoto core file permissions [not correct]'. Again, I'm stuck with no clues in the documentation that I can find.
I get a warning about 'PHP magic_quotes_gpc [is enabled]' and 'You should consider disabling magic_quotes_gpc. For more information See #25 of the Zenphoto troubleshooting guide.'. Can't find "#25" on the website. Stuck again (although I found the fix by Googling).
I get 'PHP gettext() support [is not present]'. No clues given on if this important or how to fix it.
I get 'Zenphoto core file permissions [not correct]' and 'Setup could not set the one or more components to the selected permissions level. You will have to set the permissions manually. See the Troubleshooting guide...'. The linked guide gives no clues on which "components" are the problem or what to change them to. I'll ignore it and hope!
Also, the 'uploaded' directory that is created by the install process cannot be deleted or CHMODed by me on shared hosting. I need to contact my host admin. Same for robots.txt and .htaccess. That's a real nuisance.
My install seems to be working OK now - but it was painful getting there with all the uncertainties!
HTH.
http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#29
2. magic_quotes: #25 is clearly a typo but obviously the correct entry is #26 right below:
http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#26
3. gettext http://www.zenphoto.org/2008/08/installation-and-upgrading/#3
Btw, I am on standard shared hosting also and had never these problems. You are not using SimpleScripts or such?
The point is that there was no link provided and if I go directly to the support website I have no way of finding (that I could see) "#25", "#26" or any other number.
No, I have not used a third-party script.
> (Those folders would have been created when you FTPed the Zenphoto files to do the install. Any file created by YOU ought to belong to you.
No, please read my comment again. 'uploaded' directory, robots.txt and .htaccess are created by the install process. As a result I cannot change permissions myself.
Again: I have installed *many* scripts on this host - WordPress, Mediawiki, etc. and not seen this level of permission failure.
I realise you can't predict every problem that everyone has. I was mainly trying to make the point that the documentation is lacking and poorly organised for those who hit problems like this. That's all. I thought the feedback would be useful in trying to improve it.
I agree that we actually should have a link to the magic_quotes entry. We could also just place a link on top of the setup script pointing to the requirements.
About the permissions: That is different on my shared server, I can do that. Sadly not all servers are setup the same.
You can do what you want with setup. If you are concerned, remove it. But remember that you may need to put it back sometime if, for instance, you need to reset your admin user by dropping the database table.