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?
Illegal index 0, plik: /home/users/gdziestam/public_html/cos/tam/library/Zend/Db/Table/Rowset/Abstract.php:343
zawartość Abstract.php
/**
* Get the row for the given offset
* Required by the ArrayAccess implementation
*
* @param string $offset
* @return Zend_Db_Table_Row_Abstract
*/
public function offsetGet($offset)
{
$offset = (int) $offset;
if ($offset < 0 || $offset >= $this->_count) {
require_once 'Zend/Db/Table/Rowset/Exception.php';
throw new Zend_Db_Table_Rowset_Exception("Illegal index $offset");
}
$this->_pointer = $offset;
return $this->current();
}
stos wywołań:
#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)
#1 /home/users/gdziestam/public_html/cos/tam/library/Smarty/Smarty.class.php(1263): include('/home/users/mag...')
#2 /home/users/gdziestam/public_html/cos/tam/library/Smarty/View.php(260): Smarty->fetch('public/layout.t...')
#3 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Smarty_View->render('public/layout.t...')
#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)
#5 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render()
#6 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#7 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#8 /home/users/gdziestam/public_html/cos/tam/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#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))
#10 /home/users/gdziestam/public_html/cos/tam/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /home/users/gdziestam/public_html/cos/tam/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /home/users/gdziestam/public_html/cos/tam/index.php(89): Zend_Application->run()