Hi Experts,
I'm having a simple issue with AJAX (JS Tree). None of my tree menu are working and I'm getting this error on almost all pages.
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Tue, 28 Sep 2010 19:02:03 UTC
Message: 'Ext' is undefined
Line: 194
Char: 1
Code: 0
URI: http://<myweb>/TestLink/gui/javascript/treebyloader.js
The environment is :
Server: Windows Server 2003
Web Server: IIS with FastCGI (Deployed by MS Web Platform)
Client: Win XP, Win 7
Browser: IE8 , Chrome
Chrome doesn't show any error but the tree menu is not shown either.
Can someone please help me resolve this issue.
Great thanks in advance.
Thanks,
Nik
AJAX issue with JS Tree Loader (All Pages) Ext undefined
Moderators: Amaradana, TurboPT, TL Developers
AJAX issue with JS Tree Loader (All Pages) Ext undefined
Last edited by nikpreek on Thu Sep 30, 2010 9:26 pm, edited 1 time in total.
Re: AJAX issue with JS Tree Loader (All Pages)
A quick note about environment:
I'm using MySQL 5.2 &
My TestLink version is 1.8.5b
I'm using MySQL 5.2 &
My TestLink version is 1.8.5b
Re: AJAX issue with JS Tree Loader (All Pages)
I think it has something to do with .tpl files. The initiation of Ext is being done in JS files and these are included in .tpl (inc_ext_js.tpl in \gui\templates). IIS (FastCGI) is not processing it and hence I'm getting the error that Ext is not defined. Can anyone pls help on this?
Thanks,
Nikhil
Thanks,
Nikhil
Re: AJAX issue with JS Tree Loader (All Pages)
Finally got through it... tried to give a js file directly on index.php and then kept putting it one level inside and testing it one by one. i.e. kept test.js with alert in root. Then moved to third_party; it worked. Then moved to ext-2.0 and it stopped working. Then renamed ext-2.0 to ext2 and woooo hooo it started working. Looks like Fast CGI OR IIS one of them cant understand "-" and/or "." in the path.
I also changed inc_ext_js.tpl line
{assign var="ext_version" value="-2.0"} to
{assign var="ext_version" value="2"}
So, I'll keep this in mind and if come across similar problem again, I'll try changing same.
But for the time being, its working perfectly fine without any problem.
I wanted to use same port for ASPX and PHP and by using these settings I'm able to do it perfectly.
I also changed inc_ext_js.tpl line
{assign var="ext_version" value="-2.0"} to
{assign var="ext_version" value="2"}
So, I'll keep this in mind and if come across similar problem again, I'll try changing same.
But for the time being, its working perfectly fine without any problem.
I wanted to use same port for ASPX and PHP and by using these settings I'm able to do it perfectly.