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 09-22-2014, 09:52 PM
ilrak ilrak is offline
Goldfish Fanatic
 
Join Date: Aug 2014
Location: Utah
Posts: 57
Gender: Female
Credits: 11,543
ilrak is on a distinguished road
Default Blank Inventory Page

So, I finally got the Item Drop and Alchemy mod working (I think), and so I decided to test them both out, but I've run into an issue where the Manage Items page will only display a blank page. I'm not sure what error I made in installation, or if it's related or not.

Any suggestions?

I also just went to my daycare page to find this error instead:

Quote:
Fatal error: Call to undefined method OwnedAdoptable::get Owner() in /home/auratusg/public_html/classes/class_daycare.php on line 76
Line 76 looks like this:
Quote:
$stats .= "{$info}: {$adopt->$method()}<br>";


Alright, second issue was fixed by not having the daycare show owners in ACP, but I still am having issues with the Inventory page

Last edited by ilrak; 09-22-2014 at 10:45 PM.
Reply With Quote
  #2  
Old 09-23-2014, 09:28 AM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,047
kristhasirah
Default

don't know if you manage to fix the blank items page, but for me i run in to a similar situation, and the problem was that i dint add a "}" at the end of the inventory.php or in inventoryview.php, dont remember which one was, but im pretty sure is because of a missing "}"

sorry for my english, is not mu native language so there are words i forget how to write them.
__________________
Reply With Quote
  #3  
Old 09-23-2014, 10:20 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,258
IntoRain is on a distinguished road
Default

Blank page is a syntax error somewhere, it's best to post the code of the page giving problems.


"Call to undefined method OwnedAdoptable::get Owner()"

Well, there's a space there, it should be getOwner() not get Owner(). There's probably a typo somewhere. Did you change anything in levelupview or class_daycare? Is your getStats() function like this one?

PHP Code:
public function getStats($adopt){
        foreach(
$this->settings->info as $info){
            
$method "get".$info;
            
$stats .= "{$info}{$adopt->$method()}<br>";
        }
        return 
$stats;
    } 
__________________


asp.net stole my soul.
Reply With Quote
  #4  
Old 09-23-2014, 08:13 PM
ilrak ilrak is offline
Goldfish Fanatic
 
Join Date: Aug 2014
Location: Utah
Posts: 57
Gender: Female
Credits: 11,543
ilrak is on a distinguished road
Default

Thank you! I went through and reinstalled the script, keeping an eye out for any typos and it worked!

Now to figure my ACP error (posted on it on another thread) and then I'm golden (so to speak)!
Reply With Quote
  #5  
Old 09-23-2014, 08:39 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: 327,493
Hall of Famer is on a distinguished road
Default

umm what I wonder is why you get this typo/syntax error. I've never seen this with other users, nor do I encounter it myself. You sure you never edited the script in any way before?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #6  
Old 09-23-2014, 09:03 PM
ilrak ilrak is offline
Goldfish Fanatic
 
Join Date: Aug 2014
Location: Utah
Posts: 57
Gender: Female
Credits: 11,543
ilrak is on a distinguished road
Default

I'm not sure. All I've been doing is copying and pasting, but maybe I hit enter too much or what. I'm not sure :/
Reply With Quote
Reply

Thread Tools
Display Modes

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
Blank page with x10Hosting bisexuowl Questions and Supports 0 09-22-2015 09:42 PM
Blank profile page? gloryKAT Questions and Supports 3 02-08-2015 04:53 PM
No errors, just a blank page? FounderSim Questions and Supports 5 10-04-2014 04:15 PM
Blank Page Samuel hunter Questions and Supports 8 01-01-2013 04:08 PM
Blank page LilPixie Questions and Supports 2 02-20-2009 09:59 PM


All times are GMT -5. The time now is 02:00 PM.

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