Totally new here, getting 404 with setup

I downloaded, unzipped, and uploaded to server. Typed in the address to run setup and ...getting a 404 page. Why?

In the instructions it says to type this in to browser:

http://www.yoursite.org/zenphoto/zp-core/setup.php

So, I'm assuming I type in my current website address in place of "www.yoursite.org" so when I do I get a 404 from my own site.

http://www.adamkingstudio.com/zenphoto/zp-core/setup.php

I'm new to all of this and am not versed in much of what's being discussed here.

Any suggestions? Please? Would love to use Zenphoto.

Comments

  • at least you're getting a 404! All I get is a blank screen.

    I've checked permissions, read this forum - and I can't figure it out. Many of the examples are old and just confusing after you read them all.
  • acrylian Administrator, Developer
    Did you really install Zenphoto in a folder named "zenphoto"? Are you both sure that your servers matches the requirements? You might also remove the .htaccess file that comes with Zenphoto, maybe there is a conflict with an superior one of your other systems (wordpress in your case, adamk) or your server does not support modrewrite (its enabled by default).

    A blank page is most always the result of a php error. Please review the error logs of your servers and maybey post some details of your server requirements. (phpinfo()).

    It's actually really that simple to install Zenphoto and I never encountered these problems before.
  • The 404 error is either because the file is not there (which would not be the case if you uploaded as you said) or because your server is not configured to support `.php` extensions as "web pages".
  • adamk Member
    Thank you for the advise. I will make sure my hosting service does support .php extensions as web pages.
  • I looked in my wordpress subdirectory and saw an index.html file, which gave me a clue. I uploaded an index.html file into the zenphoto subdirectory and finally got a 500 error.

    The main directory .htaccess version is required by GoDaddy, so there wasn't much choice there.

    The default .htaccess file in the zenphoto subdirectory was in conflict with the required .htaccess file in the main directory.

    GoDaddy also does not permit execution of index.php by default - another security measure (as sbillard noted, .php is not configured to run as a web page). I re-directed via the main directory .htaccess.

    Contents of my new .htaccess file:

    addhandler x-httpd-php5 .php
    addhandler x-httpd-php .php4

    redirect 301 /zenphoto/index.html http://www.mywebsite.com/zenphoto/index.php

    After the re-direct, everything works as it's supposed to. And the gallery was so easy to customize...

    BTW... GoDaddy has a selection of apps you can install including galleries. The MySQL gets set up for you... but the same problems persist, so I knew it was not a zenphoto problem. I opened 4 tickets, and none of the techs could solve it - about their own self-install they said:

    "Please note that we are unable to support third party application issues and we do not support the inner functionality of this program. If you are having difficulty using a third party product, we can help troubleshoot that process to the point that we find that the issue lies entirely within the configuration of that product. If you believe the issue is caused by something outside your control and within our system please reply and we will further review the issue."

    Good thing I looked in that Wordpress subdir. I'd still be waiting on this. In the comments section for the self-install galleries, another user mentioned ZenPhoto... and I'm happy that he did.
  • acrylian Administrator, Developer
    But please note that we do not support self-installing via installations scripts like SimpleScripts some hosts provide. The way described on our site is the recommended one (as you did actually). We can't know about configuration difference of all hosts of course.
  • I didn't use simple scripts for zenphoto - I followed the instructions exactly. Merely stated that I knew it was a hosting config problem because their own installation of other apps didn't work. And they would not troubleshoot their own install.
  • acrylian Administrator, Developer
    All right, I know, my post was just meant as a note as there are frequently issues reported with these install scripts.
Sign In or Register to comment.