#1
|
||||
|
||||
Inventory Error
Just look at this:
Fatal error: Uncaught exception 'ItemException' with message 'The item specified is invalid...' in /home/asaremys/public_html/classes/class_item.php:28 Stack trace: #0 /home/asaremys/public_html/classes/class_privateitem.php(25): Item->__construct('changer') #1 /home/asaremys/public_html/classes/class_inventory.php(45): PrivateItem->__construct('3') #2 /home/asaremys/public_html/view/inventoryview.php(20): Inventory->getitem('3') #3 /home/asaremys/public_html/classes/class_frontcontroller.php(100): InventoryView->index() #4 /home/asaremys/public_html/index.php(74): FrontController->render() #5 /home/asaremys/public_html/index.php(78): IndexController::main() #6 {main} thrown in /home/asaremys/public_html/classes/class_item.php on line 28 Please help, all I see is this error when viewing my inventory. |
#2
|
||||
|
||||
You can go into phpMyAdmin and delete the item from your inventory to get rid of the error.
Did you give yourself an item through the adminCP? I get this error too when I misspell the name of an item. They're case-sensitive too, so "changer" would be different from "Changer".
__________________
|
#3
|
||||
|
||||
It gives me the following error in the admincp when I try to "edit user inventory" and "delete user inventory":
Fatal error: Uncaught exception 'LanguageException' with message 'Language var inventory does not exist.' in /home/asaremys/public_html/classes/class_language.php:68 Stack trace: #0 /home/asaremys/public_html/admincp/view/inventoryview.php(11): Language->__get('inventory') #1 /home/asaremys/public_html/admincp/view/inventoryview.php(127): ACPInventoryView->index() #2 /home/asaremys/public_html/classes/class_frontcontroller.php(100): ACPInventoryView->edit() #3 /home/asaremys/public_html/admincp/index.php(109): FrontController->render() #4 /home/asaremys/public_html/admincp/index.php(113): AdminCP::main() #5 {main} thrown in /home/asaremys/public_html/classes/class_language.php on line 68 |
#4
|
||||
|
||||
Do you have lang_inventory.php in your lang folder?
__________________
|
#6
|
||||
|
||||
That's really strange. Did you make any edits to the inventory or acp code, including the view files?
__________________
|
#7
|
||||
|
||||
I honestly can't remember if I have or not and if I did, what for. //sigh//
I'm probably going try to see if I can fix the issue by replacing the the coding for inventory with original files and see if it fixes itself then. |
#8
|
||||
|
||||
Great. I encountered another error for leveling up a pet.
I went to click on my pet and it gave me: Database error 1054 - Unknown column 'totalclicks' in 'field list' Still need to fix inventory error. Checked out my error log: [25-Nov-2016 20:29:51 UTC] PHP Fatal error: Uncaught exception 'ItemException' with message 'The item specified is invalid...' in /home/asaremys/public_html/classes/class_item.php:28 Stack trace: #0 /home/asaremys/public_html/classes/class_privateitem.php(25): Item->__construct('changer') #1 /home/asaremys/public_html/classes/class_inventory.php(45): PrivateItem->__construct('3') #2 /home/asaremys/public_html/view/inventoryview.php(20): Inventory->getitem('3') #3 /home/asaremys/public_html/classes/class_frontcontroller.php(100): InventoryView->index() #4 /home/asaremys/public_html/index.php(74): FrontController->render() #5 /home/asaremys/public_html/index.php(78): IndexController::main() #6 {main} thrown in /home/asaremys/public_html/classes/class_item.php on line 28 Last edited by Bexasaurus; 11-26-2016 at 02:26 PM. |
#9
|
||||
|
||||
I don't know if I'll be of much help, but the problem seems to be tied to an item on your site called "changer" (or "3", I'm not sure) since it's coming from an invalid item. Do those items exist on the site?
__________________
|
|
|
What's New? |
What's Hot? |
What's Popular? |