查看服务器错误日志:Call to a member function Execute() on a non-object in /usr/local/www/data/store/includes/functions/sessions.php on line 61
主要问题是:php版本的问题,无发写入session,
办法一:将session写入方法由db修改为 文件类型,define('STORE_SESSIONS', '');
具体文件为:admin/includes/configure.php 和/includes/configure.php
方法二:
function _sess_write($key, $val) {
global $db;
global $SESS_LIFE;
变成
function _sess_write($key, $val) {
// The following is only to work around a PHP 5.2.0 bug:
global $db;
if (!is_object($db)) {
//PHP 5.2.0 bug workaround ...
$db = new queryFactory();
$db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
global $SESS_LIFE;