From: Philip J. H. <ph...@po...> - 2005-05-06 14:53:52
|
I followed your suggestion and used echo. I've found that placing echo " "; anywhere in the program execution before the call to this->Request in function WikiRequest in lib/main.php causes the pages to output fully. Of course my website now looks like crap because this causes a bunch of php warnings to be printed after all the regular output. Still, that's better than it taking forever to load and cutting off the pages. So it seems like my phpwiki is sitting around waiting for some output which never finishes? Then it eventually times out and dumps what it does have? That would explain both the long load delay and the end of my wiki pages being cut off. I haven't yet begun to dig into the Request function in lib/Request.php to see if I can isolate this further. Any phpwiki developers care to hazard a guess what might be going on here? P. On Fri, 06 May 2005 12:10:00 +0200, "Reini Urban" <rurban@x- ray.at> said: > Philip J. Hollenback schrieb: > > Hi Everyone, > > > > So I'm still experiencing this problem of pages not loading all the > > way. I just tested a few minutes ago and it's still occuring. > > > > Again, there are no errors in my apache logs and I can't > > troubleshoot much further because this is a hosted setup. > > > > I've seen this connecting from several different locations and with > > several different browsers. I've had other people in different > > cities check my page and they've seen the same problems. > > > > But others on this list have replied that they have gone to > > www.hollenback.ent and everything looks fine. > > > > The one suggestion I got was to sprinkle some print statements into > > the phpwiki code to see where it is dying. I guess I will try > > that... does anyone else have any ideas? > > Don't use printf, use echo instead. There's some problem with print > and output buffering I didn't care to report at the php-dev list yet. > > Any printf in any plugin, template, code will eventually bypass the > buffering, thus fooling the http headers. > -- > Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ > http://phpwiki.org/ -- Philip J. Hollenback ph...@po... www.hollenback.net |