Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • bossep Friend
    #128927

    This might not be related to JA at all but in total panic here.
    1.I recive this error when trying to add a photo to an article and showing it on the front page.

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108

    2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!

    3. The vidos dosent run in the video module but runs fine as embedded in a page.
    I suspect this might be a problem with user rights on the new server but not sure.

    The reason for the move is a lot more trafic than ve expected most likely thanks to a nice looking site thanks to JA!

    All the best
    BosseP
    http://www.guatemala-times.com

    Menalto Friend
    #250620

    1: If you have access to the php.ini file you can change the memory size there, if not ask your host to change it.
    look for: memory_limit =
    2: You should be able to change settings for that in the backend.
    3:Maybe, i did not see that module published?

    cgc0202 Friend
    #250621

    <em>@bossep 55334 wrote:</em><blockquote>This might not be related to JA at all but in total panic here.
    1.I recive this error when trying to add a photo to an article and showing it on the front page.

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108

    2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!

    3. The vidos dosent run in the video module but runs fine as embedded in a page.
    I suspect this might be a problem with user rights on the new server but not sure.

    The reason for the move is a lot more trafic than ve expected most likely thanks to a nice looking site thanks to JA!

    All the best
    BosseP
    http://www.guatemala-times.com</blockquote>

    Is it possible that your database exceeded the limit for allowed transfers of databases? This is suggested by the error:

    ” Allowed memory size of 8388608 bytes exhausted…”

    You might want to check the size of your database (download it using your phpMyAdmin, or something).

    By the way, do you have a or plan to have a lot of images? If you do, do you optimize your larger images, so that their byte sizes will be about 50-150kb, at most? Your “mini” pics must be even less — 1-15kb. If not, you might consider optimizing your images. It will slow the upload of your page.

    Cornelio

    bossep Friend
    #250623

    Hello Manelto,
    thanks for your quick reply!
    1. My ISP changed to 12 Mb from 8 Mb no change. I do think that the error is wrong and that it has something to do with the rezised images.
    2. Yes I know. But do you have any idea ware?
    3. Yes took it off as it was looking ugly it just shows the box and title and white space for the videos.

    I also have problems to upload new modules from the admin so I defenatly have some isues with permisions on the new server.

    BosseP

    bossep Friend
    #250627

    Hello cgc0202,
    Picture size: Yes I do optimize them before posting using photoshop seve for web. And also resizing to the exact format.
    The smaller picures is handled from the JA modules I belive and I do think THAT is the problem. But I cant find it.
    The db is probably OK as I dont have any problem with the text and it is pretty small at this point.

    Thanks for the ideas
    BosseP

    Menalto Friend
    #250631

    They should change to 32

    bossep Friend
    #250632

    It is defenatly a problem with the resizing of images.
    Does any one know what component is doing this?
    I do think this componet needs execute rights and is blocked so therefore
    the picures cant get resized and somthing goes wrong. when trying to show them on the front page.
    If I make a new article I dont have a problem with the “detail” page the full size image shows OK.
    When I go to a section it shows as a red X.
    But on the frontpage it throws the fatal error.
    So I have two problems:
    1. No thumbs are being created.
    2. when JA news dont find the thumb it goes mad.

    I will try to rename one of the “good” thumbs and see what happends.

    BosseP

    bossep Friend
    #250640

    OK Menalto I will tell them or do it my self.
    Thanks

    cgc0202 Friend
    #250662

    I hope it will be resolved soon BosseP,

    You are in good hands with Menalto. I depend on him too, when I have problems.

    Cornelio

    bossep Friend
    #250778

    After digging a bitt deeper into this I found that this is a database issue (I think)
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2400 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108

    I found this in my MySQL database:

    bulk insert buffer size 8,388,608
    bdb cache size 8,388,600

    I have no idea of how to increase this! Anybody else?

    And I have no idea what this has to with line 108 in the file
    “$src = imagecreatefromjpeg(JPATH_SITE.’/’.$image);”

    Things run In Layout headline_fp but throws the error in default_fp
    I wonder way?

    Bosse

    Menalto Friend
    #250783

    Talk to your host if they can check your database settings and clean it up.

    bossep Friend
    #250785

    Thanks Manelto,
    So you think it some kind of db coruption? I will talk to them or see if I can do this trough plesk or something.

    Bosse

    bossep Friend
    #250894

    From the beginning:
    1.I recive this error when trying to add a photo to an article and showing it on the front page.

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 600 bytes) in /var/www/vhosts/guatemala-times.com/httpdocs/modules/mod_janews/helper.php on line 108

    I have been diging deeper into this and the status is as follows I dont know if this is related at all but I start to suspect a little bug, God forbid.

    For some reason the permisions gets set wrongly when creating the resized images only the Owner gets read permissions. So resized images shows with a red X after created. Any one knows way? I suspect there is a missing execute someware. Or a lib that are not installed.
    The error only appers when I try to use default _fpas style not with headline_fp in the settings for mod_janews_fp
    I really dont think this is related but…

    2. When going to the category level the articles appears as a list not in a nice layout. This is driving me crazy or crazier there is probably an easy answer to this but I cant find it!
    ** Got fixed by it self during a restore.

    3. The vidos dosent run in the video module but runs fine as embedded in a page.
    I know whats wrong but not way and how to fix it:
    I get this from my error log:
    ../templates/ja_teline_ii/highslide/highslide
    For some reason I got an extra /highslide in the path. Any one knows how to fix this?

    bossep Friend
    #250937

    Manelto,
    changed the memory to 32M in php.ini and it helped to get the page to load as it should. THANKS!
    I should probably see what els might be missing there!
    Do you have any idea of how to fix the read mode problem?
    For now all resize get set to Owner only.

    bossep Friend
    #251060

    Iwill close this(if I can) and separate the pending problems

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 17 replies, has 3 voices, and was last updated by  bossep 16 years, 5 months ago.

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