简体   繁体   中英

WordPress Error 500 while installing Scalia theme

i am getting error 500 while importing scalia theme in my wordpress.

在此处输入图片说明

The file upload size is less. You can increase the file upload size. Two approach either set them in your script like so

<?php
ini_set('upload_max_filesize', '<YOUR_VALUE_HERE>M');

If that does not work which rarely happens try creating your own .htaccess file with a text editor and input the following

php_value post_max_size <YOUR_VALUE_HERE>M
php_value upload_max_filesize <YOUR_VALUE_HERE>M

Hope this fix it!

in your wp-config.php file

1)Increasing the PHP Memory Limit

define('WP_MEMORY_LIMIT', '128M');

2)increase upload file size with value of your file

@ini_set( 'upload_max_size' , '20M' );
@ini_set( 'post_max_size', '13M');
  1. check .htaceess and files permissions if you have .htaccess rename it with for example .htaccess-old and create new one

  2. use default theme then try to reinstall scalia

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM