By Howard Frederick on Friday, 07 March 2014
Posted in Technical Issues
Replies 10
Likes 0
Views 1.5K
Votes 0
when I create an album, some of my jpg photos upload perfectly but others have "upload failed" and the detail says "unable to parse server response". I've tried and tried but some jpgs work an others don't. Can you please advise? Thanks.
Hello Howard,

Can you please upload some of the photos that failed for you here and also provide us with the back end and FTP access to the site? We'll test this on our end
·
Friday, 07 March 2014 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, it's weird. First I'll send you some photos that failed . . .
·
Friday, 07 March 2014 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Now here's some of the photos that succeeded . . .
·
Friday, 07 March 2014 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Howard,

Can you provide us your backend and FTP access so we can have a better look on your issue here? There might be some settings issue here. Please advise.
·
Friday, 07 March 2014 12:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Here you go
·
Friday, 07 March 2014 13:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Howard,

Thanks, after debugging this very thoroughly, I believe the issue is related to your memory_limit in your php.ini settings as it looks like it probably hit the memory_limit already. You should request your hosting provider to increase the memory_limit in the php.ini to 128MB.
·
Friday, 07 March 2014 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi: Thanks so much for your help! I was able to change my php.ini to below: (I actually have two php.ini files. One is in public_html and one is lower in the site itself. I made sure there are identical. Can I remove one of them? )

In any case, I maxxed all the settings as you can see, but I still get the problem. And now it's even "worse" (see * below).

First expereiment: I tried converting the same pic to png, which increased the size to 5mb, but it also failed. Same thing happened when I downsized the jpg to 100kb. Also tried converting it to black and white, same result.

So I tried another experiment. I deleted and re-uploaded the same photo that I had successfully uploaded before. And it failed. And then I create a new test album, and the same photos that successfully uploaded yesterday failed today. * This is what I mean by worse.

If you want to go in from my front end to try it, I've included those log in details below

So I'm still quite stumped. Any advice you can provide would be appreciated.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
date.timezone = "Australia/Melbourne"
disable_functions = show_source, passthru, exec, popen, proc_open, allow_url_fopen
memory_limit = 256M
max_execution_time = 30
magic_quotes_gpc = off
magic_quotes_runtime = off
register_globals = off
max_input_time = 60
upload_max_filesize = 40M
post_max_size = 40M
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
realpath_cache_size = 64K
realpath_cache_ttl = 120
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.3.so"
extension = suhosin.so
suhosin.executor.include.max_traversal = 6
suhosin.apc_bug_workaround = On
suhosin.memory_limit = 256
suhosin.upload.disallow_elf = On
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
suhosin.log.syslog.facility = 9
suhosin.log.use-x-forwarded-for = Off
·
Saturday, 08 March 2014 07:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Howard,

I am really sorry for the delay of this reply as it is a weekend for us here. Ah, sorry I left some debug codes there last night and forgot to remove them. Uploading works now after you uploaded the ini file
·
Saturday, 08 March 2014 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that all seems to be working. Thanks.
·
Saturday, 08 March 2014 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Howard, glad that your issues are resolved now
·
Saturday, 08 March 2014 17:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post