1. makers
  2. General
  3. Friday, August 08 2014, 09:18 AM
Hi easy profile

I am using the social network plugin for a site im building. When i use the site from a phone (tested both android and iphone), I can't seem to take a picture and post it on the home news feed. The function seems to be there, but when i press "share" only the text i have written will be displayed on the news feed. Is this a known issue?
admin Accepted Answer
Admin
No, please post me your site details and Android version. I will check this problem on your site.
  1. more than a month ago
  2. General
  3. # 1
makers Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Ok I found the problem:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4128 bytes) in /home/marcusin/public_html/plugins/jsn/socialnetwork/app/Vendor/phpThumb/GdThumb.inc.php on line 122

You have set on your PHP configuration the directive memory_limit to 32M.
The default value of this is 128M but I recommend you to set this on 256M on production site
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
I have missing this:
on modern smartphone the Camera images are ~ 3Mbyte so to crop and resize these PHP need more memory.
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Sorry onother problem. in some smartphone like modern Nokia the images exceed 4MB, so you need to change even directive "upload_max_filesize", now you have set this to 4MB

Another limit is on directive "post_max_size" now set to 8MB
  1. more than a month ago
  2. General
  3. # 5
makers Accepted Answer
So to sum it up, I have to change the allowed file upload size in php.ini to 4mb and directive memory_limit to 256m?
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
You have to set this
memory_limit -> 256M
upload_max_filesize -> 8M (in according with post_max_size)

You can leave post_max_size to 8M to problem with image ;)
  1. more than a month ago
  2. General
  3. # 7
makers Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.