Closed (fixed)
Project:
Boost
Version:
6.x-1.16
Component:
Views
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Oct 2009 at 14:28 UTC
Updated:
4 Dec 2009 at 06:20 UTC
Jump to comment: Most recent file
This problem only for Internet Explorer and not for Firefox/Chrom.
When I try to use ajax fonction I see error. I attach a image, please, look at this.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | boost-616938.patch | 3 KB | mikeytown2 |
| #17 | boost-616938.patch | 2.27 KB | mikeytown2 |
| #2 | boost-debug.patch | 1.09 KB | mikeytown2 |
| ajax_boots_views.jpg | 383.6 KB | superfedya |
Comments
Comment #1
superfedya commentedError appears only when this option an ON:
"Cache html documents/pages"
Comment #2
mikeytown2 commentedFor some reason, Boost is thinking it's html, when in fact its javascript. If you could apply this patch to Boost have it output watchdog error messages, that would be helpful. Let me know what the message is when you visit that link.
Comment #3
superfedya commentedSorry, but I dunno how to use .patch files on shared host X_X
Comment #4
mikeytown2 commentedEdit the module file, it's not that hard...
I'll be adding in debug functionality in the next release btw so if you can wait around for a little bit then this problem should be easier to solve. #617394: Verbose setting of 7 & 9 for debugging
Comment #5
superfedya commentedOk, I will wait. Thanks!
Comment #6
superfedya commentedOk, I will wait. Thanks!
Comment #7
mikeytown2 commentedDownload http://drupal.org/node/621560
Enable verbose 9
Let me know whats up
Comment #8
superfedya commentedOk, I enable verbose 9, Views Ajax not working for IE...
Comment #9
mikeytown2 commentedwhen you hit views ajax, what does watchdog output for that url?
Comment #10
superfedya commentedBut where I can see this Watchdog?
Comment #11
mikeytown2 commentedadmin/reports/dblog
Comment #12
superfedya commentedDebug: _boost_ob_handler()
HTTP Info: 200 - text/html, text/javascript
Path: cache/normal/www.mysite.com/site/views/ajax_view_name=News1&view_display_id=block_1&v...
Content Container: node_page_default
Content Type:
ID:
Cache This: TRUE."
and
Debug: boost_cache_set_node_relationships()
7 of 7 given entries to the boost_cache_relationships table added or updated; 0 entries removed due to them being outdated.
Comment #13
mikeytown2 commentedk so the front page is returning the correct http content type: text/javascript. Which means the file should be saved with the correct extension, .json. Try the latest dev which should be available for download in the next 30 min; I've reworked some of the code surrounding this issue, so hopefully it got fixed in the process. If not this gives me something to work with; the view is a block type, not a page type.
Edit:
Dev is ready, give it a shot
Comment #14
superfedya commentedno result:
Debug: _boost_ob_handler()
HTTP Info: 200 - text/html, text/javascript
Path: cache/normal/www.madfanboy.com/site/views/ajax_view_name=News1&view_display_id=block_...
Content Container: node_page_default
Content Type:
ID:
Cache This: TRUE.
and
Debug: boost_cache_set_node_relationships()
7 of 7 given entries to the boost_cache_relationships table added or updated; 0 entries removed due to them being outdated.
Comment #15
superfedya commenteddelete this post please.
Comment #16
superfedya commenteddelete this post
Comment #17
mikeytown2 commentedTry turning off "Asynchronous Operation: output HTML, close connection, then store static file." If that doesn't work, using the latest dev, try this patch. Remember to flush the cache before testing.
Comment #18
mikeytown2 commentedGet 1.15 and set
Boost Tags: Only Set the header
Save
update rules from boost-rules and let me know if this fixes your issue.
Comment #19
superfedya commentedNope. Not fixed :(
Logs:
Debug: _boost_ob_handler()
HTTP Info: 200 - text/html, text/javascript
Path: cache/normal/www.madfanboy.com/site/views/ajax_view_name=News1&view_display_id=block_...
Content Container: node_page_default
Content Type:
ID:
Cache This: TRUE.
Debug: boost_cache_set_node_relationships()
10 of 10 given entries to the boost_cache_relationships table added or updated; 0 entries removed due to them being outdated.
Comment #20
mikeytown2 commentedk its saving the javascript as html... but thats very strange since it's returning text/javascript as the last option; the one I use.
I wonder if I should do a !== FALSE in the if else block. Try this patch, let me know if it works.
Comment #21
superfedya commentedNope.
Debug: _boost_ob_handler()
HTTP Info: 200 - text/javascript. Using .
Path: cache/normal/www.madfanboy.com/site/views/ajax_view_name=News1&view_display_id=block_...
Content Container: node_page_default
Content Type:
ID:
Cache This: TRUE.
Debug: boost_cache_set_node_relationships()
10 of 10 given entries to the boost_cache_relationships table added or updated; 0 entries removed due to them being outdated.
Comment #22
mikeytown2 commentedYour using a newer version of apache; one that might not serve .json files as text/javascript; due to apache not respecting the T=*** in the rewrite rule. Try this in your htaccess file
OLD:
NEW:
Comment #23
mikeytown2 commentedcommitted
Please Let me know if this doesn't fix the problem. You can grab the code in todays dev when it comes out in about an hour from now. Be sure to get the rules from boost-rules and try again.
Comment #24
superfedya commentednope. not fixed.
http://localhost/site/?q=views/ajax&view_name=News1&view_display_id=bloc...
Debug: _boost_ob_handler()
HTTP Info: 200 - text/html, text/javascript
Path: cache/normal/www.madfanboy.com/site/views/ajax_view_name=News1&view_display_id=block_...
Content Container: node_page_default
Content Type:
ID:
Cache This: TRUE.
Comment #25
mikeytown2 commentedCan you put up a link so I can test the page in question? I need to see what the server is sending.
Comment #26
mikeytown2 commentedComment #27
superfedya commentedmikeytown2
Sorry but my site still active, now I add the views in the exception list. If I disable that, no one can navigate :(
But, I do all the test in my localhost (Wamp server for Win).
Comment #28
mikeytown2 commentedI need a way to reproduce the error somehow since I can't do it locally.
Comment #29
superfedya commentedOk. try now: www.madfanboy.com/site
Error only with Internet Explorer
Comment #30
superfedya commentedHmmm... now all works...
I use last version of boost (not dev), without any patch (exept for my other error)...
Comment #31
mikeytown2 commentedI'm trying the views pager at the bottom and it appears to be working. Turn on ajax in the view
Comment #32
superfedya commentedyeah, ajax turned on, all works!
Comment #33
mikeytown2 commentedGoing to mark this as fixed then.
Comment #34
chadd commentedafter upgrading to the latest, i get this error in IE when clicking a quicktab containing a view.
quicktabs containing nodes and feeds are fine, it's just the view tab that generates this error.
"an error occurs at /views/ajax."
Comment #35
chadd commentedupdate: turning off "Asynchronous Operation" fixes the error.
(feel free to mark this fixed)
but don't i want "Asynchronous Operation" turned on?
Comment #36
mikeytown2 commentedChadd try this patch.
#636704: Removed $ by mistake in boosted1/2.txt & boost-rules page
Also use the latest dev of quicktabs as that fixes the error your having most likely.
Comment #37
mikeytown2 commentedComment #38
mikeytown2 commentedmarking this as fixed, reopen if this didn't answer your question.