When trying to upload a photo with only 19 Kb in the format "png" or "jpg" using the "Photo" button, a progress button is shown briefly, but then the error message follows: "not enough memory to process the picture"! I have set all parameters to max. set. In the group releases, all permissions should allow uploading! Oddly enough, however, I can easily upload profile pictures, cover pictures and groups or page pictures. The problem seems to only appear in the pages, groups and profile posts. However, this is important because the users naturally want to upload their data! I tried the whole thing to find out for myself. Now I have to try the support again!

    YIDO
    Hi
    seem your server prevent to read: ini_get('memory_limit')
    I change the values from this file /components/com_community/helpers/image.php at line 298
    kindly take backup of this file before update Jomsocial.

    Try to upload photos now.

    Thank you very much - it works fine now! Good Job!
    I have saved the file image.php (/components/com_community/helpers/image.php ) on my hard drive, so that I will have this or parts of it again available for adjustments in a later JomSocial update. Unfortunately, notepad ++ shows me an empty line at line 298. Maybe you can tell me the code again directly or check the line number again.
    I found in line 363-397 notepad++ the ini_get('memory_limit'). Is this the area that was changed see screenshot below?
    Regards Uwe

      5 days later
      Ninja locked the discussion.
      Write a Reply...
      You need to Login to view replies.