Unable to get random image to display
|
alanuk
Joined: 2004-03-10
Posts: 24 |
Posted: Thu, 2004-12-23 08:29
|
|
I'm trying to get a randomly-selected image to display from my Gallery installation within my Mambo site at http://www.alanrolfe.com. I tried both the excellent add-on from http://www.gallery-addons.com and from http://www.glasgowsports.com and I get similar failures displayed on my site. The first gives me: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14538 bytes) in /home/xxxx/public_html/gallery/util.php on line 373 whilst the second gives me: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 65537 bytes) in /home/xxxx/public_html/gallery/util.php on line 373 Using the one from http://www.gallery-addons.com and typing http://www.alanrolfe.com/contents/i...lock-random.php I get this: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 65537 bytes) in /home/xxxx/public_html/gallery/util.php on line 373 (xxxx= site access name) Any thoughts, please? Thanks in anticipation. Alan |
|

Posts: 2322
FAQ Gallery:c.16
Posts: 24
Oops! Sorry, yes just found that looking in one of the other forums after my posting. My apologies.
Posts: 8
I’m Puzzled why every time people who raise the question of memory allocation keep getting pointed toward “FAQ Gallery:c.16
Posts: 2322
Simple - The albums store more data than they did in previous versions.
Posts: 5
Than this change have be done between
version Gallery v1.4.4-pl4 and Gallery v1.4.4-pl6 ?
I had the same problem and after setting the memory_limit from
8 MB to 32 MB my random-photo block in PHPNuke worked again.
I cannot say for sure the problem is Gallery because I have
installed a new server so I have changed more than one thing:
current server --------> new server
Pentium 133MHz --------> Pentium 3 450 MHz
Suse 7 --------> Suse 9.1
Apache/1.3.31 --------> Apache/2.0.50
PHP 4.3.7 --------> PHP 4.3.8
PHPNuke 1.6.2 --------> PHPNuke 7.5
Gallery v1.4.4-pl4 --------> Gallery v1.4.4-pl6
Martin.
Posts: 2322
No changes were made from -pl4 except security.
The fact that you changed servers, OS versions, Apache versions, PHP versions, AND PHPNuke versions probably had a lot to do with it. Not one single thing is the same.