It seems to me that your server does not have SPL library enabled, or that your server is not running PHP 5.3.x. The SplFileInfo class has a method getExtension which is inherited in Mysidia's file class, this method is only available on servers running PHP 5.3.6 or above.
If your server is running PHP version between 5.3.0 to 5.3.6, I can try to get it to work for you with some minor edits. However, if it is PHP 5.2.x you will have to upgrade your PHP or change hosting service.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|