无法登录我的 phpmyadmin

发布于 2024-10-08 11:18:19 字数 477 浏览 0 评论 0原文

在 phpmyadmin 文件夹下的 index.php 顶部写入一行代码后,无法登录 phpmyadmin。但现在我已经删除了该行代码。提供凭据后出现以下错误-->

#0  PMA_sendHeaderLocation(http://linux.mydomain.com/phpmyadmin/index.php?token=8515d1390fbb0db27bebe4abd0668791) called at [/opt/lampp/phpmyadmin/libraries/auth/cookie.auth.lib.php:612]

#1  PMA_auth_set_user() called at [/phpmyadmin/libraries/common.inc.php:828]

#2  require_once(/phpmyadmin/libraries/common.inc.php) called at [/phpmyadmin/index.php:35]

请帮我。

Could not able to loggin in phpmyadmin after writing a single line of code at the TOP of index.php under phpmyadmin folder.But now i have deleted that single line of code. It is giving me the following error after providing credential-->

#0  PMA_sendHeaderLocation(http://linux.mydomain.com/phpmyadmin/index.php?token=8515d1390fbb0db27bebe4abd0668791) called at [/opt/lampp/phpmyadmin/libraries/auth/cookie.auth.lib.php:612]

#1  PMA_auth_set_user() called at [/phpmyadmin/libraries/common.inc.php:828]

#2  require_once(/phpmyadmin/libraries/common.inc.php) called at [/phpmyadmin/index.php:35]

Please help me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

二智少女 2024-10-15 11:18:19

如果文件开头的代码中有任何空格,PHP 可能会将这些空格解释为将它们放入浏览器中。这样做会导致 header() 函数出现问题,因为这需要首先输出到浏览器才能正常工作。确保前后没有空格

If you have any spaces in your code at the start of the file, PHP may interpret these to mean put these onto the browser. Doing so causes problems with the header() function as this needs to be the first thing output to the browser for it to work properly. Make sure there are no spaces before or after the

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文