Tagged: 

Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #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
    Harry

    #195573

    Hi hark!

    Try switching to the Default theme to discard if is a theme issue or not.

    Best regards,
    Josue

    #195584

    Ok thanks Josue I will give that a try.

    #195587

    Just remembered I deleted the other default theme :(

    #195592

    Hey!

    You can download it here: http://wordpress.org/themes/twentytwelve

    Regards,
    Josue

    #195758

    Ok 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
    Ian

    #195817

    Hey!

    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,
    Josue

    #195875

    Hi 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
    Ian

    #195960

    Hi!

    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,
    Josue

    #196104

    Morning 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.
    Ian

    #196178
    This reply has been marked as private.
    #196931

    Hey!

    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,
    Peter

    #196983

    Hi,

    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

    #197021

    Hi Peter
    I will have a look but when the error comes up it does not that the limit is 128mb?
    Ian

    #197025

    Hi!

    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,
    Peter

    #197071

    I don’t seem to be able to see a php.ini file? Which folder would it be in please?
    Ian

    #197086
    This reply has been marked as private.
    #198023

    Anyone able to comment on the last post?

    #198394

    Hey!

    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,
    Ismael

    #198573

    Hi 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.”

    #199110

    Hi!

    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,
    Devin

    #199174

    Thanks Devin I will get in touch with them again.
    Ian

    #199471

    Hi

    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/servers

    Any last ideas before I forget about this topic?

    Thanks
    Ian

    #199855

    Hey!

    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,
    Peter

    #199915

    Hi,

    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

    #200187

    Hey!

    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,
    Peter

    #202186

    Ok 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

Viewing 27 posts - 1 through 27 (of 27 total)
  • The topic ‘HTTP error during upload’ is closed to new replies.