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 03-02-2014, 12:28 PM
Pear's Avatar
Pear Pear is offline
Woah man.
 
Join Date: Dec 2013
Location: The Underworld
Posts: 169
Gender: Female
Credits: 45,609
Pear is on a distinguished road
Default [Unsolved] View Public Trade Offers not working. :s

I have been informed by one of my members that when they go on the public trade offers page, this comes up:
Code:
Fatal error: Uncaught exception 'AdoptNotfoundException' with message 'Adoptable 9 does not exist...' in /home/capifore/public_html/classes/class_adoptable.php:26 Stack trace: #0 /home/capifore/public_html/classes/class_tradehelper.php(299): Adoptable->__construct(9) #1 /home/capifore/public_html/view/tradeview.php(120): TradeHelper->getAdoptList(Object(Resource\Collection\ArrayList)) #2 /home/capifore/public_html/classes/class_frontcontroller.php(100): TradeView->publics() #3 /home/capifore/public_html/index.php(74): FrontController->render() #4 /home/capifore/public_html/index.php(78): IndexController::main() #5 {main} thrown in /home/capifore/public_html/classes/class_adoptable.php on line 26
It is also appearing for me. Is there a way I could fix this? c:

Last edited by Pear; 03-08-2014 at 11:21 AM.
Reply With Quote
  #2  
Old 03-02-2014, 01:42 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,649
Hall of Famer is on a distinguished road
Default

umm was that adoptable deleted in your database?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 03-03-2014, 10:56 AM
Pear's Avatar
Pear Pear is offline
Woah man.
 
Join Date: Dec 2013
Location: The Underworld
Posts: 169
Gender: Female
Credits: 45,609
Pear is on a distinguished road
Default

No, it exists, except I did change it to the alt form. (Also when I edit pets, it comes up with a relatively same message. Is there a way I can edit the pets without this happening?) c:
Reply With Quote
  #4  
Old 03-03-2014, 11:10 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,376
IntoRain is on a distinguished road
Default

From the control panel no, that message appears because something is wrong with that Adoptable 9. If it can't find it, it will throw a fatal error. Go to your database directly to make edits, search for that adoptable and check what's wrong with it. If you deleted an adoptable, maybe there are traces of it still in tables like owned_adoptables, adoptables_conditions, levels, etc
__________________


asp.net stole my soul.

Last edited by IntoRain; 03-03-2014 at 11:15 AM.
Reply With Quote
  #5  
Old 03-03-2014, 01:27 PM
Pear's Avatar
Pear Pear is offline
Woah man.
 
Join Date: Dec 2013
Location: The Underworld
Posts: 169
Gender: Female
Credits: 45,609
Pear is on a distinguished road
Default

The adoptable still exists, I just changed it from normal to the alt version. c:
Reply With Quote
  #6  
Old 03-03-2014, 02:25 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,376
IntoRain is on a distinguished road
Default

The error means it tried to create an adoptable with the ID 9 from the database and it didn't exist. It doesn't mean necessarily you removed it, changing it might have caused it as well (sorry, I don't understand what you meant with changing it to the alt version). The error is thrown in line 26 of class_adoptable.php which has this:

PHP Code:
$whereClause = (is_numeric($adoptinfo))?"id ='{$adoptinfo}'":"type ='{$adoptinfo}'";
 
$row $mysidia->db->select("adoptables", array(), $whereClause)->fetchObject();
[
B]      
 if(!
is_object($row)) throw new AdoptNotfoundException("Adoptable {$adoptinfo} does not exist...");[/B
It's when it recieves an ID and tries to fetch an object from the database.

Can you go to your database, table adoptables, and check what's up with the adoptable with an aid of 9?
__________________


asp.net stole my soul.
Reply With Quote
  #7  
Old 03-03-2014, 06:14 PM
Pear's Avatar
Pear Pear is offline
Woah man.
 
Join Date: Dec 2013
Location: The Underworld
Posts: 169
Gender: Female
Credits: 45,609
Pear is on a distinguished road
Default

I don't quite understand what you are saying. c: I am in my database, but I don't know what you mean by table adoptables? c:
Reply With Quote
  #8  
Old 03-03-2014, 06:53 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,376
IntoRain is on a distinguished road
Default

Sorry. Your database should have various tables, all start with the same prefix you chose when installing, for example adopts_. So a table adoptables would be adopts_adoptables. If you are using phpMyAdmin, after clicking on your database a list of all these tables would appear on the left side (for example http://i.imgur.com/uECJR2s.png - look at the left side, ignore the other stuff I used this image somewhere else)
__________________


asp.net stole my soul.

Last edited by IntoRain; 03-03-2014 at 06:55 PM.
Reply With Quote
  #9  
Old 03-04-2014, 06:23 PM
Pear's Avatar
Pear Pear is offline
Woah man.
 
Join Date: Dec 2013
Location: The Underworld
Posts: 169
Gender: Female
Credits: 45,609
Pear is on a distinguished road
Default

Ah! I found it. Oddly enough, it doesn't exist in the database, but it's still on my site? x) But then again, neither do the other 100+. (Except a random 19 adoptables?)



(Also thank you for helping me! I really appreciate it. c: I'd be completely hopeless without it..haha c:)


So now that I've found adopts_adoptables, what do I do now? c:

Last edited by Pear; 03-07-2014 at 05:33 PM.
Reply With Quote
  #10  
Old 03-09-2014, 08:18 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,376
IntoRain is on a distinguished road
Default

(I'm really sorry, I completely forgot about this thread x.x' )

Do you mean the adoptable with ID of 9 doesn't exist in the table?
__________________


asp.net stole my soul.
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
Make pets' trade status Not For Trade by default tahbikat Questions and Supports 3 12-13-2015 10:21 PM
Public Trade that is not shown? Glow Questions and Supports 3 12-24-2014 07:33 PM
Does Anyone Know How to Create Working Pages In Class and Public HTML Folders? Hwona Questions and Supports 5 07-17-2014 01:49 PM
Simply View Pet Abronsyth Questions and Supports 2 02-06-2013 10:16 AM
trade not working on new version of Mys SilverDragonTears Questions and Supports 17 03-26-2012 10:08 PM


All times are GMT -5. The time now is 07:52 AM.

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