boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

phpAdsNew & b2

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
jjack



Joined: 22 Apr 2004
Posts: 1

PostPosted: Thu Apr 22, 2004 1:35 am    Post subject: phpAdsNew & b2 Reply with quote

I'm trying to use phpAdsNew on my b2 powered site. I'm trying to enter this code into my template:

Code:
<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:2', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>


When I enter it in, it gives me the following error on my page:

Quote:
Your SQL query:
SELECT * FROM b2users WHERE ID = '3'

MySQL said:
Table 'blastrag_phpads.b2users' doesn't exist


What gives?

EDIT: Oh, yeah, you can check out my site at http://www.blastrag.net. You won't be able to see the problem in action, because I'm taking the ad software out of the template so that my viewers don't have to put up with the page being down. However, I'm trying to insert the ad software right below the "click these" graphic.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group