PHP Ölümcül hata: tanımsız yöntemi mosMenu :: mosDBTable Çağrı ()

0 Cevap php

Ben 000webhost ile barındırılan bir Mambo CMS web sitesi var. Site Mambo 4.6.2 tarafından desteklenmektedir. ve PHP Version 5.2.13 000webhost web sunucusuna yüklenir. Web sitesi iyi çalışır.

Ben geçen sitede çalıştı beri Ubuntu 10.04 benim geliştirme makine OS upgrade ettik ve site artık çalışır. Bu makine PHP Version 5.3.2-1ubuntu4.2 yüklüdür.

Ben 'PHP Ölümcül hata: tanımsız yöntemi mosMenu Çağrı :: mosDBTable ()' google'da bu götürdü, thread on the Mambo Forums.

error_reporting = E_ALL | ~E_STRICT ve zend.ze1_compatibility_mode true: Yukarıdaki konu php.ini içindeki şu ayarları kullanarak önerir. Bunu denedim, 17 ek hatalar üretti ki:

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

Aynı kodu (PHP 5 yüklü) 000webhost sunucu üzerinde hatasız çalışır. Ben bilmek istiyorum, ne o kodu kendisini düzenleme olmadan önerilmiyor kod çalıştırmak için PHP 5/Apache 2 yapılandırmak mümkün mü?

Thanks,
Mike

0 Cevap