iPowerWeb as my web-provider. I am attempting to install MediaWiki on my website. I am getting the following when I try to finalise the thing from my browser:
- PHP 4.4.1 installed - Warning: PHP's register globals option is enabled. Disable it in you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. - PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) - Have XML / Latin-UTF-8 conversion support. - PHP is configured with no memory_limit - Have zlib support; enabled output compression. - Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions - GNU diff3 not found. - Found ImageMagick: /usr/local/nin/convert; image thumbnailing will be enabled if you enable uploads. - Found GD graphics library built-in. - Installation directory: /home/joshua-w/public_html/wiki - Script URI path: /wiki - Environment checked. You can install MediaWiki
Generating configuration file...
- Database type: mysql
Fatal error: Class languageen: Cannot inherit from undefined class languageutf8 in /home/joshua-w/public_html/wiki/languages/LanguageEn.php on line 12
Nomad of Norad (David C Hall) wrote:
iPowerWeb as my web-provider. I am attempting to install MediaWiki on my website. I am getting the following when I try to finalise the thing from my browser:
- PHP 4.4.1 installed
- Warning: PHP's register globals option is enabled. Disable it in you
can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities.
- PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
- Have XML / Latin-UTF-8 conversion support.
- PHP is configured with no memory_limit
- Have zlib support; enabled output compression.
- Neither Turck MMCache nor eAccelerator are installed, can't use
object caching functions
- GNU diff3 not found.
- Found ImageMagick: /usr/local/nin/convert; image thumbnailing will
be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: /home/joshua-w/public_html/wiki
Script URI path: /wiki
Environment checked. You can install MediaWiki
Generating configuration file...
Database type: mysql
Fatal error: Class languageen: Cannot inherit from undefined class
languageutf8 in /home/joshua-w/public_html/wiki/languages/LanguageEn.php on line 12
Can anyone suggest what I should do next? Would I be better off reinstalling the package?
Or should I be looking for a missing, or empty, file here? I had no end of trouble getting all of the MediaWiki files up and onto my website, but I *thought* I'd gotten them all there intact.
The sites specs are:
FreeBSD 4.11-STABLE
mysql Ver 12.22 Ditrib 4.0.16
perl, v5.8.3
php 4.4.1
Did you get the file languages/LanguageUtf8.php correctly? Compare the file you have with http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_6_5/phase3/languages/Lan...
By the way, I think PHP 4 is officialy unsupported.
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
iPowerWeb as my web-provider. I am attempting to install MediaWiki on my website. I am getting the following when I try to finalise the thing from my browser:
- PHP 4.4.1 installed
- Warning: PHP's register globals option is enabled. Disable it in you
can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities.
- PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
- Have XML / Latin-UTF-8 conversion support.
- PHP is configured with no memory_limit
- Have zlib support; enabled output compression.
- Neither Turck MMCache nor eAccelerator are installed, can't use
object caching functions
- GNU diff3 not found.
- Found ImageMagick: /usr/local/nin/convert; image thumbnailing will
be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: /home/joshua-w/public_html/wiki
Script URI path: /wiki
Environment checked. You can install MediaWiki
Generating configuration file...
Database type: mysql
Fatal error: Class languageen: Cannot inherit from undefined class
languageutf8 in /home/joshua-w/public_html/wiki/languages/LanguageEn.php on line 12
Can anyone suggest what I should do next? Would I be better off reinstalling the package?
Or should I be looking for a missing, or empty, file here? I had no end of trouble getting all of the MediaWiki files up and onto my website, but I *thought* I'd gotten them all there intact.
The sites specs are:
FreeBSD 4.11-STABLE
mysql Ver 12.22 Ditrib 4.0.16
perl, v5.8.3
php 4.4.1
Okay, well I went back into my site and discovered alot of the files in the wiki dir and subdirs were 0 bytes. I have been having no end of trouble trying to get the application up onto the site, constantly losing the connection, but I thought I had check all of that.
Anyway, I got all the files up (knock wood) and tried the process again, with the following output:
* PHP 4.4.1 installed * Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. * PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions * GNU diff3 not found. * Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/joshua-w/public_html/wiki * Script URI path: /wiki * Environment checked. You can install MediaWiki.
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as joshua-w_wiki...success. * Connected to 4.0.16 o Error selecting database wiki: 1044 Access denied for user: 'joshua-w_wiki@localhost' to database 'wiki'
Am I overlooking something here? Should I delete the old .php file from the config dir and *then* retry it?
Rotem Liss wrote:
Did you get the file languages/LanguageUtf8.php correctly? Compare the file you have with http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_6_5/phase3/languages/Lan...
By the way, I think PHP 4 is officialy unsupported.
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
iPowerWeb as my web-provider. I am attempting to install MediaWiki on my website. I am getting the following when I try to finalise the thing from my browser:
- PHP 4.4.1 installed
- Warning: PHP's register globals option is enabled. Disable it in
you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities.
- PHP server API is apache; ok, using pretty URLs
(index.php/Page_Title)
- Have XML / Latin-UTF-8 conversion support.
- PHP is configured with no memory_limit
- Have zlib support; enabled output compression.
- Neither Turck MMCache nor eAccelerator are installed, can't use
object caching functions
- GNU diff3 not found.
- Found ImageMagick: /usr/local/nin/convert; image thumbnailing will
be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: /home/joshua-w/public_html/wiki
Script URI path: /wiki
Environment checked. You can install MediaWiki
Generating configuration file...
Database type: mysql
Fatal error: Class languageen: Cannot inherit from undefined class
languageutf8 in /home/joshua-w/public_html/wiki/languages/LanguageEn.php on line 12
Can anyone suggest what I should do next? Would I be better off reinstalling the package?
Or should I be looking for a missing, or empty, file here? I had no end of trouble getting all of the MediaWiki files up and onto my website, but I *thought* I'd gotten them all there intact.
The sites specs are:
FreeBSD 4.11-STABLE
mysql Ver 12.22 Ditrib 4.0.16
perl, v5.8.3
php 4.4.1
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Okay, tried it again, with the full database name this time, and got:
* PHP 4.4.1 installed * Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. * PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions * GNU diff3 not found. * Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/joshua-w/public_html/wiki * Script URI path: /wiki * Environment checked. You can install MediaWiki.
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as joshua-w_wiki...success. * Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on joshua-w_wiki...Query "GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w_wiki@localhost' to database 'joshua-w_wiki' (localhost)".
Looks like I'm in business... :-D
Nomad of Norad (David C Hall) wrote:
Okay, well I went back into my site and discovered alot of the files in the wiki dir and subdirs were 0 bytes. I have been having no end of trouble trying to get the application up onto the site, constantly losing the connection, but I thought I had check all of that.
Anyway, I got all the files up (knock wood) and tried the process again, with the following output:
[snippity]
Nomad of Norad (David C Hall) wrote:
Okay, tried it again, with the full database name this time, and got:
* PHP 4.4.1 installed * Warning: PHP's register_globals option is enabled. Disable it if
you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. * PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions * GNU diff3 not found. * Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/joshua-w/public_html/wiki * Script URI path: /wiki * Environment checked. You can install MediaWiki.
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are using a
MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as joshua-w_wiki...success. * Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on joshua-w_wiki...Query "GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w_wiki@localhost' to database 'joshua-w_wiki' (localhost)".
Aaargh....! Didn't look at the last bit closely enough...
I've created the MySQL database joshua-w_wiki previously, but it's empty (0 items in it). Am I supposed to insert something inside it for it to work? I had assumed MediWiki would create whatever was supposed to go in there when the time came...
Looks like I'm in business... :-D
Not...
Nomad of Norad (David C Hall) wrote:
Okay, well I went back into my site and discovered alot of the files in the wiki dir and subdirs were 0 bytes. I have been having no end of trouble trying to get the application up onto the site, constantly losing the connection, but I thought I had check all of that.
Anyway, I got all the files up (knock wood) and tried the process again, with the following output:
[snippity]
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
Okay, tried it again, with the full database name this time, and got:
[snippity]
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are
using a
MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as
joshua-w_wiki...success.
* Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on joshua-w_wiki...Query
"GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w_wiki@localhost' to database 'joshua-w_wiki' (localhost)".
Aaargh....! Didn't look at the last bit closely enough...
I've created the MySQL database joshua-w_wiki previously, but it's empty (0 items in it). Am I supposed to insert something inside it for it to work? I had assumed MediWiki would create whatever was supposed to go in there when the time came...
Okay, now there are 29 items in joshua-w_wiki, so I guess we're going in the right direction. In this last session, I had inserted joshua-w_wiki (the user, not the database) into the "Superuser account" field of the MediaWiki 1.6.5 Installation screen, with the appropriate password. Should I have used something else? I don't have (access to) a username named Root here. Come to think of it, my usual access account name is just plain joshua-w, maybe I should be using that as the Superuser account...
Aaaaarghhhh...! So many fiddly-bits to get confused by...
Well, just tried it with joshua-w as the Superuser. Same results...
# PHP 4.4.1 installed # Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. # PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) # Have XML / Latin1-UTF-8 conversion support. # PHP is configured with no memory_limit. # Have zlib support; enabling output compression. # Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions # GNU diff3 not found. # Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. # Found GD graphics library built-in. # Installation directory: /home/joshua-w/public_html/wiki # Script URI path: /wiki # Environment checked. You can install MediaWiki.
Generating configuration file... # Database type: mysql # PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. # Attempting to connect to database server as joshua-w...success. # Connected to 4.0.16 # Database joshua-w_wiki exists # There are already MediaWiki tables in this database. Checking if updates are needed... # Granting user permissions... Query "GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w@localhost' to database 'joshua-w_wiki' (localhost)".
On 22/05/06, Nomad of Norad (David C Hall) wikimaster@joshua-wopr.com wrote:
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
Okay, tried it again, with the full database name this time, and got:
[snippity]
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are
using a
MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as
joshua-w_wiki...success.
* Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on joshua-w_wiki...Query
"GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code "Access denied for user: 'joshua-w_wiki@localhost' to database 'joshua-w_wiki' (localhost)".
Create a user and grant them permissions on the database, then use that username and password as the connection username and password during installation.
In some shared hosting setups, granting the user "all" permissions on the database is required so that the schema can be set up.
Rob Church
Rob Church wrote:
On 22/05/06, Nomad of Norad (David C Hall)
wikimaster@joshua-wopr.com wrote:
Nomad of Norad (David C Hall) wrote:
Nomad of Norad (David C Hall) wrote:
Okay, tried it again, with the full database name this time, and
got:
[snippity]
Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are
using a
MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as
joshua-w_wiki...success.
* Connected to 4.0.16 * Database joshua-w_wiki exists * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Granting user permissions to wikiuser on
joshua-w_wiki...Query
"GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code
"Access
denied for user: 'joshua-w_wiki@localhost' to database
'joshua-w_wiki'
(localhost)".
Create a user and grant them permissions on the database, then use that username and password as the connection username and password during installation.
Well, in vDeck (Website administration Web interface), when I pull up the Databases screen, from what I see under the banner "set db permissions for user joshua-w_wiki" it appears I already have all the permissions set for the database joshua-w_wiki. I see checkboxes for Select, Insert, Update, Delete, Create, Drop, Index, and Alter, plus a Check All checkox that, when selected, causes all the other checkboxes to get checked.
It has been set to the above from the beginning.
Am I missing something here? Is there a hidden function or screen inside phpMyAdmin that further enables this stuff?
In some shared hosting setups, granting the user "all" permissions on the database is required so that the schema can be set up.
Rob Church _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Nomad of Norad (David C Hall) wrote:
* Granting user permissions to wikiuser on
joshua-w_wiki...Query
"GRANT DELETE,INSERT,SELECT,UPDATE ON `joshua-w_wiki`.* TO 'wikiuser'@'%' IDENTIFIED BY 'pl0p!' " failed with error code
"Access
denied for user: 'joshua-w_wiki@localhost' to database
'joshua-w_wiki'
(localhost)".
Create a user and grant them permissions on the database, then use that username and password as the connection username and password during installation.
Well, in vDeck (Website administration Web interface), when I pull up the Databases screen, from what I see under the banner "set db permissions for user joshua-w_wiki" it appears I already have all the permissions set for the database joshua-w_wiki. I see checkboxes for Select, Insert, Update, Delete, Create, Drop, Index, and Alter, plus a Check All checkox that, when selected, causes all the other checkboxes to get checked.
It has been set to the above from the beginning.
Am I missing something here? Is there a hidden function or screen inside phpMyAdmin that further enables this stuff?
Well, doing a google on "grant-delete-insert-select-update-on failed" leads me to here:
http://mail.wikipedia.org/pipermail/mediawiki-cvs/2005-August/010681.html
...where it states:
<quote> Log Message: Fix #1734: failed grant with usernames having a -. </quote>
Looks like this is the problem. I have a username with a dash in. Unfortunately, going without the dash is not an option: My webspace provider, when generating things for internal usage at the website, only gives me the option of appending something to the end of a fragment of username that has a dash in it, rather than generating a whole new username from the get go.
Is there a way around this can't-use-a-username-with-a-dash problem?
Nomad of Norad (David C Hall) wrote:
Well, doing a google on "grant-delete-insert-select-update-on failed" leads me to here:
http://mail.wikipedia.org/pipermail/mediawiki-cvs/2005-August/010681.html
...where it states:
<quote> Log Message: Fix #1734: failed grant with usernames having a -. </quote>
Looks like this is the problem. I have a username with a dash in. Unfortunately, going without the dash is not an option: My webspace provider, when generating things for internal usage at the website, only gives me the option of appending something to the end of a fragment of username that has a dash in it, rather than generating a whole new username from the get go.
Is there a way around this can't-use-a-username-with-a-dash problem?
Under the theory that this might be an internal bug with MediaWiki itself, I have created a Bugzilla report on it, here:
http://bugzilla.wikimedia.org/show_bug.cgi?id=6063
MediaZilla bug# 6063
I suppose any further discussion on it will take place there.
mediawiki-l@lists.wikimedia.org