Recent posts Recent posts
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Recent posts

#1
cpg1.6 upgrading / Re: New version 1.6.27 intermi...
Last post by BusAmerica - September 03, 2025, 06:46:11 PM
Hello Ron

It's true that the Gallery has a lot of content and it slows it down.
But up until three or four weeks ago, it worked fine; now it doesn't.

I'll probably install the "Theme caching plugin" soon.
And then I'll let you know if the performance improves.

Thank you for your response and your work.

Best regards.

*********************

Hola

Es cierto que la Galeria tiene mucho contenido y la vuelve lenta.
Pero hasta hace tres o cuatro semanas funcionaba bien, ahora no.

Seguramente instalare el "Theme caching plugin" en breve.
y después les cuento si mejoró el rendimiento


Agradecido por tu respuesta y tu tarea
Saludos
#2
cpg1.6 upgrading / Re: New version 1.6.27 intermi...
Last post by ron4mac - September 03, 2025, 03:01:29 PM
Your site has so much content (categories,albums,photos) that loading some pages is quite slow. If, during this time, other requests are being made, then other database opens will happen all concurrently ... causing the problem.

You could try using a theme caching plugin to greatly reduce database access. The one downside is that 'random' images will show the same for at least one day (or whatever time period you have set for caching).
#3
cpg1.6 upgrading / Re: New version 1.6.27 intermi...
Last post by BusAmerica - September 02, 2025, 01:43:03 PM
Thanks Phill

Your message guides me

The hosting also indicates that it could be an attack.
I thought about restoring the site to its previous version a month ago to test options, but if it was an attack, it wouldn't work. The hosting seemed fine.

Now I see where to proceed with the issue: "php.ini"

Question: If it's an attack, should it be increased? Well, aren't those attacking it going to increase the number of connections even more?

A few months ago, a programmer from another similar site contacted me, suggesting I scrap Coppermine.
I suggested he collaborate with Coppermine Gallery instead, to help improve it if he had the knowledge.

Thanks again Phill to you and everyone who volunteers to help Coppermine.


******************

Gracias Phill
Tu mensaje me orienta

El hosting también indica que podría ser un ataque

Yo pensé en restaurar el sitio a su versión de un mes atrás, para probar opciones, pero si era un ataque no funcionaria. Al hosting le pareció bien.

Ahora veo por donde seguir el tema: "php.ini"
Consulta, si es un ataque conviene aumentarlo? pues los que atacana ¿no van incrementar aun mas las conexiones?

Hace unos meses se contactó un programador de otro sitio parecido proponiendo que  descartara Coppermine.
Yo le propuse que mejor colaborara con Coppermine Gallery, para ayudar a mejorarlo si tenía el conocimiento.

Gracias Phill una vez mas a vos y todos los que voluntariamente ayudan a Coppermine
#4
cpg1.6 upgrading / Re: New version 1.6.27 intermi...
Last post by phill104 - September 01, 2025, 10:17:12 PM
The error says it all. It is not the version that is your problem, but how many people are using your site. In PHP you can set a limit to the number of connections to the database you can have. This is for a number of reasons including to help stop spam ddos type attacks, to keep memory usage or CPU usage under control, to improve speed etc. It can be increased via the php.ini file but you will probably have to ask your host how to do that.
#5
cpg1.6 upgrading / Re: New version 1.6.27 intermi...
Last post by BusAmerica - September 01, 2025, 08:50:14 PM
Thank Ron

Yes, I used the 1.6.26 version, and change for de 1.6.27 version. With these started the problems.

Testing solutions, is it possible to restore version 1.6.26?
Well, it became non-operational due to these problems.

And thank you for keeping Coppermine alive and helping us.

Best regards

---------------------

Gracias.
Sí, usé la versión 1.6.26 y la cambié por la 1.6.27. Con esto empezaron los problemas.
Probando soluciones ¿es posible restaurar la version 1.6.26?
Pues se volvió no operativa por estos problemas

I gracias por mantener vivo a Coppermine y ayudarnos

Saludos
#6
cpg1.6 miscellaneous / Re: Theme Select List question
Last post by Dark_Angel - August 13, 2025, 06:20:30 PM
That is what I used to do with all other versions of CPG but this time when I installed the gallery it said that those others were needed and could not be removed.

I did it, placed all unwanted themes into a new directory then moved it to another "holding" area for just in case later on. Now my menu is looking right.
Thanks ;D
#7
cpg1.6 miscellaneous / Re: Theme Select List question
Last post by 406man - August 12, 2025, 05:01:20 PM
I tried this in my 1.6.26 test gallery and it worked as expected. What I did was to move the whole directory hierarchy for a couple of unused themes to somewhere else. The Theme selection in the Config worked as expected with the moved themes not appearing in the list. If you are removing, for example the "water_drop" theme you have to remove the   /theme/water_drop directory.

If you're still having problems show us a screen shot of your /theme directory and the drop down menu in the Config settings. You might need to take a picture using a phone camera, for example, as trying to screenshot a drop down menu generally doesn't work.
#8
cpg1.6 miscellaneous / Theme Select List question
Last post by Dark_Angel - August 11, 2025, 10:11:14 PM
using 1.6.26 (stable) and it worked fine before when I could just remove the unused themes. Now, although when I installed the gallery it said I could not remove them which now shows them in the list box. The members can only use about 4 themes soooooo

how to make the list NOT see those in there which are required, should we need to do more updates
#9
cpg1.6 themes (visuals) / Re: Coming Soon (Index) Page /...
Last post by 406man - August 10, 2025, 05:59:58 PM
I've created a simple plugin called "offline" to implement this. Just download it and install like any other plugin. There are no options.

It will normally display a very basic custom page when anyone tries to access the gallery. There is a login link so that an administrator can log in and once logged in the gallery works normally for them.

The HTML for your custom page is in the file offlinehtml.php in the plugin directory. Edit this file to suit requirements.

Plugin submissions would normally go to another part of the forum. For now I'll leave this here so that  "findingcolors" can decide if it's suitable for them. It might need updating if the functionality isn't close enough. If it turns out to be useful I'll submit it in the usual way.
#10
cpg1.6 themes (visuals) / Re: Coming Soon (Index) Page /...
Last post by ron4mac - August 10, 2025, 02:31:27 PM
Most all servers are configured to present an index.html instead of an index.php file if there is no specific request. You could put your gallery offline and also add an index.html file that displays what you would like. I think most would see the contents of that html file when visiting your site. You can login for admin work by going to <your-site>/index.php.