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

stAn99

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 85
    • 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.
----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart