Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#41
|
||||
|
||||
Well your webhost is running PHP 5.2, right? Are you running a VPS server? If so, ask your server provider to upgrade PHP, thats the best way to resolve the problem.
But anyway, you probably do not need the UserCreator/MemberCreator/VisitorCreator classes if you only need the adoptshop feature.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#42
|
||||
|
||||
But what is the problem?
|
#43
|
||||
|
||||
You mean the 'cannot inherit' error? Well thats what happens with PHP 5.2, its incompatible with Mys v1.3.2. There's a simple fix though, you just have to edit the UserCreator and remove the 'implements Creator' part. But keep in mind that in a long run you have to use PHP 5.3 anyway, Mys v1.4.0 will not support PHP 5.2 at all.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#44
|
||||
|
||||
Well for now, which part exactly do I remove?
|
#45
|
||||
|
||||
Actually I posted a solution before:
http://www.mysidiaadoptables.com/for...38&postcount=5 This will get rid of the Creator method inherit error, but wont fix all incompatibility issue with PHP 5.2. I recommend you not to use all script files from Mys v1.3.2, just choose whatever you need to add the features. Like I told you, you shouldnt even need to touch these Creator type classes if you just want to add the adoptshop. You are overkilling by importing way too many classes from Mys v1.3.2 that does not really help you anything.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#46
|
||||
|
||||
Well I had to keep adding in files. I'm only trying to add in what is needed but I'm not sure what IS needed.
Now I have this :/ Parse error: syntax error, unexpected T_PROTECTED in /home/taleofdr/public_html/classes/abstract/abstract_usercreator.php on line 33 |
#47
|
||||
|
||||
Well post the UserCreator.php file and I will find out the problem for ya. Looks like you did not edit the file correctly, something is missing.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#48
|
||||
|
||||
I fixed it.... getting this. *sigh*
Fatal error: Declaration of Member::login() must be compatible with that of User::login() in /home/taleofdr/public_html/classes/class_member.php on line 3 |
#49
|
||||
|
||||
Well remove this line in classes/abstract/abstract_user.php:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#50
|
||||
|
||||
Done and now:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/taleofdr/public_html/classes/class_input.php on line 120 What on earth? lol |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mysidia Adoptables v1.3.3[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 122 | 05-18-2013 05:02 PM |
Mysidia Adoptables v1.3.0[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 180 | 04-01-2012 11:16 PM |
Mysidia Adoptables v1.2.0[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 21 | 03-22-2011 05:13 PM |
Mysidia Adoptables v1.1.4[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 15 | 01-28-2011 12:48 PM |
Mysidia Adoptables v1.1.3[Security Release] | Hall of Famer | Mysidia Adoptables Official Announcement | 27 | 01-26-2011 03:59 PM |
What's New? |
What's Hot? |
What's Popular? |