Please a better programming of the code... Please a better programming of the code...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Please a better programming of the code...

Started by epsilon, December 16, 2003, 01:00:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

epsilon

Coppermine is good for small sites but for big sites the consultations to mysql eat up all the memory ram, and I have one 1gb of ram in my dedicated server but the scripts use all.

Tarique Sani

CPG has been known to run with 40,000 + images please provide some more details and also since the source code is available to you, you can try and modify it yourself and let us know how it goes
SANIsoft PHP applications for E Biz

Joachim Müller

to reduce query load, you can disable all fancy stuff on the index page (show thumbnails, show first level albums, intermediate pics etc.), leaving only the category overview.
Also make sure you don't run the watermark hack, which consumes a lot of CPU power and is only recommended for small sites (with little traffic).
To reduce the number of queries, you could easily switch off the stats!

GauGau

P.S. Requesting better programming means indirectly insulting the programmers of the existing code of having produced "bad code", which won't make you much friends with the devs, so I recommend reviewing your attitude, unless you came here to just troll-post.

Tarique Sani

Quote from: "gaugau"so I recommend reviewing your attitude, unless you came here to just troll-post.
I overlooked that part believing it was most of a language issue rather than attitude  :wink:
SANIsoft PHP applications for E Biz

epsilon

Sorry I believe that I have expressed bad,you have all reason, since copermine is the best free script of photos and i didnt want to say for nothing that coppermine is bad thnks for the great work that the team do.
My english is not good  :oops:

PD: Thnks for that gaugau it runs better now.