Tagged: http error
-
AuthorPosts
-
December 2, 2013 at 11:58 pm #195563
Hi
I have started to pick up an HTTP Error (no more information as to why) during trying to upload images to the gallery.
Any idea why this might be or what I can try to sort it?
Thanks
HarryDecember 3, 2013 at 12:17 am #195573Hi hark!
Try switching to the Default theme to discard if is a theme issue or not.
Best regards,
JosueDecember 3, 2013 at 12:42 am #195584Ok thanks Josue I will give that a try.
December 3, 2013 at 12:48 am #195587Just remembered I deleted the other default theme :(
December 3, 2013 at 12:56 am #195592December 3, 2013 at 2:07 pm #195758Ok thanks – I take it there are no issues with regards to just loading a default theme in as much as I can then re installed the Enfold theme and all my work will be as before the change?
Regards
IanDecember 3, 2013 at 4:42 pm #195817Hey!
It will be there, just switch the theme, make a test (media upload), and switch back to Enfold. We need to discard if the issue is theme-related or not.
Best regards,
JosueDecember 3, 2013 at 8:20 pm #195875Hi Josue
I can now confirm this is something to do with the Enfold theme.
I have completed a test and can upload images at : 361 KB (370,205 bytes) (450×600 pixels)
However if I try to upload and image (going to use for a background) at : 5.07 MB (3000x1998x24) is when I get the error.
Is that enough information to help troubleshoot this HTTP Error?
Thanks
IanDecember 4, 2013 at 4:39 am #195960Hi!
It looks like it’s an upload size limitation, i’d like to do some tests, can you create an administrator account and post it here as a private reply?
Regards,
JosueDecember 4, 2013 at 11:51 am #196104Morning Josue
The HTTP Error did say something like the upload limit was 128mb which the upload I was trying to put up was below.
I will sort an admin login for you.
IanDecember 4, 2013 at 4:17 pm #196178This reply has been marked as private.December 6, 2013 at 9:40 am #196931Hey!
It’s probably not a problem with the upload limit value but I guess the post_max_size value is too low. Open up the php.ini file, search for the “post_max_size” value and change it to 128M. Also make sure that the allocated memory limit is set to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Best regards,
PeterDecember 6, 2013 at 2:23 pm #196983Hi,
I’m also having this problem. I’ve followed the advice in this post in relation to setting memory limits and post sizes but still cannot upload an image while the Enfold (child) theme is active. If I switch to the 2013 theme I have no problems. I have had a number of errors ranging from Internal Server error to “exceeding max-execution time of 30 seconds” which originates in the /wp-includes/class-wp-image-editor-imagick.php file.
Neil
December 6, 2013 at 5:08 pm #197021Hi Peter
I will have a look but when the error comes up it does not that the limit is 128mb?
IanDecember 6, 2013 at 5:11 pm #197025Hi!
No, i.e. 100mb or 80mb should be enough. I just mentioned 128mb as an example because you said that the upload limit is set to 128mb.
Best regards,
PeterDecember 6, 2013 at 7:13 pm #197071I don’t seem to be able to see a php.ini file? Which folder would it be in please?
IanDecember 6, 2013 at 8:35 pm #197086This reply has been marked as private.December 9, 2013 at 2:19 pm #198023Anyone able to comment on the last post?
December 10, 2013 at 4:43 am #198394Hey!
If you have an access on your .htaccess file, please add this code to increase upload file size limit:
php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300
Or ask your host. Add this on php.ini file:
upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300
Best regards,
IsmaelDecember 10, 2013 at 4:23 pm #198573Hi Ismael
Thanks for your reply, I don’t have access to the .htaccess file.
Did you see the message from my hosting provider? Can you see anything from this log that might be the issue?
“The PHP memory limit is 128MB but that is across all sites on the whole hosting platform, so no one site will ever be allocated anywhere near that much.
It would be very unusual for a WordPress site such as yours to reach the PHP memory limit, unless the images you are trying to upload are extremely high resolution ones.
I’ve checked the PHP logs for your site and, whilst there are no errors recorded, there are warnings such as the one below:
PHP Warning: file_get_contents(/content/sites2/h/o/homefarmhursley.com/web/wp-content/themes/enfold/config-layerslider/LayerSlider/skins/.DS_Store/skin.css): failed to open stream: No such file or directory in /content/sites2/h/o/homefarmhursley.com/web/wp-content/themes/enfold/config-layerslider/LayerSlider/editor.php on line 85
This may not be relevant to the problem you have reported but is something to possibly take a look at.”
December 11, 2013 at 6:38 pm #199110Hi!
I would suggest re-checking with the hosting provider and ask them to both add the above to an htaccess file for you as well as check that its set for your specific account.
I’ve run into issues where it appears as though its site server wide but in actuality it isn’t.
Regards,
DevinDecember 11, 2013 at 8:16 pm #199174Thanks Devin I will get in touch with them again.
IanDecember 12, 2013 at 1:28 pm #199471Hi
This is the message I have had back from the host
We are unable to facilitate the modification of any parameters on our shared hosting cluster as this applies to all users on the cluster. If you require this level of flexibility we recommend that you migrate your services to a VPS or dedicated server platform.
http://www.names.co.uk/serversAny last ideas before I forget about this topic?
Thanks
IanDecember 13, 2013 at 10:39 am #199855Hey!
Tbh I’m not aware of other, similar bug reports and I’m pretty sure that the vast majority of our theme users host their websites on shared servers (i.e. my websites are shared on a server with 50 other clients/websites and I don’t use a VPS or dedicated server too and I never had such a problem). I recommend to switch to another shared hoster instead of upgrading to a VPS plan. I can’t recommend a hoster in the US/UK but Kriesi and I host our websites here: All-Inkl and I know many clients who host Enfold and other Kriesi themes here: Host Europe without any problems.
Regards,
PeterDecember 13, 2013 at 1:01 pm #199915Hi,
I don’t think that hosting is the cause. If I change theme to 2013 I can upload files without any problems. It’s only when the Enfold theme is active that the problem occurs.
Neil
December 14, 2013 at 11:01 am #200187Hey!
Yes, maybe the theme code triggers the issue somehow but I’m not aware of another, similar bug report and thus it seems to be related to your server configuration. Otherwise we would receive bug reports regarding the same issue from 16,400+ Enfold users which is not the case at the moment. TwentyTwelve is a very basic theme without any extra features/function whereas Enfold extends WordPress in many ways and Enfold requires more code/resources – obviously this increases the risk that certain limitations take effect as soon as you activate our theme.
Regards,
PeterDecember 19, 2013 at 7:22 pm #202186Ok Peter
Think this is just one to keep a watch of if we can. I have hit a brick wall with the host, and do not really want to move everything as I host a number of sites there.
Ian
-
AuthorPosts
- The topic ‘HTTP error during upload’ is closed to new replies.