ecmall安装报错

Warning: include(D:\web\ecmall/data/config.inc.php): failed to open stream: No such file or directory in D:\web\ecmall\eccore\ecmall.php on line 1807

Warning: include(): Failed opening 'D:\web\ecmall/data/config.inc.php' for inclusion (include_path='.;D:\xampp\php\PEAR') in D:\web\ecmall\eccore\ecmall.php on line 1807

Notice: Use of undefined constant LANG - assumed 'LANG' in D:\web\ecmall\includes\ecapp.base.php on line 57

Notice: Use of undefined constant ECM_KEY - assumed 'ECM_KEY' in D:\web\ecmall\eccore\controller\message.base.php on line 265

Notice: Use of undefined constant DEBUG_MODE - assumed 'DEBUG_MODE' in D:\web\ecmall\includes\ecapp.base.php on line 162

Notice: Use of undefined constant DEBUG_MODE - assumed 'DEBUG_MODE' in D:\web\ecmall\includes\ecapp.base.php on line 163

Notice: Use of undefined constant DEBUG_MODE - assumed 'DEBUG_MODE' in D:\web\ecmall\includes\ecapp.base.php on line 164

Notice: Use of undefined constant SITE_URL - assumed 'SITE_URL' in D:\web\ecmall\app\frontend.base.php on line 34

Notice: Use of undefined constant SITE_URL - assumed 'SITE_URL' in D:\web\ecmall\app\frontend.base.php on line 425

Notice: Use of undefined constant DB_CONFIG - assumed 'DB_CONFIG' in D:\web\ecmall\eccore\ecmall.php on line 524

Notice: Undefined index: scheme in D:\web\ecmall\eccore\ecmall.php on line 526

Fatal error: Unkown database type. in D:\web\ecmall\eccore\ecmall.php on line 555

1.先运行install目录,因为它不会自动安装。localhost/ecmall/install
2.会看到Deprecated: Assigning the return value of new by reference is deprecated in这个错误,因为php版本太高,ecmall不更新的原因,。
修改方式很简单,找到报错的文件和行号把 报错行的&符号删除就OK了,因为PHP版本升级=&不能用了,改的地方都是把=&改成=,改了有三处吧,版本不同可能不同
3.如何安装测试文件:把 initdata 目录上传到商城安装目录下,
        在浏览器地址栏输入 http://您的网站地址/initdata/index.php,根据提示完成安装
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Christine95/article/details/46800259
文章标签: php ecmall debug
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭