TinyPortal

Development => Support => Topic started by: rngrdanny22 on April 09, 2010, 05:29:55 AM

Title: AdBrite Issue
Post by: rngrdanny22 on April 09, 2010, 05:29:55 AM
Hello,

Ran into my first issue with Tinyportal a little while ago and was hoping you all could help.

I'm trying to install my AdBrite ad code into the HTML block and am having a tough go of it. I got my Adsense codes to work properly, but this one is kicking my butt.

I keep pasting the code in (the same way I did with Adsense) and I keep getting the following error when pressing the "save" button:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BDA436';
var AdBrite_Text_Color = '999999';
var AdBrite_Background_Color = '18' at line 1
File: /xxxx/xxxxxxx/x/x/x/xxxxxxxxxxx/xxxx/Sources/TPortalAdmin.php
Line: 2362

I look forward to hearing from you with a solution!

Thanks!

P.S. Great software!  O0

Title: Re: AdBrite Issue
Post by: rngrdanny22 on April 09, 2010, 05:51:49 AM
I figured out a temporary work around using the "Global Headers and Footers" mod. I would still like to have a possible solution for TinyPortal though.

Thank you!
Title: Re: AdBrite Issue
Post by: IchBin on April 09, 2010, 05:56:40 AM
This is a problem with the way that TP is saving the code. Bloc has fixed this error for the next beta that I think is coming very soon.
Title: Re: AdBrite Issue
Post by: rngrdanny22 on April 09, 2010, 06:50:06 AM
Awesome! I cant wait for the next release!

I'll just keep using the Global Header and Footer for now.

Thanks for the update!