500 error server at upload theme on wordpress on bluehosting - wordpress

I buy theme from themeforest and i try to upload theme but this error appear
'500 Server Error
A misconfiguration on the server caused a hiccup. Check the server
logs, fix the problem, then try again.'
how I can solve this error ....?

One possibility is that you exceeded upload limit when uploading a theme.
Here is an article on how to increase it.
Basically, open php.ini, then find upload_max_filesize option and increase that limit, to something like:
upload_max_filesize = 64M

Related

How do I save a WordPress website into different server?

I have been having trouble saving a WordPress website into a different server and keep getting an error when opening it in my browser.
Fatal error:
Allowed memory size of 67108864 bytes exhausted (tried to allocate
32245 bytes) in
/home/clemente1234/public_html/clementeghuerta.com/green-banker-2/wp-includes/functions.php
on line 347
Does anyone know what I am doing wrong?
The error you are seeing can typically be resolved by adjusting how much memory is being allocated to WordPress. In your wp-config.php file, try modifying/adding this line to an appropriate amount of memory. The current limit seems to be at about 67M, so maybe something like:
define( 'WP_MEMORY_LIMIT', '128M' );
It seems you only have 64M.
If you have access to your php.ini, increase the max memory size..
ini_set('memory_limit', '128M');
Or even in your .htaccess
php_value memory_limit 128M

Wordpress Fatal Error How To Fixed

Wordpress Fatal Error How To Fixed
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 295561 bytes) in /home/techmysc/public_html/wp-includes/wp-db.php on line 1475
Step :1 Edit your wp-config.php file and enter something like:
define('WP_MEMORY_LIMIT', '256M');
Step :2 If you have access to your PHP.ini file, change the line in PHP.ini
memory_limit = 256M ;
A complete referance regarding (It works for Wordpress and woocomerce issue ) :
https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
I've tried by increasing the memory limit but nothing worked for me.
Then I upgraded the php version from 5.3 which was the default for my website to 5.6 from cPanel and then it worked very well.
Log in to your cpanel.
Under software panel click on "Select PHP version".
Then change your php from the current version to something newer version and check.

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1610

I am facing that error while installing Jet pack plugin on my WordPress localhost site. i have search on this site many answer but that not fulfill my requirement
Please
locate the file [XAMPP Installation Directory]\php\php.ini (e.g. C:\xampp\php\php.ini)
open php.ini in Notepad or any Text editor
locate the line containing max_execution_time and
increase the value from 30 to some larger number (e.g. set: max_execution_time = 90)
then restart Apache web server from the XAMPP control panel
If there will still be the same error after that, try to increase the value for the max_execution_time further more.
#Raphael your solution does work. I encountered the same problem and solved it by increasing the maximum execution time to 180. There is an easier way to do it though:
Open the Xampp control panel
Click on 'config' behind 'Apache'
Select 'PHP (php.ini)' from the dropdown -> A file should now open in your text editor
Press ctrl+f and search for 'max_execution_time', you should fine a
line which only says
max_execution_time=30
Change 30 to a bigger number (180 worked for me), like this:
max_execution_time=180
Save the file
'Stop' Apache server
Close Xampp
Restart Xampp
'Start' Apache server
Update Wordpress from the Admin dashboard
Enjoy ;)
I solved this issue to update .htaccess file inside your workspace (like C:\xampp\htdocs\Nayan\.htaccess in my case).
Just update or add this php_value max_execution_time 300 line before # END WordPress. Then save the file and try to install again.
If the error occurs again, you can maximize the value from 300 to 600.
If you are simply testing a local dev version of WordPress as I was an hitting timeouts when WordPress tries to update itself you can always disable updates for your local version like so: https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/
Don't do this for a production site!
Find file:
[XAMPP Installation Directory]\php\php.ini
open php.ini.
Find max_execution_time and increase the value of it as you required
Restart XAMPP control panel
If you want modify the limit for a single script, you may try to change that limit at runtime:
ini_set('max_execution_time', 300);

Changing Permalink Settings in Wordpress gives "Fatal error: Out of memory"

I tried to change the URL structure of my Wordpress site. I am getting following error
"Fatal error: Out of memory (allocated 31981568) (tried to allocate 1111781 bytes) in ../wp-includes/wp-db.php on line 774"
I researched in internet and I got this solution:
1. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');
2. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
3. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
4. Talk to your host.
Nothing worked for me, I did not try the second option since I do not have access to php.ini file.
My Question is why changing an simple URL cause this issue? Is this because of cache or some thing?
Any help would be greatly appreciated.
WordPress needs RAM. Talk to your host and ask them how much your account gets and ask for more. You might have to change hosts.

drupal POST Content-Length exceeds the limit

hi i got list of warning regarding file size when i try to upload an image using file upload.
"POST Content-Length of 12223490 bytes exceeds the limit of 8388608 bytes in Unknown on line 0"
My question is how to avoid displaying warning messages (i got 5 warnings). I dont want to increase the file size limit just handle it with showing single warning msg to user rather than a list
Check at php.ini:
post_max_size and upload_max_filesize
You can avoid displaying the warnings by settings the display_errors setting to false. Just make sure you log the errors so you can troubleshoot problems later.

Resources