Loading...
 
Development

Development


PHP Fatal error in captcha code after moving db to a fresh 6.1 install

posts: 9

PHP Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'session has already been started by session.auto-start or session_start()' in lib\core\Zend\Session.php:462
Stack trace:

  1. 0 lib\core\Zend\Session\Namespace.php(143): Zend_Session::start(true)
  2. 1 lib\core\Zend\Captcha\Word.php(245): Zend_Session_Namespace->__construct('Zend_Form_Captc...')
  3. 2 lib\core\Zend\Captcha\Word.php(289): Zend_Captcha_Word->getSession()
  4. 3 lib\core\Zend\Captcha\Word.php(334): Zend_Captcha_Word->_setWord('h3p9b6')
  5. 4 lib\core\Zend\Captcha\Image.php(422): Zend_Captcha_Word->generate()
  6. 5 lib\captcha\captchalib.php(82): Zend_Captcha_Image->generate()
  7. 6 templates_c\en...C6EF0FD6%%antibot.tpl.php(28): Captcha->generate()
  8. 7 lib\smarty\libs\Smarty.class.php(1263): include('... in lib\core\Zend\Session.php on line 462


Any idea or fixes to integrate?

posts: 9

I cannot reproduce this crash anymore. Instead I get an almost completely blank page now. When I turn off the captcha, it works fine. This is the page source I got:



tr
td
/td
td id="captcha"


(begin/end tag markers are removed)

Does this ring a bell to anyone?