Sagewire Logo

CF8 Ajax pages not loading properly

8 Message(s) by 3 Author(s) originally posted in server admin


From: Warpuser Date:   Tuesday, October 02, 2007
Hi all. Hope someone can help out with this one. Spent too much time trying
to figure it out without any luck!
Basically, the Cold Fusion page does not always load up properly. The page ends
after displaying an improperly formatted menu (using CFMENU tag ) and a
JAVAscript error appears. It varies between "Ext not found" or "Cold Fusion not
found" - basically indicating certain JS libraries didn't get loaded properly.
This only happens occasionally and randomly and more often with IE6 than IE7.
We are run ning CF8 (with update) on Linux, Apache over SSL . Usually, pressing
the refresh button solves the problem and the page loads properly. Any help
would be greatly appreciated!


From: dbeck Date:   Tuesday, October 02, 2007
Try installing the CF8 updater/hotfix that's available for download from the Adobe site. It references a fix for loading style sheets and it may have something to do with your problem, too.


From: Warpuser Date:   Wednesday, October 03, 2007
I did install the updater/hotfix and still keep having this problem. Could it be due to SSL or Apache?


From: bossep Date:   Friday, October 19, 2007
Hello Warpuse and all of you,
I have the same problem. The CFMENU works fine on my Workstation XP CF 8.
But when uploading to my test server (Windows Server2003) it returns the same
errors as for Warpuser.
I installed the hotfix but it didn't fix it.

All the best

BosseP


From: Warpuser Date:   Friday, October 19, 2007
Hi BosseP.

So here is how I fixed it (I think). I had some authentication code (to
automatically log the person in) running before the web page loaded and I think
the error was occurring due to improper headers. What I did is put in a
<CFLOCATION> tag after authentication occurred that redirected the person to
the same page. But this time because the person had already been logged in,
the authentication code didn't run and the application just loaded the page.
Hope this helps...


From: bossep Date:   Saturday, October 20, 2007
Thanks Warpuser,
I am doing a similar thing.
I am reinstalling the server (microsoft...) So will try it when up and running again.

All the best
BosseP


From: bossep Date:   Monday, October 22, 2007
I am still having problems with this,
I do belive it is related to the IIS web server but not sure and cant find
what it could be.
I am runninf the sample from the documentation and its running nice and dandy
on my workstation with XP.
But on the test server It cant find the Cold Fusion and Yahoo scripts it seems.

sometimes it returns a List and somtimes it blocks the page.

I am totally confused on this.

BosseP

<!--- This is the code I am trying to run--->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<CFMENU name="menu" type="horizontal" fontsize="14" bgcolor="##CCFFFF">
<CFMENUITEM name="acrobat" href="http://www.adobe.com/acrobat"
display="Acrobat"/>

<CFMENUITEM name="aftereffects" href="http://www.adobe.com/aftereffects"
display="After Effects"/>

<!--- The Cold Fusion menu item has a pop-up menu. --->
<CFMENUITEM name="Cold Fusion"
href="http://www.adobe.com/products/Cold Fusion"
display="Cold Fusion">

<CFMENUITEM name="buy"
href="http://www.adobe.com/products/Cold Fusion/buy/"
display="Buy"/>

<CFMENUITEM name="devcenter"
href="http://www.adobe.com/devnet/Cold Fusion/" display="Developer
Center"/>

<CFMENUITEM name="documentation"
href="http://www.adobe.com/support/documentation/en/Cold Fusion/"
display="Documentation"/>

<CFMENUITEM name="support"
href="http://www.adobe.com/support/Cold Fusion/"
display="Support"/>

</CFMENUITEM>
<CFMENUITEM name="flex" href="http://www.adobe.com/flex" display="Flex"/>
</CFMENU>
</body>
</html>

<!--- And this is the errors I get Explorer --->
Line:24
Char: 2
Error:'Cold Fusion' is undefined
Code : 0


From: bossep Date:   Thursday, October 25, 2007
Thanks Warpuser,
I am not sure how I fixed it but redit all the settings in IIS, did as you told me and created a virual CFIDE and it all works fine now.
Once again thanks for the help.

BosseP



Next Message: Migration from CF6.1 to CF8



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional