How to rerun setup to restore gallery

Changed domain name but still same server and database. Today we get this message

--------------------

Zenphoto has detected a change in your installation.

Zenphoto 1.4.8[3e3fac42b5] has been copied over an unknown release.

The change detected is critical. You must run setup for your site to function.

-----------------------

and then when clicking the setup link in the message we get the following message:

Fatal error: Call to undefined function zp_loggedin() in /gallery path/galleryzp/zp-core/reconfigure.php on line 110

--------------------------

line 110 is:

if (!empty($found) && $auto && zp_loggedin(ADMIN_RIGHTS)) {

----------------------

Is it something I can fix in the database? If not then how to run setup again, does the entire gallery need reinstalling again?

Thanks in advance

Comments

  • acrylian Administrator, Developer
    Make sure you really uploaded the files correctly and that the transfer was correct. Sometimes things can go wrong. To be sure try reupload the /zp-core folder. The error could indicate that.
  • fretzl Administrator, Developer
    To run setup again go to:
    `/zp-core/setup.php`
Sign In or Register to comment.