|Cargo - navigation|
|Basics||Main page (talk) · Download and installation · Quick start guide · Other documentation · SMW migration guide|
|Using Cargo||Storing data · Querying data (Display formats) · Browsing data · Exporting data · Other features|
|Resources for help||Common problems · Known bugs and planned features · Getting support|
|About Cargo||Authors and credits · Version history · Sites that use Cargo · Cargo and Semantic MediaWiki · FAQ|
- If you see an error message that looks like "A database query error has occurred. This may indicate a bug in the software.", you should add the following to LocalSettings.php, so that the page displays a more helpful error message:
$wgShowSQLErrors = true;
- Similarly, if you see an error message like "Fatal exception of type MWException", add the following to LocalSettings.php for a more helpful error message:
$wgShowExceptionDetails = true;
- If you have the Joomla! CMS running on the same server as MediaWiki, it may lead to the Cargo "recreate data" action failing. That is because one of Joomla's recommended htaccess settings blocks the string "template" in the URL, and Cargo uses this word as a parameter in its API call. To get Cargo working, you will probably have to modify or remove this line.
- If you want to show a row number for each row in the query results, the easiest approach is to use the "template" format, and use the NumerAlpha extension - specifically the #counter parser function - within the template.