Advanced search  

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

Pages: 1 [2]   Go Down

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

0 Members and 1 Guest are viewing this topic.

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
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.
Logged

Αndré

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

You should look at the function rebuild_tree in functions.inc 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.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.021 seconds with 19 queries.