Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 12:01 pm EDT
Geeklog Forums
Site became disfunctional - memory errors
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
i am getting following error in many parts of the site.
Following is the error i am getting when i try to go to this link
http://tazakino.com/mediagallery/admin.php?album_id=1&mode=upload
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /system/pear/Net/URL.php on line 281
i cannot use .htaccess
advice needed.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
Following is the error i am getting when i try to go to this link
Text Formatted Code
http://tazakino.com/mediagallery/admin.php?album_id=1&mode=upload
Text Formatted Code
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /system/pear/Net/URL.php on line 281
i cannot use .htaccess
advice needed.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
3
4
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
I see many crazy things in your gallery, lots of tags like this: {!if album_description} ??
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
3
4
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
that has been there when i upgraded last time.
but the memory error only started comming when my host upgrade to su php
--
http://TazaKino.com - Pakistani News
Where YOU report the news
but the memory error only started comming when my host upgrade to su php
--
http://TazaKino.com - Pakistani News
Where YOU report the news
2
4
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Chase,
I remember you tell us your memory_limit is 48M.
Check it, because you need to set memory_limit (This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server.) to mini 32M to make the mediagallery plugin work well.
The {!if...} code is for CTL
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
I remember you tell us your memory_limit is 48M.
Check it, because you need to set memory_limit (This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server.) to mini 32M to make the mediagallery plugin work well.
The {!if...} code is for CTL
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
3
5
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
thats the point i dont have access to .htaccess anymore so cannnot reset memory limit.
--
http://TazaKino.com - Pakistani News
Where YOU report the news
--
http://TazaKino.com - Pakistani News
Where YOU report the news
4
3
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: beewee
I see many crazy things in your gallery, lots of tags like this: {!if album_description} ??
That's part of Mark's Mediagallery version 1.6 that was available for a short time and then recalled. It is using the Caching Template Library. If you installed over an existing GL install, you need to make the changes to lib-common.php that came with Mediagallery/CTL.
Or you need to downgrade to the current 1.5.1 mediagallery (supported by Cordiste I think)
3
2
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
man i am glad the host somehow agreed to reset the memory limits.
also about the CLT for MG1.6.1
the instruction says
3) a) Create a variable in config.php: $_CONF['use_caching_templates']
and set it to true:
$_CONF['use_caching_templates'] = true;
since config.php does not exist any more.
i just added the line in lib-comman.php
$_CONF['use_caching_templates'] = true;
and it seems to have the tags in MG
thanks for all the feedback guys
--
http://TazaKino.com - Pakistani News
Where YOU report the news
also about the CLT for MG1.6.1
the instruction says
Text Formatted Code
3) a) Create a variable in config.php: $_CONF['use_caching_templates']
and set it to true:
$_CONF['use_caching_templates'] = true;
since config.php does not exist any more.
i just added the line in lib-comman.php
$_CONF['use_caching_templates'] = true;
and it seems to have the tags in MG
thanks for all the feedback guys
--
http://TazaKino.com - Pakistani News
Where YOU report the news
4
4
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Yes, put it in siteconfig.php for Geeklog 1.5 and up. I'll be releasing a new CTL in the future with instructions for newer Geeklog versions and with part of the configuration in the config table.
4
5
Quote
All times are EDT. The time is now 12:01 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content