[Mediawiki-l] Problems after upgrading to 1.8.1 (update.php&images problem)

Brion Vibber brion at pobox.com
Thu Oct 12 01:26:42 UTC 2006


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20061011/9e61f503/attachment.pgp 


More information about the MediaWiki-l mailing list