From: Charles S. <ch...@st...> - 2003-11-03 16:36:05
|
I recently upgraded my wiki server from RedHat 7.2 to RHEL v3, and now my wiki is nothing but garbage: http://www.potwin.org/wiki I'm running 1.3.0-jeffs-hacks with mysql as the back-end, but the same thing happens with 1.3.3 and 1.3.4. If I don't get the database setup or include path correct, I get normal looking php errors, but once everything "works", all I get is what looks like jibberish on-screen (actually, it looks like a binary dump of something incorrectly being displayed as text). Thinking maybe the database is corrupted, I've tried several methods of migrating, including text-based backup/restore (note that other databases have survived the migration fine...it's just the phpwiki site/database I'm having problems with). With the upgrade, I'm running newer versions of apache, mysql, and php. Other php/mysql based sites migrated pretty well (a phpwebsite driven site), so I know things are generally working correctly. I get the feeling there's something simple wrong (like some wacky unicode setting or something), but I don't know enough about php to know where to start looking. Anyone got any ideas about what might be wrong? -- Charles Steinkuehler ch...@st... |
From: Frank S. <fra...@rn...> - 2003-11-03 16:59:47
|
> >>> "ch...@st..." 11/03/03 16:33 >>> > > I recently upgraded my wiki server from RedHat 7.2 to RHEL > v3, and now > my wiki is nothing but garbage: > http://www.potwin.org/wiki <snip> > With the upgrade, I'm running newer versions of apache, > mysql, and php. > Other php/mysql based sites migrated pretty well (a phpwebsite driven > site), so I know things are generally working correctly. I get the > feeling there's something simple wrong (like some wacky > unicode setting > or something), but I don't know enough about php to know > where to start > looking. > > Anyone got any ideas about what might be wrong? You can check that the database itself is alright simply by inspecting the tables, of course. Off the top of my head, are you not suffering from the "double gzip" issue? On a Windows box I had to comment out line 307 of Request.php - that's the line that says "@apache_note('no-gzip', 1);". frank |
From: Charles S. <ch...@st...> - 2003-11-03 17:26:52
|
Frank Shearar wrote: >> >>> "ch...@st..." 11/03/03 16:33 >>> >> >> I recently upgraded my wiki server from RedHat 7.2 to RHEL >> v3, and now >> my wiki is nothing but garbage: >> http://www.potwin.org/wiki > > <snip> > >> With the upgrade, I'm running newer versions of apache, >> mysql, and php. >> Other php/mysql based sites migrated pretty well (a phpwebsite driven >> site), so I know things are generally working correctly. I get the >> feeling there's something simple wrong (like some wacky >> unicode setting >> or something), but I don't know enough about php to know >> where to start >> looking. >> >> Anyone got any ideas about what might be wrong? > > You can check that the database itself is alright simply by inspecting > the tables, of course. > > Off the top of my head, are you not suffering from the "double gzip" > issue? On a Windows box I had to comment out line 307 of Request.php - > that's the line that says "@apache_note('no-gzip', 1);". I'm not sure about "double gzip", but it looks like the response pages were being compressed. A search thorough the documentation wiki turned up my problem on the PrettyWiki page (page gzipped): http://phpwiki.sourceforge.net/phpwiki/PrettyWiki I don't know why this wasn't a problem before (although I was running older versions of php and apache), but commenting the two indicated lines fixes the output for me. Thanks!!! -- Charles Steinkuehler ch...@st... |
From: Charles S. <ch...@st...> - 2003-11-03 17:13:52
|
John Kershaw wrote: > At 10:33 am -0600 3/11/03, Charles Steinkuehler wrote: >>I recently upgraded my wiki server from RedHat 7.2 to RHEL v3, and >>now my wiki is nothing but garbage: >>http://www.potwin.org/wiki > > Did you fix it? I just tried your link and it looks fine to me. Nope...I'm still seeing garbage on my end. I just tried it from a remote machine to see if it's something peculiar to my local network, and I still get garbage (IE tries to save the file thinking it's binary, and Mozilla displays garbage). -- Charles Steinkuehler ch...@st... |