403 forbidden on main page

I just installed and configured version 1.4.2 rc1 on my godaddy hosted site. The admin pages work fine, but when I try to go to the actually gallery, I get the following error:

Forbidden
You don't have permission to access /zenphoto/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I am not sure if this is a Godaddy issue or if I am missing a step somewhere to make the site available to the web. Please advise.

Comments

  • You don't have permission to access /zenphoto/ on this server
    Sounds like a server error. Don't know what `an ErrorDocument to handle the request.` means, but it also does not sound like a Zenphoto error.

    Could be a file security issue.
  • Wierdly enough, once I uploaded a picture via admin mode, the error went away. I believe I am up and running. Thanks.
  • acrylian Administrator, Developer
    Maybe a wrong htaccess file?
  • Just installed 1.4.2 and more or less in business EXCEPT I get 406 error if I try to "apply" any changes to one or more images. Checked forum and read about 1.4.2.1 upgrade. Applied that, but still have same problem. My albums are all visible, I can change themes etc - just can't add any image descriptions due to persistent 406 problem.

    Have I installed wrongly or overlooked a setting somewhere???
  • acrylian Administrator, Developer
    Any additional error in the server error log? Did setup complain about anything? Permissions correct?
  • fretzl Administrator, Developer
    I read somewhere that `mod_security` might cause this.
    To disable this you could try to add the following line to your .htaccess file:
    `SecFilterEngine Off`
  • It is also possible for this to be caused by too large a size of the Image tab POST. Try reducing the number of images displayed on the page.
  • Very many thanks, team. SecFilterEngine set to Off has resolved this. As the page (for Image update) was already VERY slow to load, I had selected the minimum of 5 images from the drop-down - but still had the problem. Page still fairly slow to load, but the 406 problem is fixed!
  • acrylian Administrator, Developer
    Hm the site should not be that slow with just 5 images. Maybe it is the Mysql database server? I assume your connection itself will not be it.
  • I now have three separate sites with ZP galleries, biggest currently with 64 images spread across 4 albums. Smallest is currently just 6 images in 2 albums till I find time to organise all the rest. The speed issue applies to all three sites. When I select the Image edit option that panel often has script timeouts when loading (I select "continue" each time just in case script conclusion is critical.) This is my only real issue remaining - getting to grips with everything else, as an ex-Gallery user.
  • acrylian Administrator, Developer
    All I could think of the server being to slow. Please post your server info (the one you find on the admin overview would do for a start).
  • Danger of me being dumb on this ... Server info? Server id is alpha.xnoc.net and settings I see from Admin Overview show:

    ZP level: 1.4.2.1[9138]
    Locale: en_US.UTF8
    PHP version: 5.3.8
    Graphics support: PHP GD library bundled(2.0.34 compatible)
    PHP memory limit: 64M
    MySQL: 5.0.92
    plus 8 x plug-in details all showing 1.4.2.1 so presumably ZP

    I am operating from Thinkpad T43 under XP and internet connection is "reasonable" normally around 4Mb/sec down and 10% of that up.

    Sorry if I have missed out any critical factors, and your help much appreciated.
  • acrylian Administrator, Developer
    I meant exactly the data you posted. I currently have no idea why that is so slow for you but wanted to be sure about the server info. Hopefully someone has. Normally Zenphoto works fine on standard shared hosting with much more images...
  • I wondered if there might be a difference between using Firefox versus IE as browser base for updating, so I switched to IE but no difference. Finally tracked down root cause as being amount of memory available in my laptop - used my wife's, with more memory, and no performance issue at all.

    Thanks again for your help. (I will now try to persuade her to swap laptops!)
  • acrylian Administrator, Developer
    Browsers aren't it for sure. My colleage tests IE and FIrefox on Windows while I am testing mainly Firefox and Safari on Mac.

    But the memory of the computer used should also not be an issue unless that is really really low. If the server memory would be an issue (of course if you work locally using WAMP or something your computer is the server..;-))
Sign In or Register to comment.