View Full Version : Blank Inventory Page
ilrak
09-22-2014, 09:52 PM
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:
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:
$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
kristhasirah
09-23-2014, 09:28 AM
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.
IntoRain
09-23-2014, 10:20 AM
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?
public function getStats($adopt){
foreach($this->settings->info as $info){
$method = "get".$info;
$stats .= "{$info}: {$adopt->$method()}<br>";
}
return $stats;
}
ilrak
09-23-2014, 08:13 PM
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)!
Hall of Famer
09-23-2014, 08:39 PM
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?
ilrak
09-23-2014, 09:03 PM
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 :/
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.