Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #737423

    Hey there. I’m having trouble uploading basic jpg files.. Getting the HTTP error. Some files load ok and others wont.. If I switch to another theme I’m still not able to upload files. This is completely slowing me down.. Help! Thank you

    #737458

    Try this. Open wp-config.php at the root of your site and add the following near the top of the file after all the comments:

    define( 'WP_MEMORY_LIMIT', '512M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    Your host might not allow that much memory so if you get an error message, reduce the 512M to 256M or even 128M. Then create a new file in the root of your website called .user.ini (notice the period at the start of the file name). Then add the following to it:

    memory_limit = 512M
    upload_max_filesize = 1000M
    post_max_size = 1005M
    max_execution_time = 240
    max_input_time = 120
    max_input_vars = 6000

    I can’t swear this is the answer but I had this issue off and on for a year and this solved it. Give it a try and let me know if it works. If you get any errors, you should be able to delete the .user.ini file and back out your changes to wp-config.php to get back to normal.

    #737560

    Hi @ericalifornia_22,

    Did you try the suggestion posted by @kevinmcgillivray and did you have any luck with it? If not then I would suggest that you contact your hosting provider about the problem.

    Best regards,
    Rikard

    #738110

    So I’m kind of an idiot.. I don’t know where wp-config is?? I used to be able to find it in Appearance/Editor but nothing there that says that. Do I have to go thru my host GoDaddy? I can’t find files there either.. Sorry need a little help. I really need to fix this issue.

    #738126

    wp-config.php isn’t available through the editor. You’ll have to log in through GoDaddy and use their file manager to edit/create files. They’re likely stored in the public_html directory in the root of your account. When you open the file manager it may ask you if you want hidden files to be shown. You do since any file name that starts with a period (like .user.ini) is hidden. Depending on your type of hosting this may be a setting you have find and turn on though.

    Also (in my humble opinion) I’m not a fan of GoDaddy’s hosting. They do all kinds of things that slow down web sites and disable large and small features without telling you. Then they offer no help when you call about it or point fingers at WordPress, your theme or a plugin. I can’t say this is related to your issue but personally I avoid them at all costs.

    That said, try my suggestion above and let me know if it helps. Good luck!

    #738144

    Do I need a separate FTP login? When I log in with my regular credentials I don’t see anything that says file manager.

    #738271

    Hi!

    That is how your hosting provider is working.
    Please contact them for those details.

    Thanks a lot

    Best regards,
    Basilis

    #738426

    I don’t remember the exact links you click on. If I recall correctly it’s in My Account > websites > Manage or something similar. Then you might have to select the website you want to work on. Then you should see a bunch of links for managing the website, database, etc. You’ll probably have to call GoDaddy or Google more detailed instructions. Let us know how it goes though.

    #740155

    Hi,

    This might help:

    • Log in to your GoDaddy account.
    • Click Web Hosting.
    • Next to the hosting account you want to use, click Manage.
    • In the Tools section, click File Manager.

    Best regards,
    Nikko

    #741401

    I can get into my files through Filezilla but am not comfortable touching anything in there. I see wp-config.php. If I right mouse click I get an option to view/edit. It just brings up a page with all comments..? I don’t see where to put the code kevinmcgillivray suggested. Can someone help me in filezilla?

    #741431

    I’ve never used filezilla to edit files. I wouldn’t recommend it because it’s an FTP client not an editor. I would recommend doing what Nikko and I suggested above or calling GoDaddy and having them walk you through it.

    That said, you’ll want to find the line in wp-config.php that says “/* That’s all, stop editing! Happy blogging. */” and put a couple of blank lines above that line. Then put any new code in those blank lines. Before you do this, you might consider copying the entire contents of wp-config.php into Notepad so you have a copy in case you break something.

    Again, if you don’t feel comfortable doing this, you should call GoDaddy for support or hire a local web developer.

    #741448

    I’ve never used filezilla either but it seems through this “Managed WordPress” in GoDaddy there isn’t a c-panel.?. I haven’t built a site in a few years so I’m a little rusty. I’ll call GD and see if they can help. Thank you everyone..

    #741808

    Hi @ericalifornia_22,

    Ok, thanks for the feedback. Hope you get it working :-)

    Best regards,
    Rikard

    #1055869

    Hey I have the same issue. When I try to upload an image in the media library I get the error HTTP error.
    I tried to follow Kevin suggestion but it did not work. Any other help to get this fixed ?
    Thank you very much

    #1055881

    Hi MeryVi,

    The issue isn’t actually on the theme and the solution differs, try to check on the solutions on this post: https://docs.presscustomizr.com/article/229-fixing-errors-when-uploading-images-in-wordpress
    Hope it helps.

    Best regards,
    Nikko

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.