I just upgraded zenphoto to the latest version. I am on DreamHost with a custom php.ini with memory_limit set to 90M.
When I try to print tags on a page (called tags.php), I get the following errors:
My function call failed with this: printAllTagsAs("cloud");
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 3 bytes) in /home/*****/*****.org/zp-core/functions-db.php on line 104
What am I doing wrong here? I can try and increase the memory but this is a fairly trivial thing to do, right?
Comments
Edit 2:
Here are all the contents of that file:
<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'light'); ?>
<?php printAllTagsAs("cloud"); ?>
To add more clues to my problem, I can't also view the Tags tab from the admin panel. It just shows this error:
atal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 24 bytes) in /home/****/****.org/zp-core/functions-db.php on line 104
Anyway, you can give tonight's nightly build a try. I have done some optimizing of the code that collects tags. If that does not help, check your database obj_to_tag table and see how large it is.
I will give the nightly build a try.