简体   繁体   English

在Wordpress上安装customizr主题时发生错误

[英]An error occured while installing customizr theme on wordpress

When I was installing the theme customizr I got this error. 在安装主题customizr时,出现此错误。 Now I am not able to login to my website. 现在,我无法登录我的网站。 Whenever I login it gives following error: 每当我登录时,都会出现以下错误:

URL of my website is www.nileshaswani.webuda.com you can check it out. 我网站的URL是www.nileshaswani.webuda.com,您可以检查一下。

PHP Error Message PHP错误信息

Warning: require_once(/home/a6084419/public_html/wp- 警告: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 content / themes / customizr / inc / init.php)[function.require-once]:无法打开流:/home/a6084419/public_html/wp-content/themes/customizr/functions.php中没有这样的文件或目录46行

Second PHP Error Message: 第二条PHP错误消息:

Fatal error: require_once() [function.require]: Failed opening required 致命错误:require_once()[function.require]:需要打开失败
'/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/inc/init.php'(include_path ='。:/ usr / lib / php:/ usr / local / lib / php')
/home/a6084419/public_html/wp-content/themes/customizr/functions.php on line 46 /home/a6084419/public_html/wp-content/themes/customizr/functions.php,第46行

It seems theme files got corrupted while theme installation. 主题安装时似乎主题文件已损坏。 One approach would be tweaking from database. 一种方法是从数据库进行调整。 Use phpMyadmin from your cpanel. 从您的cpanel使用phpMyadmin。 Find options table. 查找选项表。 Now edit two row in options table. 现在,在选项表中编辑两行。 One is template and another is stylesheet . 一个是template ,另一个是stylesheet Change it to default installed theme. 将其更改为默认安装的主题。 Now you will be able to access admin panel /wp-admin/ . 现在,您将可以访问管理面板/wp-admin/ Now try fresh installing your theme. 现在尝试重新安装主题。

NOTE: While changing database it is recommended to keep a copy of backup. 注意:更改数据库时,建议保留备份副本。

Something went wrong when you installed the theme, the reason depending on how the theme was being installed. 安装主题时出了点问题,原因取决于主题的安装方式。

To back out of a theme install gone awry, access your site via FTP and browse to /wp-content/themes/customizr/. 要退出主题安装时出现问题,请通过FTP访问您的网站并浏览到/ wp-content / themes / customizr /。 Delete the folder. 删除文件夹。

You won't be able to access the front end of your site yet, but you will now be able to access the dashboard. 您现在还不能访问网站的前端,但是现在可以访问仪表板。 Log into your site and change the theme (or reinstall customizr). 登录到您的站点并更改主题(或重新安装customizr)。 Now you'll be able to access your site. 现在,您将可以访问您的网站。

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

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