能帮忙看下这个错误吗?
Application error
------
Message: Zend_Session::start() - /Users/www/php/we311/system/core/autoload.php(Line:74): Error #8 Undefined variable: class_file_location
------
Build: 3.1.1 20150315
PHP Version: 5.3.29
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
------
exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /Users/chenlie/www/php/we311/system/core/autoload.php(Line:74): Error #8 Undefined variable: class_file_location' in /Users/chenlie/www/php/we311/system/Zend/Session.php:495
Stack trace:
#0 /Users/chenlie/www/php/we311/system/aws_app.inc.php(146): Zend_Session::start()
#1 /Users/chenlie/www/php/we311/system/aws_app.inc.php(55): AWS_APP::init()
#2 /Users/chenlie/www/php/we311/index.php(23): AWS_APP::run()
#3 {main}
程序控制器中增加这段代码:
if (!isset(AWS_APP::session()->cart)) {
AWS_APP::session()->cart = cart_class::get_ins();
}
return AWS_APP::session()->cart;
阅读全文
收起全文