![]() |
|
Plugin: Title by date archive - MySQL errors - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Plugin: Title by date archive - MySQL errors (/thread-11865.html) |
Plugin: Title by date archive - MySQL errors - ayutheos - 06-07-2014 I think my database got mangled... I get the following error when trying to load my archive page. ` Fatal error: MySQLi Error: ( SELECT ` However this only happens when I'm not logged in. When logged in as admin, the archive page loads fine, everything works fine. I've tried restoring previous database, but I still get the error. Help! Plugin: Title by date archive - MySQL errors - acrylian - 06-07-2014 Sorry, I am not able to reproduce any issues. If you are using the latest version of the plugin you need in any case 1.4.6 (just in caseā¦). Plugin: Title by date archive - MySQL errors - ayutheos - 06-07-2014 I think it's got to do with database problems. I backed up my database and restored it externally using phpmyadmin and re-did the whole zenphoto setup, and I think something got mangled along the line. I don't see any errors on the archive page when I'm logged in in zenphoto though, only when logged out. Am using Zenphoto version 1.4.6 [bbddab7675]. Any suggestions what I can do to recover or amend my database? Plugin: Title by date archive - MySQL errors - acrylian - 06-07-2014 You could try to backup the database with Zenphoto's own tool (do a backup first of course) and the re-import it using it. Otherthan that I have no real idea right now. But check your Zenphoto config file, too. Plugin: Title by date archive - MySQL errors - ayutheos - 07-07-2014 That's one of the first thing I tried :'( My config file looks ok. I'll keep looking to see what's the problem :'( . Thanks for your suggestions. Plugin: Title by date archive - MySQL errors - acrylian - 07-07-2014 Everything else works fine? Plugin: Title by date archive - MySQL errors - ayutheos - 07-07-2014 Yes. My local install works fine (logged in & out). My online server copy is not when logged out (when logged in archive page loads ok). It's my database, I've messed it up I think :'( edit: At least zenphoto overall is working, all my albums are there, all data intact, thank goodness for that. Plugin: Title by date archive - MySQL errors - acrylian - 07-07-2014 The only idea I have what could have happened is a mismatch between filesystem and database itself. If you tried to pull the backup in while the site was still live or something. I suggest to enable the automatic database backup of Zenphoto for the future. |