By Ahmed Mansour on Friday, 24 October 2014
Posted in General
Replies 20
Likes 0
Views 1.2K
Votes 0
error message when i try to upload any image

you guys should have a backend info from the last ticket.

http://www.gadgetsrepair.co
i told that to godaddy and they told me to add this line in the php5 file
max_input_vars = 5000

and it worked , it is now even showing 128 in the info.php

but is there is reason why i keep getting the message with specific computers ? i cleared my browser cache, history , tried different id's , still the same error messgae
·
Friday, 26 December 2014 21:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've tried to upload image both from backend and frontend and it is successfully upload: http://screencast.com/t/lJzFeGZTyixx . Did I missed anything? Please advise.
·
Friday, 24 October 2014 11:58
·
0 Likes
·
0 Votes
·
0 Comments
·
hello

i am still having the same issue, tried different ID's, pcs, at work, at home, still same error message.check the picture
·
Friday, 21 November 2014 08:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

Can you please upload the image that you are trying to upload to the site and also provide us with both the back end and FTP access?
·
Friday, 21 November 2014 11:23
·
0 Likes
·
0 Votes
·
0 Comments
·
pics attached
you guys should have the logon info from last ticket
·
Saturday, 22 November 2014 05:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

I am not really sure which post are you referring to here. Can you please include the site details under the form below in the "Site Details" tab
·
Saturday, 22 November 2014 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
hello
http://www.gadgetsrepair.co/blog.html

you guys should have access to the joomla admin as well as the ftp from last ticket

this error message happens when i try to upload any picture when i wrote a blog post

thanks
·
Monday, 24 November 2014 20:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

I have checked your site and it seems like your server is hitting the following error when you try to upload a large file,


<br />
<b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4128 bytes) in <b>/home/content/67/12598267/html/May-2014/components/com_easyblog/classes/easysimpleimage.php</b> on line <b>337</b><br />


This is because when the image file is large, feeding the image resource into GD will utilize memory and since the memory_limit on PHP is set to 64MB, this is why you are hitting this error. The only way to solve this is to increase the memory_limit on the php.ini

Also, kindly please do take note that you have over 11 posts created on our forums and it really takes a lot of time for us to find the correct post which contains your site access. It would be much appreciated if you could supply your site information on the ticket.
·
Tuesday, 25 November 2014 00:59
·
0 Likes
·
0 Votes
·
0 Comments
·
hi

i have followed your instructions, and increased the memory to 128M, still same error message

then i contacted godaddy if this an error or their side, they asked me to edit the php5.ini, , i did , but still getting the same message.

thanks for your help, i am really getting frustrated.
·
Monday, 15 December 2014 08:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

I've tried uploading 2.5MB picture and it is successfully uploaded: http://screen.stackideas.com/2014-12-15_1001.png . Did I missed anything here? Please advise.
·
Monday, 15 December 2014 10:02
·
0 Likes
·
0 Votes
·
0 Comments
·
can you please try to upload the pics i have attached on november 22? it is in this post. thnx
·
Monday, 15 December 2014 11:42
·
0 Likes
·
0 Votes
·
0 Comments
·
also, where is the post where you uploaded the picture?
·
Monday, 15 December 2014 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

I have checked your site again and this time the error is coming from the webserver rather than PHP. Take a look at the screen shot here, http://screen.stackideas.com/2014-12-17_0123.png
·
Wednesday, 17 December 2014 01:24
·
0 Likes
·
0 Votes
·
0 Comments
·
so i contacted godaddy and this was their reponse

QUOTE



Dear Ahmed,

Both errors that you have presented indicate that you are utilizing too many resources when working on your site.

How big are these pictures that you are attempting to upload? The notes from the other technicians indicate they are able to upload pictures up to 2.5mb in size without issue. This should be about as big of a picture as you would want to put on a website. Larger images than this will cause the site to load slowly when visitors visit the site.

There are a few different ways to tackle this. While continuing to increase memory limits may eventually get this to a working point, it's not going to be the recommended path to ensure you have an efficiently loading site.

I recommend running your images through a compression utility like http://www.smushit.com/ysmush.it/
That should reduce the size of the images (I recommend this for any image on your site actually)

If you wish to pursue the memory limit settings, then I would suggest increasing the following settings inside your php5.ini in addition to your memory_limit.
upload_max_filesize = 20M (or big enough to accommodate your picture)
post_max_size = 20M (or big enough to accommodate your picture and the rest of the post)

Also, if further troubleshooting is required, please include your pin in your response so that we can successfully access your account.

Regards,

Chris H.
Professional Hosting Support

UNQUOTE


I did exactly as above, still same error message

any suggestions?
·
Wednesday, 24 December 2014 07:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

Even in your php5.ini has the following settings,

memory_limit = 128M

In the phpinfo, it's still only showing up as 64MB instead. See the results here, http://www.gadgetsrepair.co/info.php . What that technician doesn't understand is that the memory limit needs to be larger because when you upload a large image, we actually feed this into the GD library within PHP and because the dimensions of the image is large, it uses more resources but this only happens during image resizing and it doesn't always require that much of memory.
·
Wednesday, 24 December 2014 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ahmed,

Hm, the logins no longer works on your site. I believe the issue is already resolved after the memory_limit has been lifted?
·
Saturday, 27 December 2014 14:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok i know this is an old thread, but this thread was very helpful.

Unfortunately since i don't know how to code I literally read word for word to my hosting company and got it fixed. However, they told me had I not found this thread they would have had no idea to change this max_input_vars = 5000. I think since this seems to be a popular problem the stackideas staff should make a video or step by step document for new users on to change this so that they don't run into this problem. because i was only trying to upload a 1.96MB pic.
·
Friday, 06 March 2015 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
HI Sam,

I am sorry for the late reply.
Thanks for the suggestion. We'll try to do a video/step by step documentation in the future so that it is easier for our customer to fix this issue.

I am sorry for the inconvenience caused.
·
Saturday, 07 March 2015 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
hello again

i am not sure why some users cant again upload pictures, first they are unable to browse the media when they try to choose a picture, second getting an error message " 100% uploading " when they try to upload a pict. i inserted the details for that user in the "SITE DETAILS"

PS: i am able to upload pictures with my admin account normally.
·
Saturday, 28 March 2015 06:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please provide us with the login details of users that are experiencing such troubles? I tried to login with the tatiana user that you have provided and image upload seems to work just fine.
·
Saturday, 28 March 2015 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post