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 10-28-2013, 04:53 AM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 5,444
Phoeniix is on a distinguished road
Default stumped. i really need help.

I have been trying to upload thos script for 7 hrs and i am VERY frustrated. i have installed it how Chibi and G (Forgot her/his name) said to do so. But i keep getting a Syntax line everythime i try to preview my site.

http://antillia.co.nf/index.php


Fatal error: Can't inherit abstract function Resource\Collection\Collective::iterator() (previously declared abstract in Resource\Collection\Collection) in /srv/disk9/1540094/www/antillia.co.nf/classes/resource/collection/collection.php on line 23

I am really frustrated as i have been working on this for 7+hrs continuously.
Reply With Quote
  #2  
Old 10-28-2013, 09:57 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: 333,852
Hall of Famer is on a distinguished road
Default

Check the version of your PHP. If it's between PHP 5.3.0 to 5.3.8 I will help you fix 2-3 lines if code to get it to work. If it's PHP 5.2 you will have to upgrade PHP, since the script requires PHP 5.3 or later versions to run.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 10-28-2013, 11:10 PM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 5,444
Phoeniix is on a distinguished road
Default

Sorry, but im kind of illiterate how will i go about checking my php version?
Reply With Quote
  #4  
Old 10-28-2013, 11:15 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: 333,852
Hall of Famer is on a distinguished road
Default

Assuming uare using a webhost with cpanel, the version of PHP should be readily available to u after logging into the control panel. U can always ask ur webhost for this info too by submitting a ticket. If u are fine with writing PHP code, you can always call phpinfo() to check the version of ur PHP.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 10-28-2013, 11:18 PM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 5,444
Phoeniix is on a distinguished road
Default

PHP version 5.3.1
Reply With Quote
  #6  
Old 10-28-2013, 11:25 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: 333,852
Hall of Famer is on a distinguished road
Default

I see, if u are running PHP 5.3.0 - 5.3.8, u may get this abstract method inheritance error. It's very easy to fix, just open the abstract class files and remove the abstract methods. In ur case for instance, open the collection.php class file and get rid of the abstract method called iterator(). I am sure u need to fix more than this, just keep following the instruction above until all abstract methods causing errors are removed.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 10-28-2013, 11:28 PM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 5,444
Phoeniix is on a distinguished road
Default

what do the abstract messages look like? sorry to be a pain but i dont want to ruin it and then have to bombard you with more.
Reply With Quote
  #8  
Old 10-28-2013, 11:37 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: 333,852
Hall of Famer is on a distinguished road
Default

If u open the file collection.php in directory classes/resources/collection/.., u should see a method defined as:

PHP Code:
abstract public function iterator(); 
Remove this line that declares abstract method should fix this error, but u will likely encounter another error similar to this. You will have to keep repeating what you do with collection class file to the other files that contains abstract methods and remove them if necessary.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 10-29-2013, 12:03 AM
Phoeniix Phoeniix is offline
Member
 
Join Date: Oct 2013
Posts: 60
Gender: Male
Credits: 5,444
Phoeniix is on a distinguished road
Default

Fatal error: Can't inherit abstract function Resource\Collection\Collective::size() (previously abstract in Resource\Collection\Collection) in /srv/disk9/1540094/www/antillia.co.nf/classes/resource/collection/collection.php on line 23

i search for other Abstract functions but couldnt find them


edit: Im really frustrated....do you think i could just give you my hosting account and you can take a peek. i'll delete what ive done and start from fresh cause all i did was delete the mehods

Last edited by Phoeniix; 10-29-2013 at 12:08 AM.
Reply With Quote
  #10  
Old 10-29-2013, 12:14 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: 333,852
Hall of Famer is on a distinguished road
Default

The other abstract method should be defined like this:

PHP Code:
abstract public function size(); 
You may want to search for the keyword 'abstract' or 'abstract public function' to locate the lines you need to edit. Don't give it up, I guarantee you that it's very easy to fix.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


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
Stumped Fireballchad Webmasters Area 10 12-02-2009 11:42 AM


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

Currently Active Users: 9699 (0 members and 9699 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