Stephen De Chellis
Customer
I have some users that have special characters in their names and when someone tries to gift them an item in the store I get a db error because the special characters are not properly escaped for the db query.
Warning: require_once([path]) [function.require-once]: failed to open stream: Success in [path]/dbtech/vbshop/includes/class_core.php on line 427
Fatal error: require_once() [function.require]: Failed opening required '/home/pokefarm/domains/pokefarm.com/public_html/forum' (include_path='.:/usr/local/lib/php') in /home/pokefarm/domains/pokefarm.com/public_html/forum/dbtech/vbshop/includes/class_core.php on line 427
Fatal error: Class 'VBSHOP_CACHE' not found in /home/pokefarm/domains/pokefarm.com/public_html/forum/dbtech/vbshop/actions/admin/repaircache.php on line 24
Warning: require_once([path]) [function.require-once]: failed to open stream: Success in [path]/dbtech/vbshop/includes/class_core.php on line 427
Fatal error: require_once() [function.require]: Failed opening required '/home/pokefarm/domains/pokefarm.com/public_html/forum' (include_path='.:/usr/local/lib/php') in /home/pokefarm/domains/pokefarm.com/public_html/forum/dbtech/vbshop/includes/class_core.php on line 427
That was going to be my next step.Could you please write down your current item configuration and try uninstalling v1.2.x and reinstalling v2.2.0?
class vBShop_Item_ingameitem extends vBShop_Item_Core
protected function pre_purchase(&$buyer, &$recipient)
...
if($this->config['title']=="in game item name")
{
$this->registry->db->query_write("QUERY");
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.