Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: 1 ... 6 7 8 9 [10]
 on: October 29, 2023, 07:19:56 am 
Started by baba12345 - Last post by baba12345
Thanks. Shall I take a full backup before update?

 on: October 28, 2023, 09:29:17 pm 
Started by baba12345 - Last post by ron4mac
You needed to upgrade to at least version 1.6.18 .. did you?
If not, use the installer stub to update to the latest version.

 on: October 28, 2023, 01:55:52 pm 
Started by baba12345 - Last post by baba12345

I recently changed my webhosting and after changing , I am unable to login as admin and getting this error at the top to every page in the website.

Deprecated: Automatic conversion of false to array is deprecated in /home2/qfhxmqol/websitename/include/ on line 114

My previous installation was 1.5.x and PHP was 7.x. Before changing the webhosting, I ran cpg_installer_stub.php and upgraded to 1.6.x. Everything seems working on previous webhosting. PHP on new webhosting is 8.2

 on: October 27, 2023, 08:36:56 pm 
Started by Phil85 - Last post by Phil85
Good morning to everyone
Problem solved by following the instructions here

 on: October 26, 2023, 03:31:16 am 
Started by nowordneeded - Last post by nowordneeded
I was wondering if anyone has looked again at this issue? I've put in a ticket to my host and they haven't been of any help. Can anyone on CPG help?



 on: October 25, 2023, 06:27:34 pm 
Started by idosha - Last post by 406man
I’ve had a quick look through the code of version 1.6.25 and found the following. As I’m an end user, not a member of the Coppermine team, I can’t be completely sure that it’s right without spending a lot more time on it. If the suggestions below don’t solve your problem, post on here a screenshot of the page that’s slow and the contents of the “The content of the main page” configuration item in the Album List View section.

The first query seems to be called from line 351 in index.php
This is in function get_subcat_data  so it’s displaying sub-category information.

In the Configuration settings, in the settings for the Gallery List View  is:
“Number of galleries to display”. Default is 2. Set it to 1  so that it only displays the top level categories.

The next two queries are the same and seem to be called from near line 1944 in
The function is get_pic_data which displays pictures.
Thearea of the  code deals with processing one of the configuration items - case “Lastalb” – which is the last album to which files have been uploaded

In the Album List View section of your gallery Configuration is an item called “The content of the main page”. It will be set to something like: breadcrumb/catlist/alblist/random,2/lastup,2

I believe yours contains    lastalb   somewhere.  Remove this and the slow queries won’t be run.

 on: October 23, 2023, 04:49:26 am 
Started by idosha - Last post by idosha
Can you please help me identify what exactly these 3 sql queries are from when loading the main gallery page. I assume they are "last updated, view count,etc" but I trying to figure out which is what and I'm not that familiar with SQL syntax.

I'm attempting to find out what queries we can remove from the albums list page to help our poor SQL server load data faster as each of these queries are taking over 8 seconds currently.

  • SELECT c.cid, r.aid, COUNT(pid) AS pic_count, MAX(pid) AS last_pid, MAX(ctime) AS last_upload, depth AS level, lft         
    FROM cpgqx_categories AS c         INNER JOIN cpgqx_albums AS r ON r.category = c.cid         INNER JOIN cpgqx_pictures AS p ON p.aid = r.aid         
    WHERE c.depth >= 0 + 1         
    AND approved = 'xxx'         AND r.aid NOT IN (992)                 
    GROUP BY r.aid         
  • SELECT r.aid, a.thumb, a.keyword, a.alb_hits, a.title, MAX(ctime) AS ctime                 
    FROM cpgqx_pictures AS r                 INNER JOIN cpgqx_albums AS a ON a.aid = r.aid                 
    WHERE (1)
    AND r.aid NOT IN (992)                 AND approved = 'xxx'                 
    GROUP BY r.aid                 
    ORDER BY ctime DESC                  LIMIT 0 ,10
  • SELECT r.aid, a.thumb, a.keyword, a.alb_hits, a.title, MAX(ctime) AS ctime                 
    FROM cpgqx_pictures AS r                 INNER JOIN cpgqx_albums AS a ON a.aid = r.aid                 
    WHERE (1)
    AND r.aid NOT IN (992)                 AND approved = 'xxx'                 
    GROUP BY r.aid                 
    ORDER BY ctime DESC                  LIMIT 0 ,10

 on: October 21, 2023, 08:55:39 pm 
Started by Phil85 - Last post by Phil85
Good evening everyone

I just realized that copermine on my website instead of certain accented letters in particular replaces them with others that mean nothing
For example: Les Pyrénées by Les Pyrénées
This is just one example of many similar faults.
I don't know what's going on, the update to copermine 1.6.25 dates from a few days after its release and the problem has been going on for a few days I think.
The link to the site.
If you have an idea?
The character set is in Unicode UTF 8, I deleted the cookies but nothing works, and problem only on the copermine part.
thank you for your help


 on: October 20, 2023, 05:04:01 pm 
Started by rellaps1967 - Last post by rellaps1967
I want to have images assigned to my main page categories. However, I don't have any albums in there, I have subcategories where the albums are. So it won't let me assign anything. I tried creating a user gallery to use the photos, but it of course added the user gallery to my main categories, which I dont want. (And if I hide it....then no one else can view the thumbnail.)

I know it's possible, as I'm trying to do something like this site:
(Just how they have thumbnails on the main category page, but you can't see that album.)

How is this done? I just cannot figure it out.

Thank you so much for any help.

 on: October 20, 2023, 12:18:16 am 
Started by DJ Bert - Last post by phill104
Many thanks for your hard work.

Pages: 1 ... 6 7 8 9 [10]

Page created in 0.029 seconds with 15 queries.