Mailing List Archive

Re: Install mediawiki
mediawiki-l-request,

After I installed php 4.3.4,mySQL 4.x,mediawiki 1.2, I type http://myPcname/wiki/index.php in my local pc,it worked well,I saw the main page, but I type the same url form another pc in the local network, it return the following message. And now, it even can't work in my local pc, IE6 and Opera7.5 browser all returned the same following messsage:

======message begin
Notice: Undefined variable: REQUEST_METHOD in C:\wiki\Setup.php on line 74

Notice: Undefined variable: REQUEST_URI in C:\wiki\Setup.php on line 74

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\wiki\Database.php on line 196

Warning: Cannot modify header information - headers already sent by (output started at C:\wiki\Setup.php:74) in C:\wiki\Database.php on line 414

Warning: Cannot modify header information - headers already sent by (output started at C:\wiki\Setup.php:74) in C:\wiki\Database.php on line 449

Warning: Cannot modify header information - headers already sent by (output started at C:\wiki\Setup.php:74) in C:\wiki\Database.php on line 450
?¡ª ?3???¡§ $1???¨¨????£¤??¡ã????o¡°
=====message end

I installed php/mysql/mediawiki on my notebook,Windows Xp pro,sp2. I have reinstalled php/mysql/mediawiki many times,but it don't work for me, what should I do?



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡


¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Áõ°®¾ü(xsfox)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡laj@pps.com.cn
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-03-03
Re: Re: Install mediawiki [ In reply to ]
On Mar 2, 2004, at 21:39, ~{Au0.>|~} wrote:
> mediawiki-l-request,
>
> After I installed php 4.3.4,mySQL 4.x,mediawiki 1.2, I type
> http://myPcname/wiki/index.php in my local pc,it worked well,I saw the
> main page, but I type the same url form another pc in the local
> network, it return the following message. And now, it even can't work
> in my local pc, IE6 and Opera7.5 browser all returned the same
> following messsage:
>
> ======message begin
> Notice: Undefined variable: REQUEST_METHOD in C:\wiki\Setup.php on
> line 74
>
> Notice: Undefined variable: REQUEST_URI in C:\wiki\Setup.php on line 74

I'm not quite sure what to make of this. Either register_globals has
somehow gotten disabled or you have an unusual server configuration. Is
PHP installed as an Apache module or as a CGI? Are you using Apache or
some other server (IIS etc)?

> Warning: mysql_error(): supplied argument is not a valid MySQL-Link
> resource in C:\wiki\Database.php on line 196

This indicates that the wiki couldn't connect to the MySQL server.
There could be a few reasons:
* It's not running
* The settings (database, user, password) are incorrect
* ???

Double-check that these are still correct...

-- brion vibber (brion @ pobox.com)