degger Posted June 23, 2012 Share Posted June 23, 2012 Hallo para master... Saya ada error "Fatal error: Call to undefined method Validate::isIpAddress() in C:\xampp\htdocs\shop1482\classes\AdminTab.php on line 457" mohon saran dan pencerahannya, thanks AdminSite.php AdminTab.php Link to comment Share on other sites More sharing options...
prestanesia Posted June 23, 2012 Share Posted June 23, 2012 itu karena di classes\validate.php g ada fungsi isIPAddress. Pake Presta brp ? mungkin sebelumnya telah direplace/modif manual ? Link to comment Share on other sites More sharing options...
degger Posted June 23, 2012 Author Share Posted June 23, 2012 (edited) iya sebelumnya pake presta 1.4.1.0 saya upgrade jadi 1.4.2.8, saya upgrade berdasarkan tutorial disini : http://vimeo.com/22111490 coba saya tambahkan dulu... nantisaya akan melapor.... terimakasih Edited June 23, 2012 by degger (see edit history) Link to comment Share on other sites More sharing options...
prestanesia Posted June 23, 2012 Share Posted June 23, 2012 folder classes udah direplace dengan yang dari 1.4.8.2? Link to comment Share on other sites More sharing options...
degger Posted June 23, 2012 Author Share Posted June 23, 2012 sukses... tapi dari mana kita tahu kode C:\xampp\htdocs\shop1482\classes\AdminTab.php on line 457" ini hubungannya dengan validate.php? (maaf baru belajar coding.... ) prestanesia terimakasih...... Link to comment Share on other sites More sharing options...
prestanesia Posted June 23, 2012 Share Posted June 23, 2012 sukses... tapi dari mana kita tahu kode C:\xampp\htdocs\shop1482\classes\AdminTab.php on line 457" ini hubungannya dengan validate.php? (maaf baru belajar coding.... ) prestanesia terimakasih...... if (!Validate::$function($value)) itu kan pake class Validate. Validate itu static class jadi ga perlu deklarasi lagi, cukup Validate::namafungsi. untuk kasus diatas, fungsi yang dipanggil dinamis. Link to comment Share on other sites More sharing options...
Zaid Posted August 5, 2012 Share Posted August 5, 2012 (edited) Semua class yang di folder /classes dan /override/classes secara otomatis diload oleh /config/autoload.php Edited August 5, 2012 by Zaid (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now