Hello,
I have a problem when i try to put any thing in "Block PHP/HTML" field, it simply get erased when i press ok, so i have to edit it from mysql and now even mysql is not working, any suggestions????
Problem With Custom Content And Custom Blocks
Started by Bemoi, Oct 28 2006 05:06 AM
6 replies to this topic
#3
Posted 30 October 2006 - 03:17 PM
i am having the issue with IPB 2.1.7 when i add javascript or php code in the Block from phpadsnew it give me a SQL error
Is there any Fix ?
mySQL query error: UPDATE ibf_up_custblocks SET html='<script language='JavaScript' type='text/javascript' src='http://www.xyz.com/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://www.xyz.com/ad/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:8");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.xyz/adclick.php?n=a92727b4' target='_blank'><img src='http://www.xyz.com/adview.php?what=zone:8&n=a92727b4' border='0' alt=''></a></noscript>' WHERE name='vos'
SQL error: 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 'JavaScript' type='text/javascript' src='http://www.xyz.com
SQL error code:
Date: Monday 30th of October 2006 01:03:46 PMIs there any Fix ?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













