Support > cpg1.6 upgrading

Save New Configuration Button Not Working

(1/1)

nowordneeded:
So I solved one issue on the upgrade, but a new one has come up. This on all my upgrades. I'll use the same gallery of http://stephennichols.org/gallery using the latest stable version of 1.6.03.

So the issue I have now is I went to change the thumbnail size on this gallery to align with a new theme I'm going to use, but when I hit the "save new configuration" button, it won't work. I tried this on two of my other galleries I've upgraded to this same version and the same issue is present.

Sorry for the double post but while solving the one issue, this one came up.

nowordneeded:
Along with the button not working, when I upload new images I get a fatal error warning. On this gallery http://tamara-braun.com/gallery using the latest stable version 1.6.03



Fatal error: Uncaught Error: Call to undefined function mysql_num_rows() in /tamara-braun.com/gallery/themes/KED-cpg104/theme.php:58 Stack trace: #0 /tamara-braun.com/gallery/displayimage.php(443): theme_display_fullsize_pic() #1 {main} thrown in /tamara-braun.com/gallery/themes/KED-cpg104/theme.php on line 58 and it won't show full size image. The code in line 58 is this:


--- Code: --- if (!mysql_num_rows($result)) {
--- End code ---

Also when I went to put the images in the album on the page where the images are supposed to show up, I got this image in the first attachment, then in the second is what happens when you bring up the full size image.

ron4mac:
Thumbnail size
Changes in Config to thumbnail sizes only affect any newly uploaded images. To modify the size of any existing thumbnails, use Admin Tools to regenerate them.

Theme errors
Your theme is not compatible with PHP 7. For the most part, you must change any calls in a theme .php file of the form mysql_xxx_xxxx to cpg_db_xxx_xxxx and that will solve compatibility issues.

Navigation

[0] Message Index

Go to full version