View Single Post
  #9 (permalink)  
Old 07-07-2008, 05:23 AM
arlen_coupland arlen_coupland is offline
New Pligger
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

When you are using a "Local Mode" ad tag from OpenX, you are basically placing PHP code into your website software, like Pligg. Placing PHP code within another software can have unkown side-effects as you have to be careful where and how you place such code.

In this case, the OpenX code is connecting to your OpenX database to know what banner to display. After the code, Pligg is connecting to its own database again. However, OpenX and Pligg seem to be using the same variable/object name to store the database connection information, so after OpenX connects and displays the banner you must reset the Pligg database connection by telling it what database name and user to use.

Hope this helps,
Arlen Coupland
OpenX
Reply With Quote