PDA

View Full Version : Error Once installed.


blondbananamix
03-01-2013, 08:36 AM
I tried to install the MAS and followed the tutorials on this site to the dot. However, once I click 'view my site' after the installation is complete, I get this error:

Fatal error: Can't inherit abstract function Creator::create() (previously declared abstract in UserCreator) in /home/a7622990/public_html/classes/abstract/abstract_usercreator.php on line 3


Anyone know what I should do? I tried wiping the site clean and re-installing it, but still the same problem.
I'm using 000webhost to host the site.

Hall of Famer
03-01-2013, 10:02 AM
Well what version of PHP are you using? If you are running PHP 5.3, you can fix this by simple means. Just go to the two script files abstract_usercreator.php and abstract_usercontainer.php and remove the part 'implements xyz'. If it is PHP 5.2 however, you will just have to upgrade PHP.

blondbananamix
03-02-2013, 04:44 AM
It's version 5.2, I'm not sure how to change it on 000webhost, so I might just move to 10x hosting. Thanks for your time and help though.

Hall of Famer
03-02-2013, 04:13 PM
I see, thats too bad, but I do believe many webhosts provide an option to switch between PHP 5.2 and 5.3. You can ask 000webhost is this is possible, it seems that they allow users to use PHP 5.3. If not, you will have to switch webhost. I can help members fix most of the server environment issues by altering the code, but PHP 5.2 compatibility is too much.