PDA

View Full Version : error on abstract_usercreator.php


Samuel hunter
11-29-2012, 02:36 PM
I get an error when installing Mysidia Adoptables on my site, is here: http://pokemonhunter.xtrweb.com/pokeadoptables/index.php, and I get this: Fatal error: Can not inherit abstract function Creator :: create () (previously declared abstract in UserCreator) in / home/******/public_html/pokeadoptables/classes/abstract/abstract_usercreator.php on line 3
- And install all correct, and change nothing in this versión 1.3.2.

Hall of Famer
11-30-2012, 02:59 AM
Well open the two files class_usercreator.php and class_visitorcreator.php, remove the part 'extends UserCreator' from the very first line of the script. This should do you good for now. Anyway I still dont quite know why I aint ever getting this error, which version of PHP do you have btw?

Anyway if you receive a fatal error, its better to post in the official release thread than bring it up here.

Edit: This appears to be a bug with PHP, not with this script. You will need to upgrade to PHP 5.3.9 or newer version to avoid it.
https://bugs.php.net/bug.php?id=43200

Samuel hunter
11-30-2012, 02:20 PM
Thanks for the help.

cybertrash
12-19-2012, 06:09 PM
If your host offers that version of PHP. You might have to ask them. I use Arvixe.

They told me to simply add "AddHandler application/x-httpd-php53 .php" to the .htaccess file.

All I did was add it to the .htaccess file in my adoptable script directory, and it worked.

Good luck.

Arvixe is a good option. They're cheap and reliable. I really like them, I've been with them for two years now and host all my sites with them. If I ever encounter a problem, they always fix it.