【大商创使用教程】后台开启了Memcached报错处理
更新时间: 点击量:2381
大商创论坛相关板块:
如果后台不小心开启了Memcached,但服务器没有Memcached,会导致页面直接报这个错误
Notice: Undefined index: cache in /data/wwwroot/includes/lib_base.php on line 1269 Fatal error: Call to a member function get () on a non-object in /data/wwwroot /includex/lib_base.php on line 1269。
但这个时候却没办法进后台去关闭他。
这个时候就需要到数据库中执行一段sql语句:
UPDATE `dsc_shop_config` SET value = 0 WHERE code = 'open_memcached'
执行完成就好了
PS:开启的是Memcached,不要看成Memcache
如果文章对您有帮助,就打赏一个吧