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 11-21-2015, 12:20 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 113,108
Abronsyth is on a distinguished road
Default Issue with Myadopts Page

EDIT- see my latest post

Alright, as a note I have the following mods installed:
Quote:
News System (c) Into Rain @ Mysidiaadoptables.com
Shop layout, inventory layout, pet birthday mod, switch gender item mod (c) Kyttias @ Mysidiaadoptables.com
With all of these mods installed I had no issue adopting my first 4 pets, all of which are the same species. I then just added a new species and this error presents itself after I added it:
Code:
Fatal error: Call to a member function setFlags() on a non-object in /home/catisserie/public_html/classes/class_appcontroller.php on line 192
Now when trying to access my /myadopts page:
Code:
Fatal error: Uncaught exception 'AdoptNotfoundException' with message 'Adoptable does not exist...' in /home/catisserie/public_html/classes/class_adoptable.php:26 Stack trace: #0 /home/catisserie/public_html/classes/class_ownedadoptable.php(28): Adoptable->__construct(NULL) #1 /home/catisserie/public_html/view/myadoptsview.php(26): OwnedAdoptable->__construct('5') #2 /home/catisserie/public_html/classes/class_frontcontroller.php(100): MyadoptsView->index() #3 /home/catisserie/public_html/index.php(74): FrontController->render() #4 /home/catisserie/public_html/index.php(78): IndexController::main() #5 {main} thrown in /home/catisserie/public_html/classes/class_adoptable.php on line 26
Now what's off is my owned_adoptables table...for some reason it put the species ID in as NULL? I'm not sure what messed it up...but manually fixing it worked. What should the default be for type?


EDIT:
Edit 1-- I tested it after altering and the same error happened again. This wasn't happening before even with the know-gender-before mod added. I'm very confused. It seems to be failing to automatically input the adoptable type where it belongs?

Edit 2-- The most recent mod is the item-drop mod. I'll try removing the changes I added for that, see if that's the issue.

Edit 3-- Okay, I removed all edits done with the drop item mod and it's still not working properly. I'm very much lost. It was working perfectly before this. No idea why it's automatically screwing up the adoptable type and shifting type over to where name should be.

Edit 4-- The issue occurs with both types of pets now that exist, not just the newer one.

Edit 5-- I removed Kyttias' "know gender before naming" mod and I'm getting the same error.

Screenshot of Table
Screenshot of Structure
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 11-21-2015 at 03:06 PM.
Reply With Quote
  #2  
Old 11-21-2015, 06:42 AM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 11,027
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

That's really strange. it looks like the data is being placed into the table at an offset or there's a piece of data missing when it tries to push it into the table. Are you sure you didn't accidentally remove a curly brace { or } while adding in some of those mods? (I'm assuming that almost all of them were manual installs.) I've made this mistake lots of times when I was editing my site.

I can't say for certain what it is, but you may want to go through the files that you had to edit and make sure that all of the functions and if statements that you had to edit/change are closed with their appropriate braces.

This is very easy to do either in CPanel file manager or Notepad++ on your computer. It shows you which braces are paired together.
Reply With Quote
  #3  
Old 11-21-2015, 03:05 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 113,108
Abronsyth is on a distinguished road
Default

Okay, I removed all but the news and shop/item mods, and replaced all of the other files with fresh, untouched versions and it is now working. As far as I can tell from trial and error it had to do with the "Display Pet Birthday/Original Owner" mod, which would make sense as that adds extra rows to the ownedadoptables table, which is where the error was occurring. It's not one of the major mods I want added anyways, so now I'll start re-adding the other mods and hope it all works!
__________________
My Mods Site (1.3.4, 2020 Mods)
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
Login Issue Yuki Night Questions and Supports 14 06-02-2013 02:35 PM
Insert Issue SilverDragonTears Questions and Supports 4 02-12-2013 06:38 AM
Another CSS Issue Abronsyth Questions and Supports 4 12-12-2012 05:06 PM
Adopt pages, and general adopt/index page :L blondbananamix Questions and Supports 26 07-22-2011 12:12 PM
Ads Issue Tequila Questions and Supports 12 04-05-2009 10:10 AM


All times are GMT -5. The time now is 01:51 PM.

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