VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: stAn99 on May 30, 2011, 17:18:50 PM

Title: JFusion and "global $db" causes problems (vm 1.1.x)
Post by: stAn99 on May 30, 2011, 17:18:50 PM
When using bridges such JFusion with vBulleting, using global $db; for database initialization causes to use the $db object of previous instance which can be a completely different database.

This is most obvious in ps_cart::saveCart as this is called at the end stage of checkout, which might use external $db object for registration/login handling.