HighDots Forums  

taconite strange problem

jQuery jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.


Discuss taconite strange problem in the jQuery forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gerkuil
 
Posts: n/a

Default taconite strange problem - 11-04-2009 , 05:25 AM






HI All,

I am using the taconite plugin and am running into a strange issue.

I use taconite to call several processes after each other (php) and
update messages in the page, as such it is running fine.
I have one big issue, if I open one database table too many in one of
the calls, taconite receives the xml but does not update the page.

With taconite debugging turned on I can see the following:
WITHOUT the database I get to my last step in the database:

[taconite] time to process response: 28ms
[taconite] [AJAX response] content-type: text/xml; status: 200 OK; has
responseXML: true
[taconite] type: undefined
[taconite] responseXML: [object XMLDocument]
[taconite] XML document root: taconite
log: [taconite] taconite command document detected
[taconite] invoking command: $('#append').append(...)
[taconite] invoking command: $('#replace').replaceContent(...)
log: [taconite] time to process response: 9ms

WITH opening the table the result is as follows:

[taconite] [AJAX response] content-type: text/xml; status: 200 OK; has
responseXML: true
[taconite] type: undefined
[taconite] responseXML: [object XMLDocument]

So it does not see it as 'taconite command document'

Strange thing is in other steps in the process database tables are
also opened, and it does not matter which table is being opened.

I am using kohana php framework, it opens a table with
"$dTable=ORM::factory('table', $Id);" the command itself creates an
object.

anybody any ideas on how to get to the bottom of this (or maybe knows
another method to call a url, update the page and call the next step?

One thing I would like to avoid is reloading the whole page.

Regards,

Gerrit kuilder

Reply With Quote
  #2  
Old   
Gerrit Kuilder
 
Posts: n/a

Default Re: [jQuery] taconite strange problem - 11-04-2009 , 12:26 PM






A Small update

if I write the response to a file I get no difference in files between a
failing and a working response.
most of the data I see in firebug is exactly the same.

only taconite fails to see the xml document root.

Regards,



gerkuil wrote:
Quote:
HI All,

I am using the taconite plugin and am running into a strange issue.

I use taconite to call several processes after each other (php) and
update messages in the page, as such it is running fine.
I have one big issue, if I open one database table too many in one of
the calls, taconite receives the xml but does not update the page.

With taconite debugging turned on I can see the following:
WITHOUT the database I get to my last step in the database:

[taconite] time to process response: 28ms
[taconite] [AJAX response] content-type: text/xml; status: 200 OK; has
responseXML: true
[taconite] type: undefined
[taconite] responseXML: [object XMLDocument]
[taconite] XML document root: taconite
log: [taconite] taconite command document detected
[taconite] invoking command: $('#append').append(...)
[taconite] invoking command: $('#replace').replaceContent(...)
log: [taconite] time to process response: 9ms

WITH opening the table the result is as follows:

[taconite] [AJAX response] content-type: text/xml; status: 200 OK; has
responseXML: true
[taconite] type: undefined
[taconite] responseXML: [object XMLDocument]

So it does not see it as 'taconite command document'

Strange thing is in other steps in the process database tables are
also opened, and it does not matter which table is being opened.

I am using kohana php framework, it opens a table with
"$dTable=ORM::factory('table', $Id);" the command itself creates an
object.

anybody any ideas on how to get to the bottom of this (or maybe knows
another method to call a url, update the page and call the next step?

One thing I would like to avoid is reloading the whole page.

Regards,

Gerrit kuilder


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.