Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Shop Appearing As Fatal Error (http://www.mysidiaadoptables.com/forum/showthread.php?t=4260)

Hwona 09-09-2013 07:19 AM

Shop Appearing As Fatal Error
 
Hello everyone! I have a bit of a problem again...
When I view one of the shops, this pops up:
Fatal error: Call to a member function display() on a non-object in /home/wallie12/public_html/shop.php on line 46

I haven't had this issue with any of the other shops. All the adoptable tables for the only adopt in the shop seemed to be fine, as well as the shop tables...

Hall of Famer 09-09-2013 07:39 AM

Seems that the shoplist fails to create instance of shop object for you. Check your shoptype for this particular shop, and see if its either 'itemshop' or 'adoptshop'. If not, change the shoptype.

Hwona 09-09-2013 07:57 AM

Funny... it says it's adoptshop. O.o
I just had another shop do the same exact thing, but I realized that I mispelled the shop name in the link and fixed it. This shop seems to be a bit different though...

IntoRain 09-09-2013 11:14 AM

The problem is when creating a shoplist which doesn't take any shop, it just checks for whatever shops you have (adoptshop or itemshop) and makes a list with them. But my files are pretty modified, what link are you talking about? x.x

Hwona 09-09-2013 04:34 PM

Um, here's the link and table:
Link:
http://caterpillarcave.x10.mx/shop/b...rpillar%20Shop

Table:
caterpillar
The Holiday/Event Caterpillar Shop
adoptshop
Buy special holiday and event caterpillars here.
http://caterpillarcave.x10.mx/picuploads/png/21f20...
invisible
0

IntoRain 09-09-2013 04:40 PM

I believe it's because of the name too. The Holiday/Event Caterpillar Shop might not be a valid name for a link because it assumes the thing before / is a page, which is not

Hwona 09-09-2013 06:03 PM

Ah! Thanks everyone! It seems to be working now - I just changed the shop name to what it originally was. :3


All times are GMT -5. The time now is 10:12 AM.

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