Hello,
I tried to install MediaWiki at my webserver (normal webhosting), than it hangs during the installation process..
Output:
Checking environment...
PHP 4.3.8: ok PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 30M. If this is too low, installation may fail! Have zlib support; enabling output compression. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /homepages/21/d11819252/htdocs/sub/wildpflanzen Script URI path: /sub/wildpflanzen
I checked config/index.php with the method previously mentioned on this List (the die statement) an find out that all looks fine till line 392:
switch( $err ) { case 1045: if( $conf->Root ) { $errs["RootPW"] = "Check password"; ... and so on.
Any suggestions?
(I do activate error-logging too, but no error was logged...)
Greetings,
Mela
Mela Eckenfels schrieb:
Hello,
I tried to install MediaWiki at my webserver (normal webhosting), than it hangs during the installation process..
Has you uploaded ALL Files? I had the same "error". the reason was some missing files in the "languages" Folder. I had just uploaded english, german and french language-files and the install hangs, without any errormessage. After i was uploading all the rest, the install process works fine...
Mela Eckenfels wrote:
I checked config/index.php with the method previously mentioned on this List (the die statement) an find out that all looks fine till line 392:
switch( $err ) { case 1045: if( $conf->Root ) { $errs["RootPW"] = "Check password";
... and so on.
The lines immediately previous are:
@$myver = mysql_get_server_info( $wgDatabase->mConn ); if( $myver ) { $conf->Root = true; print "<li>Connected as root (automatic)</li>\n"; } else { print "<li>MySQL error " . ($err = mysql_errno() ) . ": " . htmlspecialchars( mysql_error() ); $ok = false;
Try removing the '@' from that first line (it suppresses any error message -- the purpose is to check if we have a working connection as the superuser and, if not, try again with the given username and password).
Check to make sure that PHP's MySQL module is set up properly also.
-- brion vibber (brion @ pobox.com)
Hello,
On Monday 30 August 2004 07:36, Brion Vibber wrote:
The lines immediately previous are:
@$myver = mysql_get_server_info( $wgDatabase->mConn ); if( $myver ) { $conf->Root = true; print "<li>Connected as root (automatic)</li>\n"; } else { print "<li>MySQL error " . ($err = mysql_errno() ) . ": " . htmlspecialchars( mysql_error() ); $ok = false;
Try removing the '@' from that first line (it suppresses any error message -- the purpose is to check if we have a working connection as the superuser and, if not, try again with the given username and password).
OK, I was trying the installation today with 1.3.2 and it hangs again. I removed the @ and now I get this message in the error.log:
[30-Aug-2004 11:49:56] PHP Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /homepages/21/d11819252/htdocs/sub/wildpflanzen/config/index.php on line 387
Some information about the server:
mysql Ver 12.22 Distrib 4.0.20, for pc-linux (i686)
Connection id: 904544 Current database: dbxxxxxxx Current user: dboxxxxxxx@xxx.xxx.xxx.xx SSL: Not in use Current pager: less Using outfile: '' Server version: 4.0.20-standard-log Protocol version: 10 Connection: db97.kundenserver.de via TCP/IP Client characterset: latin1 Server characterset: german1 TCP port: 3306 Uptime: 21 hours 11 min 14 sec
Threads: 46 Questions: 23218877 Slow queries: 122 Opens: 1821899 Flush tables: 1 Open tables: 64 Queries per second avg: 304.414
Check to make sure that PHP's MySQL module is set up properly also.
In PHPInfo looks anything ok for me....
http://www.mela.de/sub/wildpflanzen/phpinfo.php
Greetings,
Mela
Hello,
On Monday 30 August 2004 07:36, Brion Vibber wrote:
The lines immediately previous are:
@$myver = mysql_get_server_info( $wgDatabase->mConn ); if( $myver ) { $conf->Root = true; print "<li>Connected as root (automatic)</li>\n"; } else { print "<li>MySQL error " . ($err = mysql_errno() ) . ": " . htmlspecialchars( mysql_error() ); $ok = false;
Try removing the '@' from that first line (it suppresses any error message -- the purpose is to check if we have a working connection as the superuser and, if not, try again with the given username and password).
OK, I was trying the installation today with 1.3.2 and it hangs again. I removed the @ and now I get this message in the error.log:
[30-Aug-2004 11:49:56] PHP Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /homepages/21/d11819252/htdocs/sub/wildpflanzen/config/index.php on line 387
Some information about the server:
mysql Ver 12.22 Distrib 4.0.20, for pc-linux (i686)
Connection id: 904544 Current database: dbxxxxxxx Current user: dboxxxxxxx@xxx.xxx.xxx.xx SSL: Not in use Current pager: less Using outfile: '' Server version: 4.0.20-standard-log Protocol version: 10 Connection: db97.kundenserver.de via TCP/IP Client characterset: latin1 Server characterset: german1 TCP port: 3306 Uptime: 21 hours 11 min 14 sec
Threads: 46 Questions: 23218877 Slow queries: 122 Opens: 1821899 Flush tables: 1 Open tables: 64 Queries per second avg: 304.414
Check to make sure that PHP's MySQL module is set up properly also.
In PHPInfo looks anything ok for me....
http://www.mela.de/sub/wildpflanzen/phpinfo.php
Greetings,
Mela
mediawiki-l@lists.wikimedia.org