Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2013, 05:01 AM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Question 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!
Reply With Quote
  #2  
Old 02-23-2013, 05:09 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: 338,973
Hall of Famer is on a distinguished road
Default

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


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 02-23-2013, 05:21 AM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Default

thanks for your fast answer... my current PHP Version is 5.3.3.
Reply With Quote
  #4  
Old 02-23-2013, 05:59 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: 338,973
Hall of Famer is on a distinguished road
Default

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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 02-23-2013, 06:32 AM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Default

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.
Reply With Quote
  #6  
Old 02-23-2013, 10:21 AM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Default

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
Reply With Quote
  #7  
Old 02-23-2013, 03:23 PM
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: 338,973
Hall of Famer is on a distinguished road
Default

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


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #8  
Old 02-23-2013, 04:01 PM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Default

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
Reply With Quote
  #9  
Old 02-23-2013, 04:55 PM
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: 338,973
Hall of Famer is on a distinguished road
Default

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


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #10  
Old 02-24-2013, 03:57 AM
Nerymon Nerymon is offline
Member
 
Join Date: Feb 2013
Posts: 7
Gender: Female
Credits: 1,865
Nerymon is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
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
Reply With Quote
Reply

Tags
abstract function error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a item function kristhasirah Questions and Supports 35 04-03-2017 10:17 AM
Calling a function in a function from the same class page Hwona Questions and Supports 2 04-25-2015 08:41 AM
Removing of prefix "class", "abstract", "interface" Suggestions FounderSim Suggestions and Feature Requests 3 10-05-2014 05:35 PM
Item Function Is Invalid Hwona Questions and Supports 31 09-27-2014 09:27 PM
Help in PHP function lovejenete Other Chat 3 12-06-2009 08:46 AM


All times are GMT -5. The time now is 09:05 AM.

Currently Active Users: 9642 (0 members and 9642 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636