Ajax DataGrid Support Product Page

ErrorA dmxGrid AJAX query received error response from the server

Asked 27 Jan 2013 19:41:00
1
has this question
27 Jan 2013 19:41:00 tom tmr posted:
Hi

I've been getting this error on a previously working datagrid:
Error A dmxGrid AJAX query received error response from the server

Here is the data grid:
www.wind-power-training.com/company/ndt-companies.asp

Its been failing in Firefox latest version but seems to work fine in latest version chrome.

I've really been pulling my hair out on this one, can anyone please give any suggestions as to where the problem may lie?

Replies

Replied 29 Jan 2013 09:32:31
29 Jan 2013 09:32:31 Vulcho Vulev replied:
Hello Tom.

Can you please include the original version of the jquery library created by our extension called : jquery-latest.pack.js

Regards:Vulcho.
Replied 29 Jan 2013 10:49:18
29 Jan 2013 10:49:18 tom tmr replied:
I added a test page here:
www.wind-power-training.com/company/ndt-companiesTEST.asp

which has the jquery-latest.pack.js script in it but the page doesn't work at all, we have jQuery loaded from a CDN: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>


I tried removing the CDN version and the result was the same. We run a lot of jQuery on this site, what is the main difference between your version of jQuery and the CDN one we are using?
Replied 29 Jan 2013 11:11:14
29 Jan 2013 11:11:14 Vulcho Vulev replied:
Currently there is a doubleinclude on your page.

Can you replace the following line of code :

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>


with:

<script type="text/javascript" src="http://wind-power-training.com/ScriptLibrary/jquery-latest.pack.js"></script>


Upload the page again when the changes are implemented in order for me to test.

Regards:Vulcho.
Replied 29 Jan 2013 11:13:52
29 Jan 2013 11:13:52 tom tmr replied:
Vulcho,

firstly - thank you so much for your fast reply, much appreciated!

I just updated the page here:
www.wind-power-training.com/company/ndt-companiesTEST.asp
Still throwing the same error in Firefox...

Replied 29 Jan 2013 11:29:36
29 Jan 2013 11:29:36 Vulcho Vulev replied:
Hello Tom.
I see that you are working rooted inside the root directory.
Can you copy the Scriptlibrary and Styles folder in your current working path : www.wind-power-training.com/company and refer the script to pull the needed files from the current root?

Regards:Vulcho.
Replied 29 Jan 2013 11:36:58
29 Jan 2013 11:36:58 tom tmr replied:
Hi Vulcho,

tried it and still getting the same error:
www.wind-power-training.com/company/ndt-companiesTEST.asp

Replied 29 Jan 2013 13:03:37
29 Jan 2013 13:03:37 tom tmr replied:
Hi Vilcho,

just accidentally found something weird, this one generates an error:
www.wind-power-training.com/company/ndt-companiesTEST.asp

this one does not:
wind-power-training.com/company/ndt-companiesTEST.asp

seems the 'www' prefix may be an issue, could this be possible?
Replied 29 Jan 2013 13:50:40
29 Jan 2013 13:50:40 Vulcho Vulev replied:
Hello Tom.

Currently the both pages are pointing the files using
http://

you can fix them pointing to:
http://www.

If your Scriptlibrary and Styles folder are present in the /company root
you can point them also:
"company/Styles/dmxGrid/dmxgrid/dmxgrid.css"
"company/ScriptLibrary/jquery-latest.pack.js"
"company/ScriptLibrary/flexigrid.pack.js"



Regards:Vulcho.
Replied 29 Jan 2013 15:52:49
29 Jan 2013 15:52:49 tom tmr replied:
Hi Vulcho

I made the changes but still getting the error here:
www.wind-power-training.com/company/ndt-companiesTEST.asp

and not here:
wind-power-training.com/company/ndt-companiesTEST.asp
Replied 30 Jan 2013 16:11:24
30 Jan 2013 16:11:24 tom tmr replied:
Replied 31 Jan 2013 14:04:59
31 Jan 2013 14:04:59 Vulcho Vulev replied:
Hello Tom.

I had compared the code on the both pages. The code seems to be indentical. Can you check your database connection with the ajax datagrid on the problem page?

Regards:Vulcho.
Replied 31 Jan 2013 14:43:30
31 Jan 2013 14:43:30 tom tmr replied:
The 'TEST' version is an identical copy of the original. The only difference is the way it gets called, either with or without the 'www' prefix...
Replied 31 Jan 2013 14:44:03
31 Jan 2013 14:44:03 tom tmr replied:
PS.. both are using the same datagrid files..
Replied 01 Feb 2013 13:42:05
01 Feb 2013 13:42:05 Teodor Kuduschiev replied:
Hello Tom,

Can you please check your includes paths in the code:

Quote<script type="text/javascript" src="www.wind-power-training.com/company/ScriptLibrary/flexigrid.pack.js"></script>



Why are those full paths? Please use relative paths like:

Quote<script type="text/javascript" src="/ScriptLibrary/flexigrid.pack.js"></script>


Please do not change the paths that extension generates.

Reply to this topic