Hello,
I upgraded my Mediawiki from 1.6 to 1.8.1
I use MySQl 4.1.21 and PHP 5
My first Problem is, sometimes I recive this error:
Es gab einen Syntaxfehler in der Datenbankabfrage. Die letzte Datenbankabfrage lautete: (SQL-Abfrage versteckt) aus der Funktion „Image::loadFromDB“. MySQL meldete den Fehler „1142: SELECT command denied to user 'XX_YY'@'localhost' for table 'image' (localhost)“.
the second error is, that when i will run update.php i see this info:
PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XX/public_html/ de/wiki/includes/Exception.php on line 139
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XX/public_html/ de/wiki/includes/Exception.php on line 139
but in line 138/139 is only: class ErrorPageError extends MWException { public $title, $msg;
andy
Arena Andrea wrote:
My first Problem is, sometimes I recive this error:
Es gab einen Syntaxfehler in der Datenbankabfrage. Die letzte Datenbankabfrage lautete: (SQL-Abfrage versteckt) aus der Funktion „Image::loadFromDB“. MySQL meldete den Fehler „1142: SELECT command denied to user 'XX_YY'@'localhost' for table 'image' (localhost)“.
Double-check the database permissions, especially if you've got a shared database for images on another wiki.
the second error is, that when i will run update.php i see this info:
PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XX/public_html/ de/wiki/includes/Exception.php on line 139
You're running PHP 4 on the command line. PHP 5 is probably installed in a different path; check with your hosting provider or system administartor.
-- brion vibber (brion @ pobox.com)
ok, now it works.
PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XX/public_html/ de/wiki/includes/Exception.php on line 139
You're running PHP 4 on the command line. PHP 5 is probably installed in a different path; check with your hosting provider or system administartor.
My provider said, i must write "php5.cli update.php" to run it on PHP5.
andy
mediawiki-l@lists.wikimedia.org