Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mysidia Adoptables Official Announcement (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=2)
-   -   Mysidia Adoptables v1.3.2[Security Release] (http://www.mysidiaadoptables.com/forum/showthread.php?t=3878)

Hall of Famer 12-11-2012 09:17 PM

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.

SilverDragonTears 12-11-2012 09:18 PM

But what is the problem?

Hall of Famer 12-11-2012 09:19 PM

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.

SilverDragonTears 12-11-2012 09:20 PM

Well for now, which part exactly do I remove?

Hall of Famer 12-11-2012 09:32 PM

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.

SilverDragonTears 12-11-2012 09:34 PM

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

Hall of Famer 12-11-2012 09:40 PM

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.

SilverDragonTears 12-11-2012 09:42 PM

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

Hall of Famer 12-11-2012 10:07 PM

Well remove this line in classes/abstract/abstract_user.php:

PHP Code:

  abstract public function login($username); 


SilverDragonTears 12-12-2012 12:09 PM

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


All times are GMT -5. The time now is 10:30 PM.

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