-
AuthorPosts
-
January 23, 2017 at 9:20 pm #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
January 23, 2017 at 11:33 pm #737458Try 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.
January 24, 2017 at 7:29 am #737560Did 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,
RikardJanuary 25, 2017 at 5:44 am #738110So 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.
January 25, 2017 at 6:27 am #738126wp-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!
January 25, 2017 at 6:58 am #738144Do I need a separate FTP login? When I log in with my regular credentials I don’t see anything that says file manager.
January 25, 2017 at 11:09 am #738271Hi!
That is how your hosting provider is working.
Please contact them for those details.Thanks a lot
Best regards,
BasilisJanuary 25, 2017 at 4:05 pm #738426I 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.
January 30, 2017 at 12:36 pm #740155Hi,
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,
NikkoFebruary 1, 2017 at 7:06 pm #741401I 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?
February 1, 2017 at 8:38 pm #741431I’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.
February 1, 2017 at 9:12 pm #741448I’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..
February 2, 2017 at 2:40 pm #741808January 19, 2019 at 3:40 pm #1055869Hey 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 muchJanuary 19, 2019 at 4:21 pm #1055881Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.