Last modified: 2013-06-28 17:18:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20539, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18539 - Database Errors & File/Image Errors
Database Errors & File/Image Errors
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Configure (Other open bugs)
unspecified
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Alexandre Emsenhuber [IAlex]
http://www.superwikia.com/wiki
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-20 21:29 UTC by Habatchii
Modified: 2013-06-28 17:18 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Bad Copy (24.91 KB, text/plain)
2009-04-20 21:29 UTC, Habatchii
Details

Description Habatchii 2009-04-20 21:29:25 UTC
Created attachment 6046 [details]
Bad Copy

I have recently located two notible errors/bugs with the MediaWiki software, the first being a bug which returns this prompt; 

* " A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: "

It most probably occured in response to installing conflicting extensions. I have made provision a revised version of the Local Settings for the site to further investigate the matter. 

Secondly, the recent transition of image to file tags on the main MediaWiki application has contributed to no images (thumbnails) being displayable on the site. Only the logo and the original image file shows images, not thumbnailed or embedded images.

If at all possible, please review these bugs for consistancy and program continuity.

~~~~Habatchii
Comment 1 Roan Kattouw 2009-04-20 22:04:09 UTC
(In reply to comment #0)
> Created an attachment (id=6046) [details]
> Bad Copy
> 
> I have recently located two notible errors/bugs with the MediaWiki software,
> the first being a bug which returns this prompt; 
> 
> * " A database query syntax error has occurred. This may indicate a bug in the
> software. The last attempted database query was: "
> 
Did you run update.php after the upgrade or extension installation? See http://www.mediawiki.org/wiki/Manual:Upgrade#Run_the_update_script for directions.

> It most probably occured in response to installing conflicting extensions. I
> have made provision a revised version of the Local Settings for the site to
> further investigate the matter. 
> 
> Secondly, the recent transition of image to file tags on the main MediaWiki
> application has contributed to no images (thumbnails) being displayable on the
> site. Only the logo and the original image file shows images, not thumbnailed
> or embedded images.
> 
It doesn't show thumbnails, so what does it show?

In your attached LocalSettings.php, you've got lots and lots of require_once() calls including core files: this should not be necessary. You should add the extension-related require_once() calls to the *bottom* of LocalSettings.php. You should also not be redefining all of $wgSpecialPageGroups, instead just add or alter stuff using $wgSpecialPageGroups['specialpagename'] = 'groupname';
Comment 2 Alexandre Emsenhuber [IAlex] 2009-04-21 17:03:55 UTC
I see other problems in your LocalSettings.php with Configure extension's settings: first some settings such as $wgConfigureHandler must be changed beetween the time you include the extension's main file ( require_once( "$IP/extensions/Configure/Configure.php" ); ) and the time you call efConfigureSetup() which is not the case there. Secondly not all that settings are boolean, read again http://www.mediawiki.org/wiki/Extension:Configure#Configuration_settings or Configure.php for allowed values. Also some extensions configurable in Special:Extensions require database updated before they can work, you'll need to run maintenance/update.php as Roan Kattouw said in comment #1 (if the extension supports it) or manually apply the patch in the database. Warnings are displayed just before the extensions are displayed in Special:Extensions.

About images: check in Special:Configure that you *don't* use constants for the values in $wgNamespaceAliases but numbers since the former won't work. (e.g. use 6 instead of NS_IMAGE). 
Comment 3 Alexandre Emsenhuber [IAlex] 2009-07-27 17:48:35 UTC
Marking as INVALID, seems to be due to misconfiguration on your side.
Comment 4 Habatchii 2009-07-27 18:15:29 UTC
The major problem has been resolved. There is however a remaining issue with the search functions. I have not been able to locate the source of the problem and need technical support in identifying possible solutions.
Comment 5 Alexandre Emsenhuber [IAlex] 2009-07-27 18:27:25 UTC
I will need more details, such as what is broken exactely, ...
Comment 6 Andre Klapper 2013-06-27 13:22:21 UTC
Habatchii: If this is still a problem, please provide more details.
Comment 7 Habatchii 2013-06-27 18:27:04 UTC
I have a slight advancement since rebuilding the installation on the server; currently I needed assistance with the Extension:Collection. It is installed, but apparently not completely so formatting and other issues (namely the the images) are not seen when the output file is created. The end collection of articles has very little structure and overlaps on pages after one article is finished. Some tables are excluded altogether. Also, I have not been able to upload any files to the default publisher, so the extension must have inconsistencies not being read by the parser or the system messages. 

If needed, I can share a Princess Foobar LocalSettings to show the current layout.

Any suggestions?
Comment 8 Andre Klapper 2013-06-28 17:18:58 UTC
As this currently sounds like configuration issues and not like issues in the codebase, please ask on the corresponding talk page, in this case http://www.mediawiki.org/wiki/Extension_talk:Collection#LQT_based_discussions , or on https://www.mediawiki.org/wiki/Project:Support_desk .

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links