The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
AJAX being difficult and rude.
Hello,
So as the title says, ajax.php is giving weird results, primarily for quick edit and quick reply. More accurately, when I tcpdump'd the output, it was sending a tab (0x09) character immediately before the <?xml tag in the response xml. I dug into class_xml.php and ajax.php, disabled any plugins that used xml_* hooks and ajax_* hooks, and no luck. Any idea where else I should look? |
#2
|
|||
|
|||
You might try disabling all plugins, there maybe be some in global.php and other files included by that.
Then I don't know but if I were trying to figure it out I'd probably put some code in ajax.php (or create a plugin on one of those hooks) to see if it's actually being output by the call to print_xml() (like maybe write the output to a file) although looking over the code briefly, I don't see how that would be happening (you probablly came to the same conclusion). |
#3
|
|||
|
|||
Update:
The tab character seems to be output by the web server, not anything in vBulletin. I created a plain html file with "<- see, tab!", and sure enough, the tab was there. Update 2: As kh99 implied, one of the includes started with: Code:
<?php |
#4
|
||||
|
||||
Quote:
My day job is IT Manager and I've been cutting code since the '70s. But in this context I'm amateur is as much as I do vB related work simply to enhance our site. Kym |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|