MyBB Hacks

Full Version: Cannot find self class!!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When we call a static function we use self:: instead of $this to call the function. But I get an error that the class self is not found when I uploaded my script on my host. But it works perfectly on localhost.

Host is running redhat php 5.2.12

localhost running windows php5.3
I also tested it on ubuntu php5.3, and it works fine.

any idea anyone why this is happening?
Is it that php 5.2.12 does not support self:: or something?
I'm pretty sure self:: is supported on any PHP 5.x
ok, it is suddenly working..
thanks..

how to delete old php session files?
Never done it before.  Search?
I did but could not find anything except changing session.gc_maxlifetime.
But i am not sure if it is working in my script..
Reference URL's