Recently I've had a problem with lghtbox pages not loading. Instead I get an out of memory error message. The add to and take off lightbox buttons still work normally but click on the view lightbox button and the error message below comes up.
"Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 160783 bytes) in /hermes/web05b/b1133/pow.geoffbryant/htdocs/includes/template.php on line 185"
None of the files have been changed recently to make this happen. However, my database now contains around 19000 images in 1400 categories and I'm wondering if it is getting too large and becoming an unwieldy memory hog. This may also be the reason why I get an out of memory message if I set the search results page to show more than 25 images. Any ideas?
I wondered about the possibility that my web host had updated MySQL and that was perhaps causing problems. I tried using some files from the latest version of 4images to see if that fixed the problem. I was then able to get the lightbox to load but there were no images. Regrettably, my copy of 4images, now has so many mods and add-ons that it's difficult to upgrade. It's basically an amalgam of 1.7.2 and 1.7.4. Anyhow, it's worked fine until now.
Thanks,
Geoff Bryant