Error in inventory

General Chat, Comments
Post Reply
jharnisch
Posts: 2
Joined: Fri Dec 05, 2014 12:10 pm

Error in inventory

Post by jharnisch »

Hello,

I get the following error when I click on the inventory link.

Error: Undefined property: stdClass::$name
Error in /home/wildwest/public_html/modules/inventory/content.php
Line 139
Error in /home/wildwest/public_html/libs/common.php
Line 554
Error in /home/wildwest/public_html/index.php
Line 328

I haven't changed any code so I'm not sure why I'm getting this. Any help would be appreciated.

thanks,
Jeff
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: Error in inventory

Post by a_bertrand »

Did you added or removes some objects from the DB? Or did you changed the db?
The line here means there is no "name" property to the object... which is odd. Maybe an item in the DB is missing a name?
Creator of Dot World Maker
Mad programmer and annoying composer
jharnisch
Posts: 2
Joined: Fri Dec 05, 2014 12:10 pm

Re: Error in inventory

Post by jharnisch »

I just reinstalled the game but i am trying to add modules through the module manager but i get errors:

Error: file_exists(): open_basedir restriction in effect. File(/home/wildwest/public_html/modules/config.xml/module.lock) is not within the allowed path(s): (/home/wildwest:/usr/lib/php:/usr/local/lib/php:/tmp)
Error in /home/wildwest/public_html/modules/admin_module_manager/content.php
Line 408
Error in /home/wildwest/public_html/modules/admin_module_manager/content.php
Line 408
Error in /home/wildwest/public_html/libs/common.php
Line 554
Error in /home/wildwest/public_html/index.php
Line 328
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: Error in inventory

Post by a_bertrand »

Well here you have an issue with your host I would say as it prevents PHP to write files where it should.
Creator of Dot World Maker
Mad programmer and annoying composer
Post Reply

Return to “General”