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 [2]   Go Down

Author Topic: Unable to create categories  (Read 7956 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Unable to create categories
« Reply #20 on: December 18, 2012, 05:13:48 pm »

Thank-you!! Did some searching online and it appears that line is added by some app called Fantapper, which is something or host has installed on all websites :/ Going to talk with them about it now.


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Unable to create categories
« Reply #21 on: April 10, 2013, 04:21:10 pm »

You should look at the function rebuild_tree in where the problem is reading categories one by one then updating in a loop

Unfortunately, with the current design, I haven't found a better solution for this issue, as the whole category tree needs to be rebuilt on certain actions. Probably we could decrease the amount of SELECT queries, but I currently don't know how to decrease the amount of UPDATE queries.
Pages: 1 [2]   Go Up

Page created in 0.017 seconds with 20 queries.