Senin, 26 Agustus 2013

PHP Indonesia - Facebook: [ask] para sesepuh ane mau tanya dunk... saia liat...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Exotic travel ideas.

Searching for your next vacation destination? Subscribe to Off The Beaten Path, a newsletter featuring captivating locales to help you to plan your next trip.
From our sponsors
[ask] para sesepuh ane mau tanya dunk... saia liat...
Aug 26th 2013, 09:56, by Syahrul S Ramadhan

Syahrul S Ramadhan 9:56am Aug 26
[ask]
para sesepuh ane mau tanya dunk...
saia liat di log ada eror ini :
PHP Strict Standards: Declaration of JffnmsProfiles::add() should be compatible with basic::add($filter = NUL$ = NULL) in /opt/jffnms/lib/profiles.class.php on line 62, referer: http://172.30.50.126/jffnms/controls.php?

maksudnya apa ya??
saia cari di google ga nemu, mohon bantuannya mastah

thanks :)

Nofriza Nindiyasari 10:11am Aug 26
coba https://www.google.com/search?q=PHP+Strict+Standards%3A+Declaration+of+JffnmsProfiles%3A%3Aadd()+should+be+compatible+with+basic%3A%3Aadd(%24filter+%3D+NUL%24+%3D+NULL)&rlz=1C1WZPE_enID472ID472&oq=PHP+Strict+Standards%3A+Declaration+of+JffnmsProfiles%3A%3Aadd()+should+be+compatible+with+basic%3A%3Aadd(%24filter+%3D+NUL%24+%3D+NULL)&aqs=chrome.0.69i57j69i64l3&sourceid=chrome&ie=UTF-8#fp=41b7d53413f14c4d&q=Declaration+of+Jffnms+Profiles%3A%3Aadd()+should+be+compatible+with+basic&safe=active

Syahrul S Ramadhan 10:21am Aug 26
wew..
apaan nh???

Abah Sidi 10:22am Aug 26
saya gak ngerti masalahnya...tp hasil googling barusan: http://stackoverflow.com/questions/4017193/php-5-3-declaration-of-should-be-compatible-with-that-of-error

di situ dibilang:
"The error is the result of a child class's method having extra arguments than the same method in the parent class. In particular, it's a _defaultAction() function for a controller class. The extended default actions may very well accept arguments the parent class does not. I could easily use func_get_args() to circumvent the issue, but then the method declaration is entirely devoid of relevant meaning."

artinya argumen antara method di child class dg parent class beda.
misalkan:
parentClass::anu($sesuatu = "banget")
dan
childClass::anu($sesuatu)
bakal menghasilkan error, karena meskipun jml argumentnya sama, tp di parent ada nilai default tp di child nggak.

dari stackoverflow yg lain, saya jg baca kl bisa jd level akses yg berbeda. misalkan yg satu public, yg satu lg private/protected.

singkatnya intip deklarasi method JffnmsProfiles::add() dan bandingkan dengan basic::add()

tebakan: dari pesan error yg dikasi tau TS, masalah karena beda argument.

Syahrul S Ramadhan 10:24am Aug 26
jadi gni masalahnya...
saya install JFFNMS saia pakai php 5.4 ketika sudah selesai hasilnya blank ternyata minta update PHPnya setelah saia update muncul eror itu

Syahrul S Ramadhan 10:25am Aug 26
Abah Sidi ok thanks gan atas infonya :)

Abah Sidi 10:25am Aug 26
hihihhh...hasilnya blank karena di php 5.4 gak keluar pesan error. tp begitu php diupdate, keluar deh pesan errornya.

Syahrul S Ramadhan 10:27am Aug 26
bukan gan klw di php 5.4 dibuka linknya hasilnya blank klw yg 5.5 ga gan. tp hasilnya erorr trs saia liat lognya pesan erornya

Abah Sidi 10:29am Aug 26
yaa gak tau deh, tp mungkin kasusnya sama kalo di php sekian: <?php echo $a; ?> gak error, tp di php 5 muncul warning ada variabel yg belom diinisialisasi

Syahrul S Ramadhan 10:33am Aug 26
ok thanks Abah Sidi udah bantu2 :)

Abah Sidi 10:36am Aug 26
:v :v bantu apaan? orang saya mah cm pengen buktiin ini "saia cari di google ga nemu"

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar