What am I doing wrong here?

I've had no luck what so ever getting this going in XAMPP despite checking everything that is suggested. The first thing anyone would do is extract the files to the root of htdocs and all I get is error 500 straight off the bat. I did manage to access the setup by inputting the address manually and the check always comes up with the same issues (not with MySQL surprisingly even though I hadn't set that yet). I'm always told that display_errors is enabled even though I have changed that as is evident that an error no longer displays at the top of the page. I then tried to input the correct database credentials in the config and now even the setup page shows error 500. I managed to install it to my web hosting account for test purposes and it works there mostly but I am presented with error 403 Forbidden when I try to accept the licence and as a result I am restricted from doing most things on there. This software has some serious problems that make it much harder than it needs to be to get it working.

Comments

  • acrylian Administrator, Developer

    Sorry for your problems. All I can say is that it works fine on MAMP (the Mac equivalent of XXAMP) and also a wide range of standard shared hosting providers.

    You surely did follow these instructions for installing?:
    https://www.zenphoto.org/news/installation-and-upgrading/

    If in the root of htdocs works depends on where your domain is linked which I don't know. http error 500 is an internal error. So what eles do the error logs say?

    Please review these resources if anything helps:
    https://www.zenphoto.org/news/installation-problems/
    https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/

  • How can I provide you with the error log? I'm not the most knowledgeable.

  • It seems I should have checked the requirements properly. Reinstalled the correct version of XAMPP and I can now install. I still need to know why I get a 403 error when I click accept on the licence agreement.

  • acrylian Administrator, Developer

    Great you generally figured it out. A 403 is mostly certainly some file/folder permission issue. On some hosts the files have the wrong server owner on upload but it needs to be the owner that actually runs the scripts. Zenphoto tries to set these correctly when running setup. Sadly not all servers are and behave the same so sometimes you have to set these manually via FTP afterwards (on some hosts you may even need the host's assistence with this). Please see the 2nd article I linked above.

  • I honestly can't figure out what is causing it.

  • acrylian Administrator, Developer

    Sadly I cannot tell either. What URL is shown when the error appears?
    Did you check if the htaccess file is present?

  • /gallery/zp-core/license.php?licenseAccept&XSRFToken=a17dd375bd4742481ab0723ce015fe21e40fd0e0 and yes it is.

  • acrylian Administrator, Developer

    I see now. THat's a a bug already fixed in the 1.5.8b. See the link to the support build on the download page.

Sign In or Register to comment.