Page 1 of 1

PHP error or Javascript??Or IE??

Posted: Sat Jan 31, 2004 11:34 am
by apek
i just format my PC few days ago...
when i launch my PHP project,there will be a error popup (in IE)...
before this,it never appear...
and if it did,usually i because a javascript error...
because in my project,there some javascript i use in my forms such as javascript datepicker....
and then i install the Java Runtime Environment from Sun,everything will be fine...
but this time, even i had installed the JRE, the annoying popup still appear...
it really bothering me because it'll popup for about 10 times...

the popup windows said:

Code: Select all

A runtime error has occured
Do you wish to debug?

Line: <line number>
Error:Unterminated string constant
i have to click the NO button to avoid the microsoft debugger from opening...

how to solve this problem??
i checked all my coding...all "includes" is write correctly...

Posted: Sat Jan 31, 2004 12:17 pm
by Weirdan
Check the page source (right click the page in ie, then select View Source from menu). Try to see if on that line is really "Unterminated string constant" (perhaps checking the above lines will be useful too).

Posted: Sat Jan 31, 2004 1:03 pm
by apek
what "Unterminated string constant" means??? :roll:

Posted: Sat Jan 31, 2004 1:05 pm
by markl999
You're missing a quote somewhere.

Posted: Sat Jan 31, 2004 1:33 pm
by apek
this is one one of the error area...

Code: Select all

<span id="iNavigateMenu">
        <table border="0" cellpadding="0" cellspacing="0"><tr valign="top">
        <td><img id="iNavigatePointer" src="iNavigate/graphics/blank.gif" width="9" height="16" border="0"></td>
        <td><img id="iNavigateMenuBox" src="iNavigate/graphics/rootBlank.gif" width="16" height="16" 
		border="0"></td>
        <td class="iNavigateItem1" nowrap><span id="iNavigateMenuNode"><a id="iNavigateItem" onFocus="blur()" 
		href="menuWO.php" target="mainFrame" title="Modul Laporan Kerja" onMouseOver="window.status='Modul Laporan 
		Kerja';return true" onMouseOut="window.status='';return true">Modul Laporan Kerja</a></span></td>
        </tr></table>
its the same like the others...but why the error point at this line???