Witajcie przeniosłem pliki strony oraz baze danych do nowego hostingodawcy klasyczny standard (przekopiowanie danych przez ftp, stworzenie i import danych, zmiana danych do łączenia z bazą).. jednak napotkałem poniższy problem i nie bardzo wiem o co chodzi... coś z tabelą czy coś ze smarty?

  1. Illegal index 0, plik: /home/users/gdziestam/public_html/cos/tam/library/Zend/Db/Table/Rowset/Abstract.php:343


zawartość Abstract.php

  1. /**
  2.   * Get the row for the given offset
  3.   * Required by the ArrayAccess implementation
  4.   *
  5.   * @param string $offset
  6.   * @return Zend_Db_Table_Row_Abstract
  7.   */
  8. public function offsetGet($offset)
  9. {
  10. $offset = (int) $offset;
  11. if ($offset < 0 || $offset >= $this->_count) {
  12. require_once 'Zend/Db/Table/Rowset/Exception.php';
  13. throw new Zend_Db_Table_Rowset_Exception("Illegal index $offset");
  14. }
  15. $this->_pointer = $offset;
  16.  
  17. return $this->current();
  18. }


stos wywołań:

  1. #0 /home/users/gdziestam/public_html/cos/tam/application/views/smarty_compiles/%%E6^E68^E68BFF3F%%layout.tpl.php(133): Zend_Db_Table_Rowset_Abstract->offsetGet(0)
  2. #1 /home/users/gdziestam/public_html/cos/tam/library/Smarty/Smarty.class.php(1263): include('/home/users/mag...')
  3. #2 /home/users/gdziestam/public_html/cos/tam/library/Smarty/View.php(260): Smarty->fetch('public/layout.t...')
  4. #3 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Smarty_View->render('public/layout.t...')
  5. #4 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('public/layout.t...', NULL)
  6. #5 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render()
  7. #6 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
  8. #7 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
  9. #8 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
  10. #9 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
  11. #10 /home/users/gdziestam/public_html/cos/tam/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
  12. #11 /home/users/gdziestam/public_html/cos/tam/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
  13. #12 /home/users/gdziestam/public_html/cos/tam/index.php(89): Zend_Application->run()