Unterminated String Constant
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Unterminated String Constant
error
OP
232
From: -
From: -
Somehow code get screwed. It fixed now. Thanks alot.
1 Re: Unterminated String Constant
Philipp Esselbach
From: -
Editor
0From: -
I think it was in template news_layout_extended_story in your template set
1 Re: Unterminated String Constant
error
OP
232
From: -
From: -
I didnt removed anything. Where I can see code, in wich file?
1 Re: Unterminated String Constant
Philipp Esselbach
From: -
Editor
0From: -
Did you remove something?
The code should look like this without the spaces in [ b ] [ /b ] [ quote ] [ /quote]:
The code should look like this without the spaces in [ b ] [ /b ] [ quote ] [ /quote]:
<script type="text/javascript">
<!--
function quoteme(username, postdate, quote)
{
window.document.getElementById("commentform").input_message.value =
window.document.getElementById("commentform").input_message.value + "[ b ]Posted by " + username + " on " + postdate + "[ /b ]\\n[ quote ]" + quote + "[ /quote ]\\n";
window.document.getElementById("commentform").input_message.focus();
}
-->
1 Re: Unterminated String Constant
error
OP
232
From: -
From: -
Yes it is.
<script type="text/javascript">
<!--
function quoteme(username, postdate, quote)
{
window.document.getElementById("commentform").input_message.value =
window.document.getElementById("commentform").input_message.value + "Posted by " + username + " on " + postdate + "\n
Quote:
" + quote + "
\n";
window.document.getElementById("commentform").input_message.focus();
}
-->
</script>
1 Re: Unterminated String Constant
Philipp Esselbach
From: -
Editor
0From: -
Is the quoteme javascript in the page source/output? You can find this out by viewing the page source code and searching for "function quoteme".
1 Re: Unterminated String Constant
error
OP
232
From: -
From: -
I got that error on frontpage news comment not in admincp.
1 Re: Unterminated String Constant
Philipp Esselbach
From: -
Editor
0From: -
On the edit comment page? Do you get this error also on the "add new story" page after you disable the WYSIWYG editor?
1 Re: Unterminated String Constant
error
OP
232
From: -
From: -
Is your class_html.php from RC3 or earlier?
Build: 529 Patch: 12
1 Re: Unterminated String Constant
Philipp Esselbach
From: -
Editor
0From: -
Is your class_html.php from RC3 or earlier?
When I'm on comments page in news module i got js error: Unterminated String Constant.
Vista Business
IE 7
CT 1.0 Final (Patches applied)