That error message looks like a PHP thing. But it could be some difference(s) between the two scripts that's causing it.
What browser are you using? If you use Firefox or can, it makes diagnosing this a little easier.
Basically the two scripts send the request in the same manner, but there are differences. The tab script massages the URL with a javascript regular expression replace to make it a "ajaxfriendlyurl" before passing it on to the server. The script you 'like' does not. And the tab script gets its url directly from the link's href property. The other script does so too, in a way, but as a string fed to the javascript:ajaxpage() function where, presumably the browser would be less likely to alter it. A raw href value is often augmented to an absolute path if it is relative (which yours is) and certain characters may be more or less likely to be escaped.
Anyways, here's where the Dynamic Ajax Content script sends its request to the server:
Code:
if (bustcachevar) //if bust caching of external page
bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', url+bustcacheparameter, true)
page_request.send(null)
Make that (temporarily for diagnostic purposes):
Code:
if (bustcachevar) //if bust caching of external page
bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
alert(url+bustcacheparameter);
page_request.open('GET', url+bustcacheparameter, true)
page_request.send(null)
The tab script does it here (in ajaxtabs.js, around line #47):
Code:
var ajaxfriendlyurl=pageurl.replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
page_request.onreadystatechange=function(){ddajaxtabs.loadpage(page_request, pageurl, tabinstance)}
if (ddajaxtabssettings.bustcachevar) //if bust caching of external page
bustcacheparameter=(ajaxfriendlyurl.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', ajaxfriendlyurl+bustcacheparameter, true)
page_request.send(null)
Make that, again temporarily for diagnosis:
Code:
var ajaxfriendlyurl=pageurl.replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
page_request.onreadystatechange=function(){ddajaxtabs.loadpage(page_request, pageurl, tabinstance)}
if (ddajaxtabssettings.bustcachevar) //if bust caching of external page
bustcacheparameter=(ajaxfriendlyurl.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
alert(ajaxfriendlyurl+bustcacheparameter);
page_request.open('GET', ajaxfriendlyurl+bustcacheparameter, true)
page_request.send(null)
If it is some difference between how the scripts are processing the URL, it should become apparent when you run each of these alerts. The reason that Firefox would make this easier is that, unlike some other browsers, it allows you to cut and paste from the alert, which makes it easier for you to report any significant findings here.
Let me know what happens.
Bookmarks