![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 17.03.2017 Ostrzeżenie: (0%) ![]() ![]() |
Przeniosłem stronę na hosting i pokazuje mi błędy.
Strona zrobiona przez firmę zewnętrzną. Zend Framework 1.12.20 Baza Postgressql 9.2 PHP 5.4 Proszę o pomoc lub podpowiedz gdzie szukać. Z góry dziękuję. Błąd aplikacji Application error Exception information: Message: Declaration of Menu_Model_DbTable_Menu::getAll() should be compatible with Extend_Db_Table_Abstract::getAll($params = NULL) Stack trace: #0 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Loader/Autoloader/Resource.php(201): exceptions_error_handler(2048, 'Declaration of ...', '/var/www/vhosts...', 121, Array) #1 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Loader/Autoloader/Resource.php(201): Zend_Loader_Autoloader_Resource::autoload() #2 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Loader/Autoloader.php(120): Zend_Loader_Autoloader_Resource->autoload('Menu_Model_DbTa...') #3 [internal function]: Zend_Loader_Autoloader::autoload('Menu_Model_DbTa...') #4 /var/www/vhosts/zstia.idhosting.pl/zstia1/application/modules/menu/controllers/IndexController.php(13): spl_autoload_call('Menu_Model_DbTa...') #5 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Controller/Action.php(516): Menu_IndexController->showAction() #6 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction') #7 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View/Helper/Action.php(135): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 [internal function]: Zend_View_Helper_Action->action('show', 'index', 'menu', Array) #9 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array) #10 /var/www/vhosts/zstia.idhosting.pl/zstia1/application/layouts/scripts/partial/_header.phtml(6): Zend_View_Abstract->__call('action', Array) #11 /var/www/vhosts/zstia.idhosting.pl/zstia1/application/layouts/scripts/partial/_header.phtml(6): Zend_View->action('show', 'index', 'menu', Array) #12 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View.php(157): include('/var/www/vhosts...') #13 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/vhosts...') #14 /var/www/vhosts/zstia.idhosting.pl/zstia1/application/layouts/scripts/mainpage.phtml(14): Zend_View_Abstract->render('/partial/_heade...') #15 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View.php(157): include('/var/www/vhosts...') #16 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/View/Abstract.php(888): Zend_View->_run('/var/www/vhosts...') #17 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Layout.php(796): Zend_View_Abstract->render('mainpage.phtml') #18 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #19 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #20 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #21 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #22 /var/www/vhosts/zstia.idhosting.pl/zstia1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #23 /var/www/vhosts/zstia.idhosting.pl/zstia1/public/index.php(45): Zend_Application->run() #24 {main} Request Parameters: array(6) { ["lang"]=> string(2) "pl" ["controller"]=> string(5) "index" ["action"]=> string(5) "index" ["module"]=> string(7) "default" ["layoutFullContent"]=> string(1399) " |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 6 378 Pomógł: 1116 Dołączył: 30.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
Masz wszystko opisane. Nie zgadza się deklaracja metody getAll. Nazwa pliku mapuje się na ścieżkę. / zamiast _.
-------------------- |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 16:58 |