000webhost와 함께 호스팅되는 맘보 CMS 웹 사이트가 있습니다. 이 사이트는 Mambo 4.6.2에 의해 구동됩니다. PHP 버전 5.2.13이 000webhost 웹 서버에 설치되어 있습니다. 웹 사이트가 잘 돌아갑니다.PHP 치명적 오류 : 정의되지 않은 메서드 호출 mosMenu :: mosDBTable()
사이트에서 마지막으로 작업 한 이후 개발 컴퓨터의 OS를 Ubuntu 10.04로 업그레이드했으며 사이트가 더 이상 작동하지 않습니다. 이 컴퓨터에는 PHP 버전 5.3.2-1ubuntu4.2이 설치되어 있습니다.
내가 인터넷 검색 : PHP 치명적 오류 : 정의되지 않은 메소드 mosMenu :: mosDBTable()을 호출하면이 코드가 thread on the Mambo Forums이되었습니다.
위의 스레드는 php.ini의 다음 설정을 사용하는 것이 좋습니다. error_reporting = E_ALL | ~E_STRICT
및 zend.ze1_compatibility_mode true
.
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/index.php on line 170
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/index.php on line 270
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/index.php on line 323
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/index.php on line 328
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/database.php on line 777
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 407
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 426
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 533
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 1148
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 1676
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2615
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2621
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2627
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2633
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2639
PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2668
PHP Deprecated: Function ereg_replace() is deprecated in /home/mike/Public/mambo/includes/core.classes.php on line 2978
PHP Fatal error: Call to undefined method mosMenu::mosDBTable() in /home/mike/Public/mambo/includes/core.classes.php on line 897
동일한 코드는 (또한 PHP 5가 설치되어 있음) 000webhost 서버 오류없이 실행 : 나는 17 추가 오류를 생산하는이를 시도했다. 내가 알고 싶은 것은, PHP 5/Apache 2가 코드 자체를 수정하지 않고 비난 된 코드를 실행하도록 구성 할 수 있습니까?
감사합니다,
마이크
또한 : – Sarfraz