jjack
Joined: 22 Apr 2004 Posts: 1
|
Posted: Thu Apr 22, 2004 1:35 am Post subject: phpAdsNew & b2 |
|
|
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. |
|