-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 9, 2014 at 4:43 pm #194629I tried to edit the Profile Settings in JA News Pro module to Linear from telineiv_t3 and got this error.
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 960 bytes) in /home/sites/tecsa.com/public_html/joomla2/modules/mod_janews_featured/helpers/jaimage.php on line 277
The maximum my host permits is 256M.
How to fix? I’ve updated to Joomla 3.2.2 and made the manual fix for T3 which works OK.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
February 10, 2014 at 2:24 am #521948Type 1. if your hosting allows custom php.ini settings. you need to create a php.ini file in the root directory and then add this code
ini_set(‘memory_limit’, ‘-1’);
or
ini_set(‘memory_limit’, ‘512M’);
Type 2. open you index.php in the root directory and add the code in the very first line
[PHP]<?php ini_set(‘memory_limit’, ‘-1’);
?>[/PHP]
or
[PHP]<?php
ini_set(‘memory_limit’, ‘512M’); ?>
[/PHP]If any of the above solution doesn’t work. please contact your hosting provider and ask them to reset any of the above code suggestion.
1 user says Thank You to chavan for this useful post
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 10, 2014 at 2:54 pm #522050Thanks. My host says anyone who needs more than 256M has a broken site 🙂
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
February 14, 2014 at 5:27 am #522645then you can go on with their host suggestion
<?php
ini_set(‘memory_limit’, ‘256M’); ?>timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 14, 2014 at 11:00 am #522699Thanks. I already have a php5.ini file in root which includes:
memory_limit = 256M
Should this achieve the same result as:
ini_set(‘memory_limit’, ‘256M’);Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2014 at 1:44 pm #522712Hi,
Please try to disable some of your 3rd party plugins and see if that helps, i wasn’t able to see your website but i was able to see a 3rd party plugin requesting for more memory.Regards
Manos
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 14, 2014 at 2:57 pm #522720OK, I have disabled all non Joomla or Joomlart plugins except NoNumber Framework and Cache Cleaner. But the message I see regularly is this:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 2640 bytes) in /home/sites/tecsa.com/public_html/joomla2/plugins/content/plg_jathumbnail/plg_jathumbnail.php on line 627
Try the link from “bikes” at top of JA Tabs module in right column.
Maybe the image is simply too large? How much is “too large”?Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 14, 2014 at 6:25 pm #522737Hi,
That’s weird, but at the same time it might not be, i can see that memory_limit is at 128M did you try to increase this up to 256M as your host sugested ?Regards
Manos
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 14, 2014 at 11:40 pm #522760Yes, I see the same in Joomla info but there a php5.ini file in root as follows.
max_execution_time = 60
max_input_time = 90
memory_limit = 256M
post_max_size = 64M
upload_max_filesize = 32MWhich one is in control?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
February 15, 2014 at 1:17 am #522762Try this
Increase the
max_execution_time = 60 to 6000
max_input_time = 90 to 6000Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 15, 2014 at 12:36 pm #522809<em>@timtecsa 411370 wrote:</em><blockquote>
Which one is in control?</blockquote>Your host is the one who can answer this for you.
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 15, 2014 at 2:07 pm #522815I asked and the answer is: “System information in the back end of Joomla gives you the actual values of the system.”
It is a shared server I use for testing. Our production server (a different host) is dedicated.However, on the same shared server I posted the same article about bikes on my Joomla 2.5 test site and it behaves fine. http://217.199.187.59/tecsa.com/joomla25/index.php/industry-news/3d-printing/22-bike-curious-a-buyer-s-guide
Only disabling JA Thumbnail or deleting the large 2nd image avoids the error message referencing JA Thumbnail on the Joomla 3.2.2 site. http://217.199.187.59/tecsa.com/joomla2/index.php/technology/solar/908-bikes
UPDATE: My host has lifted the memory limit to 256M as now shown in Joomla System Info.
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
February 15, 2014 at 5:48 pm #522828Hi,
Makes more sense now that I was able to see the second image -> http://217.199.187.59/tecsa.com/joomla25/images/j2xml/Labelled-bike1.jpg
It’s obvious that resizing such a huge image needs more memory. (2.1 MB image)1 user says Thank You to Manos for this useful post
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
February 15, 2014 at 6:35 pm #522833Yes, but Joomla 1.5 with Teline II takes such punishment in it’s stride as does Joomla 2.5 with Teline IV. See: http://217.199.187.59/tecsa.com/joomla25/index.php/industry-news/3d-printing/22-bike-curious-a-buyer-s-guide
The 2nd image was not resized before uploading so still has 2.1MB weight and native dimensions of 2640 x 1980 px. All sites on my test server now have 256MB memory limit but this article was posted OK before the increase. Our production live dedicated server has only 128MB memory limit. http://www.globalprintmonitor.info
More fun and games with JA Thumbnail here: http://www.joomlart.com/forums/topic/how-to-display-thumbnails-in-category-views-consistently/#poststop
-
AuthorPosts
This topic contains 14 replies, has 3 voices, and was last updated by timtecsa 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum