Thread: php 5.2 error
View Single Post
  #2  
Old 12-04-2012, 11:26 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,862
Hall of Famer is on a distinguished road
Default

Well yeah, this script at this point has compatibility issue with PHP 5.2. Some users reported errors with their PHP 5.2 server, I've offered a solution. Get rid of all the interface implementation and replace getTimeStamp by time(), you should be fine for most of the time.

In fact, support for PHP 5.2 will be dropped completely in Mys v1.4.0, which will be using a good amount of Namespace and DateTime. It may be alright to stay with PHP 5.2 for now, but its definitely not recommended in future.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote