简体   繁体   English

无法访问WordPress管理面板

[英]Can not access wordpress admin panel

I was editing my functions.php and try to register jQuery in wordpress. 我正在编辑我的functions.php,并尝试在WordPress中注册jQuery。 Then I save it and refresh the page and I got this message. 然后,我保存它并刷新页面,然后收到此消息。 I was working online wordpress admin panel. 我正在在线wordpress管理面板上工作。

Parse error: syntax error, unexpected ''jquery)); 解析错误:语法错误,意外的''jquery)); ' (T_ENCAPSED_AND_WHITESPACE), expecting ')' in /home/blogdesh/public_html/kokhon.com/wp-content/themes/alizee/functions.php on line 265 265行/home/blogdesh/public_html/kokhon.com/wp-content/themes/alizee/functions.php中的'(T_ENCAPSED_AND_WHITESPACE),期望为')'

How can I solve this and can get access again to wordpress admin panel. 我该如何解决这个问题,并可以再次访问wordpress管理面板。

Parse error: syntax error, unexpected ''jquery)); 

问题是您在“ jquery”之后忘记了撇号

Download and install "FileZilla client" form here: https://filezilla-project.org/ 在此处下载并安装“ FileZilla客户端”表单: https : //filezilla-project.org/

Then go to file -> Site manager -> new site. 然后转到文件->站点管理器->新站点。 Enter the host, username and password. 输入主机,用户名和密码。 You can get these form your hosting provider ( use logon type normal ). 您可以从托管服务提供商处获得这些文件(使用正常的登录类型)。 then click connect 然后点击连接

In the right panel you will see the server files. 在右侧面板中,您将看到服务器文件。 navigate to: public_html/kokhon.com/wp-content/themes/alizee/ download the functions.php file. 导航至:public_html / kokhon.com / wp-content / themes / alizee /下载functions.php文件。 make the changes and re-upload. 进行更改并重新上传。

notepad++ is a good free text editor, that might help you. notepad ++是一个很好的免费文本编辑器,可能会对您有所帮助。 https://notepad-plus-plus.org/ https://notepad-plus-plus.org/

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

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