当我安装主题customizr时,我收到此错误 . 现在我无法登录我的网站 . 每当我登录时都会出现以下错误:
我的网站的网址是www.nileshaswani.webuda.com你可以看看 .
PHP错误消息
警告:require_once(/ home / a6084419 / public_html / wp- content / themes / customizr / inc / init.php)[function.require-once]:无法打开流:/ home / a6084419 /中没有此类文件或目录第46行的public_html / wp-content / themes / customizr / functions.php
第二个PHP错误消息:
致命错误:require_once()[function.require]:无法打开所需的'/home/a6084419/public_html/wp-content/themes/customizr/inc/init.php'(include_path =' . :/ usr / lib / php :/ usr / local / lib / php')在第46行的/home/a6084419/public_html/wp-content/themes/customizr/functions.php中
2 回答
安装主题时出错,原因取决于主题的安装方式 .
要退出主题安装出错,请通过FTP访问您的网站并浏览到/ wp-content / themes / customizr / . 删除文件夹 .
您将无法访问站点的前端,但您现在可以访问仪表板 . 登录您的站点并更改主题(或重新安装customizr) . 现在,您将能够访问您的网站 .
在主题安装时,主题文件似乎已损坏 . 一种方法是从数据库调整 . 使用cpanel中的phpMyadmin . 查找选项表 . 现在在选项表中编辑两行 . 一个是
template
,另一个是stylesheet
. 将其更改为默认安装的主题 . 现在您将能够访问管理面板/wp-admin/
. 现在尝试全新安装您的主题 .注意:更改数据库时,建议保留备份副本 .