homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
out of memory line 2 by ajax or?
out of memory
john1000




msg:3292202
 12:02 am on Mar 25, 2007 (gmt 0)

Hello,
Im a bit unsure if this is the right forum..

but here's me question..
after updating a component for my website in IE 7 you get :

"out of memory line 2"

Line 2 = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

So nothing special..

in firefox everything is ok..

but also when i install it on another site all is ok with that new version..
and that makes it even weirder i guess..

Yes the stuff uses ajax and javascript and looks like :

<script type='text/javascript'> /*<![CDATA[*/ var jc_option = "com_frontpage"; var jc_autoUpdate = "0"; var jc_update_period = 300*1000; var jc_orderBy = "1"; var jc_commentForm; var jc_livesite_busyImg = "http://www.example.com/pcajaxcomment/busy.gif"; /*]]>*/ </script>
<script src="http://www.example.com/pcajaxcomment/script.js?1.7" type="text/javascript"></script>

<script type='text/javascript'>
/*<![CDATA[*/
var jax_live_site = 'http://www.example.com/index.php';
/*]]>*/
</script>

does this sounds familiar to someone?
or anyone have a clue where the error suddenly comes from?

Thank you

[edited by: encyclo at 4:57 pm (utc) on Mar. 29, 2007]
[edit reason] switched to example.com [/edit]

 

mehh




msg:3296506
 4:34 pm on Mar 29, 2007 (gmt 0)

Line 2=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I thought the doctype was meant to be line 1.

penders




msg:3296626
 6:29 pm on Mar 29, 2007 (gmt 0)

"out of memory line 2"

The line number that IE reports as the location of the error may not be in the (HTML) source file that it reports... it may be (and probably is) a line in an external JS file (script.js perhaps).

But I imagine the line# reported in an 'out of memory' error is unlikely to be the pin-pointed source of the problem, more like the point at which the script ran out of memory....?!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved