![]() |
|
Moving to a new server issues. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Moving to a new server issues. (/thread-12096.html) |
Moving to a new server issues. - jakinnaird3321 - 2014-09-01 I am trying to move my zen album to a new server beause of ongoing issues at the current host. I can not get zenphoto to create a backup of the database from within the admin page. So I wen to the MySql admin page and created a back up there. I imported the back up tried running the setup on the new server and keep getting the following errors: 1 The setup repeorts that ther eis no such file or directory whenI enter the database info in setup. I used the same database name etc. as the original installation.2 This message appears at the bottom of the setup page:Fatal error: Class 'zpFunctions' not found in /data/12/1/117/25/1117840/user/1179433/htdocs/thurmontimages/zp-core/setup/index.php on line 1327 Moving to a new server issues. - acrylian - 2014-09-01 You should review your server error log to see why Zenphoto's own backup utility fails. This is the first you should always do if something seems not to work as intended. But a direct backup via phpmyadmin or else should work as well. You need to upload all files first, then import the database and then run setup. 1 Well, you moved to a new server so most likely the mysql server name changed. You need to enter that in the zenphoto cfg file you probably copied as well.2 We had users report this but we are not able to reproduce it so far. Make sure you uploaded all correctly and the file/folder permissions are correct (-> error log again).Moving to a new server issues. - jakinnaird3321 - 2014-09-13 Still having the same issue while trying to install: I have corrected the data base name several times. Is there any one that can help me with this issue? I have hundreds of hours invested in my site and would be more than wiling to pay for assistance. John A. Kinnaird Moving to a new server issues. - jakinnaird3321 - 2014-09-13 Just tried running setup again and this is the error log: Zenphoto Setup v1.4.6[bbddab7675]: Fri, 12 Sep 2014 21:53:08 -0400 Moving to a new server issues. - acrylian - 2014-09-13 None of these are errors as their comments say and none would prevent you from installing Zenphoto. I can assure that it works on standard shared hosts. Does your mysql password (or names) contain `` maybe? In that case please change your password to not use these. Passwords are sanitized as well so these will be stripped and the password therefore will not work. See https://github.com/zenphoto/zenphoto/issues/842. Also take a look at your Zenphoot config file. There is a line like Moving to a new server issues. - jakinnaird3321 - 2014-10-17 I am about at my wits end! I have tried all your suggestions and have reloaded the setup files and data base several times and have checked the user name, database name etc. I still get the "no such file or directory" error. Is it possible to purchase help with this installation? I had the installation on another server and had repeated issues with permissions changing. The hosting place says that it appears the Zen is changing them and you tell me that the program will not change the permissions. I have purchased another hosting package from a different host and can not get it to install. The original installation on the other server now returns a redirect loop error when I try to open the site and I can not get the installation to run. John Moving to a new server issues. - jakinnaird3321 - 2014-10-17 THis is the setup log from the most recent attempt: enphoto Setup v1.4.5.9[12ad1f92fa]: Thu, 16 Oct 2014 23:31:44 -0400 Moving to a new server issues. - acrylian - 2014-10-17 Geneal info about moving installations including content is found here: What you posted are all warnings and no errors. Non of these prevent you from running Zenphoto. [i]Query error: No such file or directory[/i] [i]Warn: zp-data security [is compromised][/i] [i]Warn: PHP magic_quotes_gpc [is enabled][/i] [i]Warn: PHP display_errors [is enabled][/i] [i]Warn: PHP setlocale() failed[/i] Btw, current version is 1.4.6. Moving to a new server issues. - kagutsuchi - 2014-10-17
You should double-check that the database information in your Zenphoto config file is correct for your new host. If it is, and you're still seeing the error, you will need to get in touch with your host to figure out why the database appears to be missing to Zenphoto. Moving to a new server issues. - acrylian - 2014-10-17 Right, thanks… |