![]() |
|
File permission problems on install - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: File permission problems on install (/thread-6332.html) |
File permission problems on install - DavidONE - 2009-12-23 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:
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? File permission problems on install - acrylian - 2009-12-23 Does not matter, core files are all files included in the release, especially those in 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. File permission problems on install - DavidONE - 2010-01-06 OK, but my wider point is that the installation process is unintuitive and difficult to find answers to problems. Here's what I see on clean install having followed the very brief included README - http://i.imgur.com/3IcnK.png 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.
File permission problems on install - acrylian - 2010-01-06
Quote:gettext extension (if you plan to use Zenphoto’s translation/multilingual capabilites) Btw, I am on standard shared hosting also and had never these problems. You are not using SimpleScripts or such? File permission problems on install - sbillard - 2010-01-07 These issues you are having problems with are centered with your hosting service. We would have no idea why, for instance, you would not have the "rights" to delete or CHMOD files that are YOURS even on a shared host. (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. If not, there is a problem with your provider.) As acrylian suspects, I also suspect you have used a third-party script to setup Zenphoto. If so, you should address these concerns with them. File permission problems on install - DavidONE - 2010-01-08
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.
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. File permission problems on install - acrylian - 2010-01-08 We of course appreciate any feedback (and contribution, too). But we also expect that a user installing scripts on a server knows a little about servers or is able to search the site.. Looking for a troubleshooting entry is quite common for all free scripts I know..;-) 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. File permission problems on install - sbillard - 2010-01-09 I also guess you did not look very carefully at the site. Nor did you do a search on it. These things we expect people to do for themselves, not have us do for them. File permission problems on install - palka - 2010-01-11 My provider writes (in the control panel of my websites): "The right permissions for your PHP-files are: 640 (rw-r-----), the right permissions for your folders are: 2750 (rwxr-s---)". And I cannot (am not allowed to) change them at all. I've installed recently zenphoto for a friend on another server, and I like it, and I would like to install it on two sites on my servers. Is there any solution for zenphot0-installation with my 640/2750 permissions? (I of course mailed to my provider an hour ago, and surely I'll have an answer tomorrow.) File permission problems on install - sbillard - 2010-01-11 Change the define in your zp-config.php file for CHMOD_VALUE to 0750. These are rather sever restrictions, but if you say zenphoto works once installed, this value will preserve them. I can make no guarentee that it will work, though. File permission problems on install - palka - 2010-01-11 Does not work. Thank you anyway. My provider wrote, that it should work with 750-permissions, they will look at the setup script. I will tell, what they say then. File permission problems on install - palka - 2010-01-11 Now I changed 0755 to 0750 in setup.php too. I get a warning: "Zenphoto core files [Some files are missing or seem out of variance] Warning! Perhaps there was a problem with the upload. You should check the following files: zp-core/setup.php". But I can continue, and zenphoto is istalled. Maybe everything is alright. Hoping ... File permission problems on install - palka - 2010-01-11 Next question: shouldn't I delete setup.php after installation? File permission problems on install - sbillard - 2010-01-11 The warning is, of course, because the setup you are now running is different from the one that came with the distribution. No real issue there since you know why it is not the saem (you changed it.) 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. File permission problems on install - palka - 2010-01-12 O.k. Thank you very much. |