Page 1 of 1

Error in inventory

Posted: Fri Dec 05, 2014 12:16 pm
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

Re: Error in inventory

Posted: Fri Dec 05, 2014 1:34 pm
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?

Re: Error in inventory

Posted: Fri Dec 05, 2014 3:31 pm
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

Re: Error in inventory

Posted: Fri Dec 05, 2014 4:18 pm
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.