You are not logged in.
No, I have this problem with firefox 1.0.7.
HomePage – TextpatternMania (spanish)
Offline
I think I have found something else:
the bug is triggered (= you get a blank page) in this situation:
The but is not triggered (you can succesfully refresh the content with just an F5 hit):
I will try to do some more testing.
Offline
I suspect this has to do with you guys getting the wrong http-headers, is it possible that you are running PHP as (F)CGI? We fixed something similar for the feeds, looks like the same thing is happening here.
For a temporary fix: In jpcache-main.php find: header("HTTP/1.0 304"); and replace with header("Status: 304 Not Modified"); if this does help, I should have an updated version ready soon.
Offline
> Sencer wrote:
> is it possible that you are running PHP as (F)CGI?
Yes. My hosting provider has changed to PHP as CGI in the last week.
> Sencer wrote:
> For a temporary fix: In jpcache-main.php find: header("HTTP/1.0 304"); and replace with header("Status: 304 Not Modified"); if this does help, I should have an updated version ready soon.
You are a magician!
I made the change you suggested and, at least by now, this is working good in FF 1.5.
Thanks, Sencer!
Offline
This fix is working for me as well. I have been having problems with one site in particular and just happened on this thread. Same problems. I was initially getting errors in ie/opera as well. Then those disappeared and the blank page ff issue showed up.
I posted all the errors ‘here”:http://forum.textpattern.com/viewtopic.php?id=12757
This was the error in ie and opera only: Notice: Undefined index: HTTP_REFERER in /users/home/xxxxxx/web/public/textpattern/lib/txplib_misc.php(455) : eval()’d code on line 271
I though maybe it was the hitlogger plug, but I made the “fix” suggeested and re-activated hitlogger and all seems well for the time being.
One thing I have noticed on this site is that I am getting this Etag where on other sites I am using this the Etag is not listed when examining the headers. I don’t know anything about Etags. Would this indicate anything out of the ordinary?
ETag: “jpd—1730008019.6157”
Thanks!
Jamie
Offline
Just a note: people not running on (F)CGI will worsen the situation by changing the code as described above.
Your error is not related to my plugin, soulship. There is exactly one occurence of $_SERVER['HTTP_REFERER'] in my code, and that is preceded by a check with isset(), precisely so it won’t throw errors like that.
ETag: "jpd-1730008019.6157" is used by the plugin to do caching stuff, like 304s. The jp is short for jpcache, which this plugin is based on.
Offline
Wow, I’ve been beaten by a long shot. I was just checking to see if anyone else was working on adding jpcache or a similar caching system to Textpattern – as I ended up modling jpcache for myself, I figured it’d be semi-trivial to add to Textpattern as well.. I forgot how static my system was.
I’ve taken a look at this and updated the admin side plugin, but I still can’t seem to get it to work, at all. Even with a few modifications to 0.9.8, I get the ‘X-Cache: asy_jpcache -’ header, and then it dies, not reporting a version number, or anything, observe:
HEAD / HTTP/1.1
Host: mysite.dur
HTTP/1.1 200 OK
Date: Tue, 07 Feb 2006 04:42:03 GMT
Server: Apache
X-Cache: asy_jpcache – Content-Type: text/html; charset=utf-8
Sencer: I added this to the very head of your cache plugin to ensure that it had both the globals, and the cache (from within index.php):
// Trivial modification by ssh to keep from hacking the root index.php
if ( txpinterface == ‘public’ && !in_array ($_SERVER[“REQUEST_URI”], array(’/&’)) ) {
include_once( $_SERVER["DOCUMENT_ROOT"]."/textpattern/config.php" );
include_once( $_SERVER[“DOCUMENT_ROOT”].”/jpcache/jpcache.php” );
}
// I stole plenty of code from zem. Don’t tell him! ;)
…
I’ll take another look into it, but I’m guessing that it’s still having problems loading it’s locals. Since I’m forcing it to have the globals available, I assume $path_to_site and other variables are exposed? (Yeah, it’ll take two seconds to find out, I know, I know..)
Offline
Hi,
this nice plug-in is generating very big files in the cache.
I have found 3 o 4 files about 6MB.
I would say that it’s caching the files to download (mp3 in this case), but I cant confirm that those large files are related to the mp3 files.
I have tried to download one of this big cached files and rename it with .mp3 extension, but it doesnt play in my media player.
So, I cant conclude that those cached files are the .mp3, but I would like to avoid them, because I dont have enough space at my hosting.
Sencer, do you think it’s possible?
BTW: i’m using bas_emff plug-in to stream mp3s (and also have links to files with the TXP capabilities), could that be related to this problem?
thanks in advance.
Offline