PHP error or Javascript??Or IE??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
apek
Forum Commoner
Posts: 96
Joined: Tue Jan 06, 2004 11:19 pm
Location: Holiday Plaza Johor Bahru

PHP error or Javascript??Or IE??

Post 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...
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post 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).
User avatar
apek
Forum Commoner
Posts: 96
Joined: Tue Jan 06, 2004 11:19 pm
Location: Holiday Plaza Johor Bahru

Post by apek »

what "Unterminated string constant" means??? :roll:
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

You're missing a quote somewhere.
User avatar
apek
Forum Commoner
Posts: 96
Joined: Tue Jan 06, 2004 11:19 pm
Location: Holiday Plaza Johor Bahru

Post 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???
Post Reply