HTTP error. when trying to upload images

Posted in: Newspaper
Post count: 4

Hi,

I purchased Newspaper theme and found a similar support thread. I followed the instructions to increase memory limits in wp-config file to 64M which I accomplished, however, I still receive the HTTP error. message when trying to upload images.

I found the htaccess in my hosting root, but could not locate the php.ini file anywhere. I am using GoDaddy WordPress hosting and am not sure I have access to the php.ini file.

Can you please provide the exact code to add to the htaccess file so I can just copy and paste it?

Please let me know as I’m at a standstill with working on the site.

Thanks,
Matt

  • This topic was modified 10 years by usawebdev.
Post count: 22421

Hello,
If you do not have access to the php.ini file you will need to contact your hosting provider if you need to access it.
As for the .htaccess code, you can find it here: https://forum.tagdiv.com/system-status-parameters-guide/
I hope this helps.
Thank you!

Post count: 4

Hello Bogdan,

I already reviewed that article prior to contacting your support. My question is, where does this code:

php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M

need to be placed within the htaccess file? My current htaccess file looks like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

So, I don’t know where exactly to place the php_value lines within the htaccess file. The article you refer to does not explain this. Could you please reply with the php_value lines added to the existing htaccess info I provided? That way, I can just copy and paste into my htaccess file.

Thanks,
Matt

Post count: 22421

Hi,
Just add the code before # END WordPress and after and it should work.
Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.