Gallery Index not linking

Hello,

So I feel like I've exhausted my resources as far as troubleshooting this on my own go. Here goes!

My problem is that the index.php link isn't working when I click "View Gallery: Gallery" from the admin page. I just uploaded Zenphoto to our host server, the files are all put where they're supposed to be and setup worked just fine. I noticed something about not having a .htaccess file but could not find the file in the downloaded folders. I read later via the forums that working on a mac prevented me from seeing this. so I jumped on a nearby PC and found the file and uploaded that to the root file. oddly, once uploaded and refreshed, the file does not show up , is this normal? I'm pretty new to this so I don't really know what else to do.

I have both mod rewrite and UTF8 image URIs checked at the moment. Unchecking them hasn't helped.

Thanks in advance for your help! can't wait to use this program!

Our link if it helps:
http://www.mncommunitynews.com/gallery/index.php

Comments

  • You will have to run setup again after having uploaded the .htaccess file.

    Anyway, the link you post does not work. So please describe how & where zenphoto was installed.
  • acrylian Administrator, Developer
    The .htaccess file as beginning with a dot is invisible on Mac OS X.
  • After running set-up again these are the warnings I got. the .htaccess file is uploaded and set-up found that, but the rest I'm not quite sure what I need to do to fix it. Thanks!

    PHP mbstring package [Your internal characater set is ISO-8859-1]
    Warning!

    Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.

    Warning: file_get_contents(/home/mnrealty/public_html/gallery/Zenphoto.package) [function.file-get-contents]: failed to open stream: No such file or directory in /home/mnrealty/public_html/gallery/zp-core/setup.php on line 959

    Zenphoto core files [Some files are missing or their filemtimes seem out of variance]
    Warning!

    Perhaps there was a problem with the upload. You should check the following files:

    .htaccess file (RewriteEngine is ON)
    .htaccess RewriteBase is /gallery
    Warning: file_get_contents(/home/mnrealty/public_html/gallery/zp-core/example_robots.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/mnrealty/public_html/gallery/zp-core/setup.php on line 1086

    robots.txt file [Not created]
    Warning!

    Setup could not create a robots.txt file.
  • There are files in the root folder besides the .htaccess file that also need to be uploaded. ALL the files that came with the distribution need to be copied to your server in the same file structure as the distribution.
  • Yep, and I did just that, everything is uploaded into files that have the exact same file names with the same structural organization as the original distributed copy. I can access the admin area, create folders and upload photos just fine, I just run into problems when I try and view the gallery itself.

    A more specific question I can ask is about the robots.txt file problem stated above in the set-up warning. In the original download, there is the example_robots.txt file, I saved that file as robots.txt and deleted the stuff above the important part. Saving it into the root menu like it said.

    The following is all that's left in the file:
    Disallow: /zenphoto/albums/
    Disallow: /zenphoto/cache/
    Disallow: /zenphoto/themes/
    Disallow: /zenphoto/zp-core/
    Disallow: /zenphoto/zp-data/
    Disallow: /zenphoto/page/search/
    Disallow: /zenphoto/uploaded/
    Disallow: /zenphoto/rss.php
    Disallow: /zenphoto/rss-comments.php
    Disallow: /zenphoto/README.html
    Disallow: /zenphoto/rss-news-comments.php
    Disallow: /zenphoto/rss-news.php

    I also don't understand this part "PHP mbstring package [Your internal characater set is ISO-8859-1]" where is this line in the php.ini that I can change to UTF-8 like the warning requests.
  • You can ignore the mbstring warning if you do not intend to use non-English alphabets.

    Setup would have created a robots.txt file but the error above (failed to open stream) prevented it from doing so. Assuming your installation went into a folder named `zenphoto` your edits to the robots.txt file will be fine. But as setup has said your rewrite base is `gallery` then this robots.txt file will be useless.

    What you really need to get fixed is whatever problem is preventing setup from reading the `zenphoto_package` and `example_robots.txt` files. Either they are not present or you have file security that is preventing setup from reading them. The error message seems to indicate the former.

    Without correcting at least the `zenphoto_package` issue there is no way to know if your installation is missing other files. If it is, lots of things might not work.
Sign In or Register to comment.