ECSHOP程序登陆网站后台报错提示:此网页有重定向循环的解决方法

找到后台文件:admin/includes/init.php 打开

将以下内容:

if (isset($_SERVER[‘PHP_SELF‘]))
{
   define(‘PHP_SELF‘, $_SERVER[‘PHP_SELF‘]);
}

修改成以下内容:

if (isset($_SERVER[‘PHP_SELF‘]))
{
    define( ‘PHP_SELF‘ , $_SERVER[‘DOCUMENT_URI‘] );
}

后台即可正常登录。

时间: 2024-08-26 00:18:40

ECSHOP程序登陆网站后台报错提示:此网页有重定向循环的解决方法的相关文章

centos6上,git拉代码时候,报错提示不支持低版本ssl的解决方法

[[email protected]_mwdb-20-25 /root ]# git clone https://github.com/pyenv/pyenv.git  报错信息如下2行: error:  while accessing https://github.com/pyenv/pyenv.git/info/refs fatal: HTTP request failed 解决方法: 需要升级下包, yum update nss curl libcurl 即可,然后再近些git clone

keil 通过JTAG下载程序 报错:error: flash download failed - "cortex-m3"的解决方法

硬件环境: nxp lpc1788fbd208核心板 软件环境: keil uvision4 segger j-flash arm v4.50 其他: 芯片选择正确 jtag模式 现象:之前用JFlashARM.exe下载了程序,在没有擦除程序的情况下,JTAG模式下用keil下载程序 报错 error: flash download failed - "cortex-m3" 原因:用jFlashARM.exe下载程序后,没有擦除程序 解决:擦除lpc1788 上的程序,然后在keil

python 编码报错问题 'ascii' codec can't encode characters 解决方法

python在安装时,默认的编码是ascii, 当程序中出现非ascii编码时,python的处理常常会报这样的错 'ascii' codec can't encode characters python没办法处理非ascii编码的, 此时需要自己设置将python的默认编码,一般设置为utf8的编码格式. 查看python的默认编码 print sys.getdefaultencoding() 解决方法一(已通过验证,顺带也解决了我之前字符前一直加u的问题) 在python安装目录下,进入\P

报错:Could not launch 'app name',解决方法

如果你也出現了“Could not launch 'app name'”,No such file or directory (/Users/apple/Library/Developer/Xcode/DerivedData/mytest-ejkagqxooxgmtdfsdoygtyzflibe/Build/Products/Debug-iphoneos/mytest.app/mytest) 这样的讯息的話,有几个处理方法1.刪除DerivedData資料夾法1.1 完全离开Xcode,然后再做

python中引入包的时候报错AttributeError: module 'sys' has no attribute 'setdefaultencoding'解决方法?

python中引入包的时候报错:import unittestimport smtplibimport timeimport osimport sysimp.reload(sys)sys.setdefaultencoding('utf-8') AttributeError: module 'sys' has no attribute 'setdefaultencoding'解决方法: 1.python2中解决方法:reload(sys)sys.setdefaultencoding('utf-8'

Centos6 下启动httpd报错 Could not reliably determine the server's解决方法

在启动httpd的时候报错: 修改/etc/httpd/conf/httpd.conf 配置,去掉ServerName 前的#(或者手动添加ServerName localhost:80)然后重启httpd服务: Centos6 下启动httpd报错 Could not reliably determine the server's解决方法

很爽的一点。用Mysql5.x以上版本出现报错#1929 Incorrect datetime value: '' for column 'createtime' 解决方法

我的mysql安装后,保存删除表数据总是出现#1929 Incorrect datetime value: '' for column 'createtime' 的报错提醒,导致不能删除表里数据: 原因: 5以上的版本如果时期时间是空值应该要写NULL: 官方解释说:得知新版本mysql对空值插入有"bug", 要在安装mysql的时候去除默认勾选的enable strict SQL mode 那么如果我们安装好了mysql怎么办了,解决办法是更改mysql中的配置 my.ini 解决

在WSL中安装swool报错 error: unrecognized command line option '-V' 的解决方法

Windows Subsystem for Linux Ubuntu中使用pecl安装swool时遇到错误"error: C compiler cannot create executables"."error: unrecognized command line option '-V'" 解决方法 先看解决方法, 将gcc版本降低到4.8即可,因为高版本gcc取消了-V参数: sudo apt install gcc-4.8 -y sudo update-alte

支付宝 报错 rsa_private read error : private key is NULL解决方法

原因:  真机调试IOS支付宝功能GDB出现 rsa_private read error : private key is NULL提示 调试iOS 支付宝SDK的时候,运行demo,把Partner(合作商户 ID)Seller(账户 ID)RSA public key(支付宝公钥)RSA private key(商户私钥) 都放到plist文件了,运行的时候,报错 rsa_private read error : private key isNULL 我确定的是RSA private ke