在 wordpress 上安装 customizr 主题时出错

An error occured while installing customizr theme on wordpress

当我安装主题 customizr 时出现此错误。现在我无法登录我的网站。每当我登录时都会出现以下错误:

URL我的网站是www.nileshaswani.webuda.com你可以看看

PHP 错误信息

Warning: require_once(/home/a6084419/public_html/wp-
content/themes/customizr/inc/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/a6084419/public_html/wp-content/themes/customizr/functions.php on line 46

第二个 PHP 错误消息:

Fatal error: require_once() [function.require]: Failed opening required
'/home/a6084419/public_html/wp-content/themes/customizr/inc/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/a6084419/public_html/wp-content/themes/customizr/functions.php on line 46

安装主题时主题文件似乎损坏了。一种方法是从数据库进行调整。从您的 cpanel 使用 phpMyadmin。查找选项 table。现在在选项 table 中编辑两行。一个是 template,另一个是 stylesheet。将其更改为默认安装的主题。现在您将能够访问管理面板 /wp-admin/。现在尝试全新安装您的主题。

注意:在更改数据库时,建议保留一份备份副本。

安装主题时出现错误,原因取决于主题的安装方式。

要退出出错的主题安装,请通过 FTP 访问您的站点并浏览至 /wp-content/themes/customizr/。删除文件夹。

您还不能访问站点的前端,但现在可以访问仪表板。登录您的站点并更改主题(或重新安装 customizr)。现在您就可以访问您的网站了。