changed zenphoto folder name..AHHHH

changed the zenphoto folder name and now everything is working crazy. I have repaired most of the broken links but my admin page is displayed with no or limited css.

Also everytime I try to go to a page it displays:

Parse error: syntax error, unexpected '/' in /home/content/j/b/l/jblonsky/html/chcart/zenphoto/index.php on line 19

Please help, everything was working great until i did this

Comments

  • acrylian Administrator, Developer
    Change the name back or re-run setup to fix your .htaccess file to fix the rewrite base (you can do that manually if you know how).
  • changed the name back, what do I need to change in .htaccess file?
  • Change the name back or re-run setup to fix your .htaccess file to fix the rewrite base (you can do that manually if you know how).

    Maybe this sentence is a clue?
  • i changed the name back still getting same error:

    www.chcart.com/zenphoto
  • Back to basics. What version of Zenphoto are you running? (I guess you don't read forum rules--they are there to help you save time!)

    You say you got the same error, but really,
    Parse error: syntax error, unexpected '/' in /home/content/j/b/l/jblonsky/html/chcart/zenphoto/index.php on line 19

    does not read the same to me as
    Parse error: syntax error, unexpected '}' in /home/content/j/b/l/jblonsky/html/chcart/zenphoto/index.php on line 60

    the error your link shows now.

    Both these errors would be indications of a problem with the index.php file of your installation. So, if maybe your install has been corrupted.
  • Zenphoto version 1.4.0.4 [7122] (Official Build)
    Current locale setting: en_US.UTF8
    Current gallery theme: zpmasonry_v1.4
    PHP version: 5.2.14
    Graphics support: PHP GD library bundled (2.0.34 compatible)
    PHP memory limit: 96M (Note: Your server might allocate less!)
    MySQL version: 5.0.91

    I have been using the gallery for the last 2 weeks, once I changed the zenphoto folder and updated links I started having this problem. Changed back the name and still an error. I can log on admin and all looks normal but all my gallery pages show this same error.
  • sbillard,
    I have spent 5hrs searching this forum and the web to find out what is wrong. I have spent over 100hrs on this and now I cant get it back up.
  • acrylian Administrator, Developer
    So Zenphoto is installed in a folder "zenphoto" below your main domain. Then you must have changed more than just the folder's name.

    Btw, what links did you update at all? Zenphoto generates all of its links automatically.
  • Working in DW cs3. When I changed folder name it asked to update links. Can I rebuild my index.php file? Any other solutions. I went to set up and it showed that the file was not uploaded properly "index.php" I deleted it then uploaded it again and same error when I load setup.php
  • acrylian Administrator, Developer
    Since Zenphoto is a dynamic PHP applications you can't statically fix links. Well you can but then you have to do it any time again. You surely do know what a CMS and its benefits are about in opposite to static HTML pages? Btw, I have not worked with DW for quite some years.

    Reupload all files as if you were updating. How to do that is explained on our installation page. Don't replace the /albums and /zp-data folders.
  • I have extensively edited my theme php pages, will i lose this info?
  • acrylian Administrator, Developer
    If you overwrite them and didn't make a backup or customized standard theme without making your custom copy, naturally yes.
  • acrylian Administrator, Developer
    If you overwrite them and didn't make a backup or customized standard theme without making your custom copy, naturally yes. Maybe also read the page I referred to.
  • sorry, I think i'm a little slow today. Upload in process.
  • FYI, now that we know the version of Zenphoto:

    line 19 should read `//rss feeds` this is a comment and should naturally have the slash.

    line 60 should read `endRSSCache();` and has no brace so clearly the index.php file is no longer the same as the one that came with version 1.4.0.4.

    Re-installing seems your best path.
Sign In or Register to comment.