Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Can't inherit abstract function Creator (http://www.mysidiaadoptables.com/forum/showthread.php?t=4021)

Nerymon 02-23-2013 05:01 AM

Can't inherit abstract function Creator
 
Hi :)
at first: my english isn't very good, sorry x.x
I hope you can understand my problem

I installed the mysidia script some minutes ago... I'm so happy that I found this script because I'm not good in php programming ^^"

I've finished the installion and wanted to open my site, but every time I get this message:

Code:

Fatal error: Can't inherit abstract function Creator::create() (previously declared abstract in UserCreator) in /var/www/vhosts/monfreaks.de/httpdocs/ado/classes/abstract/abstract_usercreator.php on line 3
I already checked the abstract_usercreator.php... but I have no idea what's the problem. Maybe anyone can help? :<

thanks in advance!

Hall of Famer 02-23-2013 05:09 AM

What is your PHP version? If it is PHP 5.2, you need to upgrade.

Nerymon 02-23-2013 05:21 AM

thanks for your fast answer... my current PHP Version is 5.3.3.

Hall of Famer 02-23-2013 05:59 AM

I see... Actually you will get this error so long as you aint using PHP 5.3.9 or above. There's a simple way of fixing the error, this support ticket should explain everything clear enough:
http://www.mysidiaadoptables.com/for...php?issueid=19

Note the reason why I asked you whether you were using PHP 5.3 is that the simple fix only works for users running PHP 5.3+. If you have PHP 5.2, you will eventually get into other issues that are difficult to resolve.

Nerymon 02-23-2013 06:32 AM

thanks again :)

I found the class_visitorcreator.php and removed the 'extends UserCreator' part.
But I can't find the class_usercreator.php in my classes folder. there is just a "classes_uservalidator.php".. or did it mean the abstract_usercreator.php?

I also tried the thing with the .htaccess but it changed nothing.

Nerymon 02-23-2013 10:21 AM

Update:
I still not found the class_usercreator.php, but class_membercreator.php
so I tried to remove the "extends UserCreator" part from class_visitorcreator.php and class_membercreator.php

but nothing happens... it seems that I'm doing something wrong :/
I have no idea. the installation worked perfectly :displeased:

Hall of Famer 02-23-2013 03:23 PM

umm I see, weird this usually fixes the problem. Now give a try to remove the 'implements Creator' part in file abstract_usercreator.php.

Nerymon 02-23-2013 04:01 PM

okay, first I tried to remove just the 'implements Creator' part from the abstract_usercreator.php... but nothing happens... so I also removed the 'extends UserCreator' parts from the class_membercreator.php and class_visitorcreator.php again

now I get this message:
Code:

Fatal error: Call to undefined method VisitorCreator::getidentity() in /var/www/vhosts/monfreaks.de/httpdocs/ado/classes/class_visitorcreator.php on line 11
I already checked the class_visitorcreator.php, but I can't see the problem...
but as I said earlier: I'm not really good in php things x.x

Hall of Famer 02-23-2013 04:55 PM

I see, so you need to add the 'extends UserCreator' back to the class_visitorcreator.php.

Nerymon 02-24-2013 03:57 AM

Quote:

Originally Posted by Hall of Famer (Post 26052)
I see, so you need to add the 'extends UserCreator' back to the class_visitorcreator.php.

Okay thanks ^^
but now I have this error message again:
Code:

Fatal error: Can't inherit abstract function Container::display() (previously declared abstract in UserContainer) in /var/www/vhosts/monfreaks.de/httpdocs/ado/classes/abstract/abstract_usercontainer.php on line 3
:littlecfrown:


All times are GMT -5. The time now is 09:33 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.