Sofia
04-14-2007, 04:54 PM
Hello all :)
I have a question :
I put a javascript file in my FTP. (ajax.js)
I try to put this code in the template headinclude :
function getAjaxFile(fileName)
{
ajax.requestFile = fileName;
ajax.onCompletion = showContent;
ajax.onLoading = showWaitMessage;
ajax.runAJAX();
}
But i have a problem with this :
ajax.runAJAX();
I obtain this message when i save the template headinclude :
Database error in vBulletin 3.6.5:
Invalid SQL:
SELECT templateid
FROM template
WHERE styleid = AND title = 'headinclude';
MySQL 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 'AND title = 'headinclude'' at line 3
Error Number : 1064
Date : Saturday, April 14th 2007 @ 07:53:31 PM
Script : http://xxxx.org/admincp/template.php?do=updatetemplate
Referrer : http://xxxxx.org/admincp/template.php?s=&do=edit&templateid=452&group=all&searchstring=headinclude&expandset=2
IP Address : 91.164.197.104
Username : Sofia
Classname : vb_database
Any idea ? :)
Thanks a lot ;)
I have a question :
I put a javascript file in my FTP. (ajax.js)
I try to put this code in the template headinclude :
function getAjaxFile(fileName)
{
ajax.requestFile = fileName;
ajax.onCompletion = showContent;
ajax.onLoading = showWaitMessage;
ajax.runAJAX();
}
But i have a problem with this :
ajax.runAJAX();
I obtain this message when i save the template headinclude :
Database error in vBulletin 3.6.5:
Invalid SQL:
SELECT templateid
FROM template
WHERE styleid = AND title = 'headinclude';
MySQL 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 'AND title = 'headinclude'' at line 3
Error Number : 1064
Date : Saturday, April 14th 2007 @ 07:53:31 PM
Script : http://xxxx.org/admincp/template.php?do=updatetemplate
Referrer : http://xxxxx.org/admincp/template.php?s=&do=edit&templateid=452&group=all&searchstring=headinclude&expandset=2
IP Address : 91.164.197.104
Username : Sofia
Classname : vb_database
Any idea ? :)
Thanks a lot ;)