Parse error after moving /zenphoto to /gallery

Hello everyone! I've installed zenphoto, and the first thing I did was try to move its directory to /gallery instead of /zenphoto. However, after I did that, when I move go from page to page in my gallery, I frequently get this error:
"Parse error: syntax error, unexpected ''You can ignore this warning ' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /home1/jurek/public_html/gallery/zp-core/setup/index.php on line 1406"

This only started happening after I moved the directory, and it happens every time I try and run setup.php. For reference, this is my gallery: http://katiejurek.com/gallery/

Can anyone help me figure out why I get this error? Please let me know if you need any additional information about any files or pages in order to help.

Comments

  • acrylian Administrator, Developer
    Sorry, no idea about that error, never seen that before. Maybe try a reupload of the files. Normally such a move (or folder renaming) is simple, all setup actually does is adjust the rewrite base in the htaccess file.

    I also would recommend to upgrade as 1.4.5.9 is a bit behind.
  • Thank you, acrylian! Oddly enough, it works if I rename the folder back to /zenphoto and change the .htaccess back to /zenphoto, but stops working again if I rename the folder and .htaccess to -anything- except /zenphoto. Is there more than one area in .htaccess that I'm not seeing where I have to change the folder name?

    I shall update then, thanks! Sorry, I am not terribly familiar with zenphoto yet: how do I go about updating it?

    Thank you for your help so far! :)
  • acrylian Administrator, Developer
    There are some htacces files for protection (for Apache servers) but none that would or should inferfere here.

    Normally changing the rewrite base to the folder name Zenphoto resides in is all you need to do. Maybe something from the parent WordPress site interferes (although I don't think it would normally).

    You find info about ugrading here:
    http://www.zenphoto.org/news/installation-and-upgrading#upgrading

    Since you seem to use the standard Basic theme (formerly "Default", renamed in 1.4.6) all should be fine.

    Problems only may occur if you are using third party plugins or else if they are not updated frequently.
Sign In or Register to comment.