So your only problem is that when using a browser you don't get any HTML, but when you run PHP from the command line, it works?
What browser are you using? Can you link us to the wiki?
Yes, that's basically the problem.
It seems to happen regardless of the web browser (Firefox, Mozilla, IE, curl).
The URL for the wiki is http://reclaimdemocracy.org/rdc/
If I go straight to the web server by telnet, I can definitely confirm nothing is being output from the script:
$ telnet reclaimdemocracy.org 80 Trying 207.228.227.98... Connected to reclaimdemocracy.org. Escape character is '^]'. GET /rdc/index.php/Main_Page Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding: gzip,deflate Accept-Language: en-us,en;q=0.5 Cache-Control: no-cache Connection: keep-alive Host: reclaimdemocracy.org Keep-Alive: 300 Pragma: no-cache User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Connection to reclaimdemocracy.org closed by foreign host.
But then if I check the mediawiki log, I can see that the script ran. I even added some debugging statements (prefixed with "bsm") to verify that the script is calling the routines.
Start request GET /rdc/index.php/Main_Page
SQL: SELECT cur_text FROM cur WHERE cur_namespace='8' AND cur_title='Linktrail' LIMIT 1 SQL: DELETE FROM objectcache WHERE exptime<'2004-11-02 23:47:26' SQL: SELECT value,exptime FROM objectcache WHERE keyname='XXX:messages'
SQL: SELECT 1 FROM user_newtalk WHERE user_ip='207.228.227.98' Servr: http://www.reclaimdemocracy.org SQL: BEGIN SQL: SELECT cur_id FROM cur WHERE cur_namespace=0 AND cur_title='Main_Page' SQL: SELECT cur_touched,cur_is_redirect FROM cur WHERE cur_id=5 We're confused. tryFileCache() - not cacheable SELECT cur_text,cur_timestamp,cur_user,cur_user_text,cur_comment,cur_counter,cur_restrictions,cur_touched FROM cur WHERE cur_id=5 SQL: SELECT cur_text,cur_timestamp,cur_user,cur_user_text,cur_comment,cur_counter,cur_restrictions,cur_touched FROM cur WHERE cur_id=5 SQL: SELECT lcc_cacheobj FROM linkscc WHERE lcc_pageid = 5 SQL: SELECT ss_total_views, ss_total_edits, ss_good_articles FROM site_stats WHERE ss_row_id=1 SQL: UPDATE cur SET cur_counter = cur_counter + 1 WHERE cur_id = 5 SQL: COMMIT bsm - in OutputPage::output ** private caching; Thu, 28 Oct 2004 19:13:27 GMT ** bsm - in SkinPHPTal::outputPage SQL: SELECT cur_id FROM cur WHERE cur_namespace=2 AND cur_title='207.228.227.98' bsm - title is Main Page SQL: SELECT cur_id FROM cur WHERE cur_namespace=1 AND cur_title='Main_Page' SQL: BEGIN SQL: UPDATE LOW_PRIORITY site_stats SET ss_total_views=(ss_total_views+1),ss_total_edits=(ss_total_edits),ss_good_articles=(ss_good_articles) WHERE ss_row_id=1 SQL: COMMIT SQL: BEGIN SQL: COMMIT Request ended normally