Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • timtecsa Friend
    #194629

    I 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 Friend
    #521948

    Type 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.

    timtecsa Friend
    #522050

    Thanks. My host says anyone who needs more than 256M has a broken site 🙂

    chavan Friend
    #522645

    then you can go on with their host suggestion

    <?php
    ini_set(‘memory_limit’, ‘256M’); ?>

    timtecsa Friend
    #522699

    Thanks. 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 Moderator
    #522712

    Hi,
    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 Friend
    #522720

    OK, 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 Moderator
    #522737

    Hi,
    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 Friend
    #522760

    Yes, 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 = 32M

    Which one is in control?

    chavan Friend
    #522762

    Try this

    Increase the

    max_execution_time = 60 to 6000
    max_input_time = 90 to 6000

    Manos Moderator
    #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 Friend
    #522815

    I 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 Moderator
    #522828

    Hi,

    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)

    timtecsa Friend
    #522833

    Yes, 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

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 3 voices, and was last updated by  timtecsa 10 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum