forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Mate Matic on April 20, 2022, 07:18:43 am
-
Hello Coppermine pros,
I haven't done anything to my gallery in a long time. I'm still running Coppermine version: 1.5.34.
Now I receive more and more SPAM emails via the comment or contact function. When I tried to investigate the matter, I found that the gallery doesn't work at all.
Here is my gallery:
http://www.m-tron.net/coppermine/thumbnails.php?album=20 (http://www.m-tron.net/coppermine/thumbnails.php?album=20)
I get the error message:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/web690.c1.webspace-verkauf.de/html/coppermine/include/functions.inc.php:183 Stack trace: #0 /var/www/vhosts/web690.c1.webspace-verkauf.de/html/coppermine/include/init.inc.php(171): cpg_db_connect() #1 /var/www/vhosts/web690.c1.webspace-verkauf.de/html/coppermine/login.php(21): require('/var/www/vhosts...') #2 {main} thrown in /var/www/vhosts/web690.c1.webspace-verkauf.de/html/coppermine/include/functions.inc.php on line 183
In the forum I read in similar threads that you should first update to the latest Coppermine version. Would that also be your recommendation at this point?
-
Yes ... see here (https://forum.coppermine-gallery.net/index.php/topic,79013.0.html).
-
Thanks, ron4mac.
An error message comes up when I execute the php script in the browser:
-
I had actually set permissions:
-
The script gets the CPG package from the repository and tries to save it to the system/PHP temporary directory or the albums/edit folder in your CPG instance. The temporary folder and/or albums/edit must be writable by the web server.
Try this slightly modified installer stub (attached) to see if it gets around your issue.
-
I have now set all folders and files in the CPG directory to rwx (see attached screenshot). However, the error message still comes up.
Could not save package file. Operation aborted.
-
Sorry the installer stub is not working for you ... it simplifies the upgrade effort needed.
I guess you'll have to use the manual method (https://coppermine-gallery.net/docs/curr/en/upgrading.htm#upgrade).