Author Topic: JFusion and "global $db" causes problems (vm 1.1.x)  (Read 4116 times)


  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 99
    • One Page Checkout for Virtuemart 2
JFusion and "global $db" causes problems (vm 1.1.x)
« 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.
Your customized checkout solution for Virtuemart