I recently updated my server from ubuntu precise to trusty. Initially everything worked with zenphoto 1.4.4.5 until it tried to access the admin page. This resulted in a "connection was reset". I tried to reinstall the zp-core folder, index.php but it resulted in a general "connection reset" also for the gallery. Even a plain new install of zenphoto 1.4.7 didnt work even with indicating a new MySQL database. The server runs PHP Version 5.5.9-1ubuntu4.7 and SQL 5.5.41. Can anybody help? Many thanks in advance!
Comments
I also noted that in the existing zenphoto db all tables are there twice: once with a prefix "zenphoto-zenphoto-1_4_4_5_" and once with a "zp_" prefix. The 1st are all empty. Only the "zp_" tables contain data. Is that correct?
I cannot tell you. "zp_" is the default prefix for the tables (in case the database is shared with other systems or serveral ZP installs) if you don't set anything else. If "zenphoto-zenphoto-1_4_4_5_" you must have set it somewhere, maybe on hte older install. Of ocurs you have to use the same on an update if you want to use the existing tables.
MySQL db (actually it's a MySQLi db, does that make any difference?).
MySQLi is only the way of connecting PHP and MySQL. If you cannot connect to the database best contact your host about the right credentials, especially the server.
I'm about to update my server to trusty, but I'm still a bit worried now what that will do with my zenphotos...
I am sorry but I can only assume that something is wrong with the servers somehow. I have installed Zenphoto on several different hosts and all are fairly standard shared hosts without any issue like that.
However, I was able to reproduce the "random double upload" issue, and even got one triple upload! I believe this is the result of the jQuery uploader, but we'll have to do more debugging.
michas, did you use the jQuery uploader to upload when you experienced that issue?
Until then, as always, the easiest way to upload is to just drop directories of images into the albums folder by any method.