Quantcast
Channel: Zenphoto forum
Viewing all 444 articles
Browse latest View live

sbillard on "Permission settings prevent image loading"

$
0
0

Quite possibly yes. File/folder permissions can be dicey. Set them too relaxed and the security software on your site may refuse to run scripts.You can probably fix the permissions with FTP, though.

It may well be that your site is simply mis-configured for an application like Zenphoto. Basically Zenphoto has to be able to read/write files and folders that it "owns". Strict permissions should work for that.

If the "user" that FTP runs under is different from the "user" that your CGI scripts run under you will constantly have permissions issues since Zenphoto will not be the owner of the newly uploaded items.


klikini on "Permission settings prevent image loading"

$
0
0

I have set the permissions of ALL files and folders on the server to 755, and now I get a 403 error. How do you suggest I keep my albums/names/descriptions on the files to wipe/reinstall the site? And can I move the photo files to another folder on the site, delete all ZP files, install ZP, then move the photo files back to the albums folder in my FTP program? (I also have SSH access)

klikini on "Permission settings prevent image loading"

$
0
0

I managed to reset everything, but now when I click on the album thumbnail I get a 404 error.

sbillard on "Permission settings prevent image loading"

$
0
0

If I visit your root (http://snaperturephotos.com/) site I get

Index of /

OLD/
blog/
indbin/
k.files/
login.html
Apache Server at snaperturephotos.com Port 80

This indicates that either the installation files are gone, or they are not visible to your WEB server.

klikini on "Permission settings prevent image loading"

$
0
0

Yeah, I deleted them to start over. I moved the entire web root to OLD. I'm installing ZP in a /cms folder, so I don't have to deal with its files AND my files in the same place.

klikini on "Permission settings prevent image loading"

$
0
0

So I was running setup, and I selected "relaxed" as the permission. When I hit apply, I got a 500 server error. This happens every time, and this is running setup on a clean install. Ideas please?

sbillard on "Permission settings prevent image loading"

$
0
0

Don't set the permissions to relaxed!

Seriously, you will have to have a discussion with your server support people to resolve this. Clearly they do not allow relaxed permissions. You can leave things the way FTP leaves them if that works, but of course that does not resolve your problems with the uploads.

Basically, unless the web server and the FTP server use the same user you are simply going to have file permissions issues.

klikini on "Permission settings prevent image loading"

$
0
0

Is there any way to set the default permissions to 755 (not in the setup list)?

EDIT: Contacted HostGator, awaiting reply.


sbillard on "Permission settings prevent image loading"

$
0
0

In your configuration file above the line that reads
/** Do not edit below this line. **/
insert the following:

$conf['CHMOD'] = 0644;
if (!defined('CHMOD_VALUE')) { define('CHMOD_VALUE', $conf['CHMOD']); }

klikini on "Permission settings prevent image loading"

$
0
0

Can I do $conf['CHMOD'] = 0755;?

acrylian on "Permission settings prevent image loading"

sbillard on "Permission settings prevent image loading"

$
0
0

And the pair is determined by Zenphoto from the files permissions by "ANDing" 0111 to it. Thus $conf['CHMOD'] = 0644; yields 0755 for folders.

klikini on "Permission settings prevent image loading"

$
0
0

Reinstalling now (waiting for FTP of all the files to finish). Every time I install ZP, I get: Zenphoto suggests you make the sensitive files in the zp-data folder accessable by owner only (permissions = 0600). The file permissions for setup.log are 0644 which may allow unauthorized access. What should I do about this? I usually just ignore it...

sbillard on "Permission settings prevent image loading"

$
0
0

Probably for your server you should ignore this, but understand that these files might be vulnerable.

But that you get this error at all would indicate your site has severely restricted what applications can do with regard to setting file permissions. (Either that or you are not running current Zenphoto software. I do hope that you checked and are not making that mistake.)

Sometimes hosters get a bit too aggressive with their security and cripple legitimate applications. All totally unnecessary and a bit naive of them.

klikini on "Permission settings prevent image loading"

$
0
0

Is there anything in the files I would care about? The public can only read them, right? And they aren't advertised.


sbillard on "Permission settings prevent image loading"

$
0
0

Well, for instance, your MySQL credentials are in the configuration file. You probably don't want the public to read that. They are not advertised, but any hacker worth his salt will have read the Zenphoto code and know how to find them.

klikini on "Permission settings prevent image loading"

$
0
0

Okay. So should I set the permissions of the files to 600 and folders to ...?

Also: HostGator said that the FTP account and the admin account were the same, so "owner" will always be me.

sbillard on "Permission settings prevent image loading"

$
0
0

I cannot make recommendations for your host. If he is correct then the settings from setup would work. Since apparently they do not something is amiss.

klikini on "Permission settings prevent image loading"

$
0
0

Site is up and running, added that code to the config file. I uploaded a test image and it worked! Now what should I set the permissions for the zp-data dirs to? Files are 600 now.

koonthul on "Limit uploaded photo dimensions or fix them"

$
0
0

Howdy all - new to ZP and LOVING it. So nice to have albums be organized as folders in the backend! No one else is doing thais (that i know of)! This makes life easier with the Digital Picture Frame that I built that downloads all the photos from my ZP page and displays them on the wall. :) Which leads me to my question...

Since my photo frame has to have a specific file dimension (1920x1200) to be exact, I would like to limit any upload to be those EXACT dimensions (or allow the user to crop photos in a slick way). Is there a way to do this with a plugin that I don't know about? I've been digging around and haven't come up with anything yet. Any pointers in the right direction would be great, thanks! I'm relatively new to code. I understand some things about code but don't know a whole lot.

Viewing all 444 articles
Browse latest View live


Latest Images