Not sure if others have seen this. When inserting into an html block the following occurs:
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6307:the-bachelorette-dressed-to-wed&catid=170:the-bachelorette-ali-fedotowsky&Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED</a></p>
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6308:jamie-olivers-food-revolution-ambassadors-of-change&catid=179:jamie-olivers-food-revolution&Itemid=161" target="_blank">Jamie Oliver's Food Revolution: Ambassadors of Change</a>
</p>
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 's Food Revolution: Ambassadors of Change
' WHERE id = 27' at line 1
File: /home/tvgrapev/public_html/smf/Sources/TPortalAdmin.php
Line: 2362
It's funny.
Your using HTML and BBC code, but receiving a php error.
:D
Can you post what your trying to paste into an HTML article? So I can debug & test?
below is what was pasted into the html box in code mode. Then I exited code mode, it looked good so I clicked save and the error above happened.
Quote<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6307:the-bachelorette-dressed-to-wed&catid=170:the-bachelorette-ali-fedotowsky&Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED[/url]</p>
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6308:jamie-olivers-food-revolution-ambassadors-of-change&catid=179:jamie-olivers-food-revolution&Itemid=161" target="_blank">Jamie Oliver's Food Revolution: Ambassadors of Change[/url]
</p>
Quote from: swampy on April 04, 2010, 05:25:22 AM
below is what was pasted into the html box in code mode. Then I exited code mode, it looked good so I clicked save and the error above happened.
Quote<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6307:the-bachelorette-dressed-to-wed&catid=170:the-bachelorette-ali-fedotowsky&Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED[/url]</p>
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6308:jamie-olivers-food-revolution-ambassadors-of-change&catid=179:jamie-olivers-food-revolution&Itemid=161" target="_blank">Jamie Oliver's Food Revolution: Ambassadors of Change[/url]
</p>
That code isn't right though.
Try This:
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6307:the-bachelorette-dressed-to-wed&catid=170:the-bachelorette-ali-fedotowsky&Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED</a></p>
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6308:jamie-olivers-food-revolution-ambassadors-of-change&catid=179:jamie-olivers-food-revolution&Itemid=161" target="_blank">Jamie Oliver's Food Revolution: Ambassadors of Change</a>
</p>You can't mix HTML with BBC closing tags.
that code produces this error
Quote<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6307:the-bachelorette-dressed-to-wed&catid=170:the-bachelorette-ali-fedotowsky&Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED</a></p>
<p><a href="http://www.tvgrapevine.com/index.php?option=com_content&view=article&id=6308:jamie-olivers-food-revolution-ambassadors-of-change&catid=179:jamie-olivers-food-revolution&Itemid=161" target="_blank">Jamie Oliver's Food Revolution: Ambassadors of Change</a>
</p>
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 's Food Revolution: Ambassadors of Change
' WHERE id = 27' at line 1
File: /home/tvgrapev/public_html/smf/Sources/TPortalAdmin.php
Line: 2362
Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED[/url]</p>
You see the [ / url ] code in there ? you still have a mixed html and bbc code there < / url > is what it should be, please try that and see if it render correctly
Quote from: G6 on April 04, 2010, 01:01:47 PM
Itemid=161" target="_blank">THE
BACHELORETTE: DRESSED TO WED[/url]</p>
You see the [ / url ] code in there ? you still have a mixed html and bbc code there < / url > is what it should be, please try that and see if it render correctly
Don't have a clue where that is coming from, but these 3 screem captures is exactly what I am doing to generate the error
Seems to be abug there or something, i will let Bloc know about it so he can check it out.
I can confirm that I also get and error when using that code in and html block. After entering it into the html code block and before saving it displays correctly (after removing the[url] tags) but fails on save.