简体   繁体   English

安装 Scalia 主题时出现 WordPress 错误 500

[英]WordPress Error 500 while installing Scalia theme

i am getting error 500 while importing scalia theme in my wordpress.在我的 wordpress 中导入 scalia 主题时出现错误 500。

在此处输入图片说明

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如果这不起作用,这种情况很少发生,请尝试使用文本编辑器创建您自己的.htaccess文件并输入以下内容

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在您的 wp-config.php 文件中

1)Increasing the PHP Memory Limit 1)增加PHP内存限制

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

2)increase upload file size with value of your file 2)增加上传文件的大小与您的文件的价值

@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检查 .htaceess 和文件权限,如果你有 .htaccess 重命名它,例如 .htaccess-old 并创建新的

  2. use default theme then try to reinstall scalia使用默认主题然后尝试重新安装 scalia

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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