2009年7月24日星期五

Re: [fw-mvc] ZF 1.9b1 Session Error

-- Marcel Alburg <m.alburg@weeaar.com> wrote
(on Friday, 24 July 2009, 04:19 PM +0200):
> i updated to ZF 1.9 beta1 and get error at the session start.
>
> protected function _fileGetContents($file)
> {
> $result = false;
> if (!is_file($file)) {
> return false;
> }
> $f = @fopen($file, 'rb');
> if ($f) {
> if ($this->_options['file_locking']) @flock($f, LOCK_SH);
> $result = stream_get_contents($f);
> if ($this->_options['file_locking']) @flock($f, LOCK_UN);
> @fclose($f);
> }
> if (function_exists('set_magic_quotes_runtime')) {
> @set_magic_quotes_runtime($mqr);
> }
> return $result;
> }
>
>
> Zend_Session_Exception' with message 'Zend_Session::start() - /var/www/
> beatboat/trunk/library/ZendFramework-1.9.0b1/library/Zend/Cache/
> Backend/File.php(Line:958): Error #8 Undefined variable: mqr Array' in
> /var/www/beatboat/trunk/library/ZendFramework-1.9.0b1/library/Zend/
> Session.php:492

This was reported on the tracker this morning, and has been corrected in
trunk and the 1.9 release branch.

--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: