Re: Wikimedia - php4
| From: | Vizion | Date: | Wed, 21 Sep 2005 02:39:40 +0000 |
| Subject: | Re: Wikimedia - php4 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222841@lists.php.net to get a copy of this message | ||
On Tuesday 20 September 2005 19:37, the author Jasper Bryant-Greene
contributed to the dialogue on-
Re: [PHP] Wikimedia - php4:
>Vizion wrote:
>> Hi
>>
>> I have just installed wikimedia on freebsd 5.3 with php4-4.4.0.
>
>I think you mean MediaWiki (common mistake!)
>
>> After starting the program after a "successful" installation I get the
>> error messages shown below. There are three eror from two lines of code. I
>> have included the relevant code.
>> [snip]
>>
>> ***********************************************************************
>> FIRST Error - reppeated twice:
>> ***********************************************************************
>> Notice: Only variable references should be returned by reference
>> in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on
>> line 369
>>
>> Notice: Only variable references should be returned by reference
>> in /usr2/virtualwebs/forumkatrina.org/wiki/includes/ObjectCache.php on
>> line 369
>
>These are coding errors in MediaWiki (but not really bad errors, just
>enough for PHP to flag a notice); since it's not something you can fix
>entirely unless you want to trawl through all of their code, the easiest
>thing to do is change error_reporting in your php.ini file so it looks
>like this:
>
>error_reporting = E_ALL & ~E_NOTICE
>
>which means show all errors except notices.
You are fast!!
Thanks very much for that -- OK
-
You replied before you will have got my correction -- but I guess your
solution will work in any case!!
Thanks again
>
>--
>Jasper Bryant-Greene
>Freelance web developer
>http://jasper.bryant-greene.name/
--
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.