Extension talk:MantisIntegration
Latest comment: 16 years ago by Schke in topic Please help to fix the source code
Please help to fix the source code
editIf I use the following syntax, I have some formatting problem
*<mantis>10</mantis>this text will be formatted on a new line (it's wrong)
And the following comment is on the html generated
<!-- NewPP limit report Preprocessor node count: 468/1000000 Post-expand include size: 5979/2097152 bytes Template argument size: 3071/2097152 bytes Expensive parser function count: 0/100 -->
Maybe someone can help to solve the Problems listed in Versioncomments:
* Problems: * special characters like germans 'ä', 'ü', ... didnt shown correctly * special characters with the extension "ToDo Tasks" http://www.mediawiki.org/wiki/Extension:Todo_Tasks it works fine * no hardcoded status---> read config_inc.php for $g_status_enum_string
My PHP skills aren't good enough.
A new Problem shown yesterday, these have the same Errorsource i believe: With the Extension "FCK Editor" Mantis Entries wont shown, if they have special characters inside the Title.
--Schke 09:21, 4 November 2008 (UTC)
The Problem with the specialchars seems to be resolved.
$sql = sprintf("SELECT id, convert(convert(summary using utf8), binary), status FROM ".$mantisDBPrefix."bug_table where id=%d",
mysql_real_escape_string($input));
Error Database.php...
editIf you get an Error like
Warning: mysql_real_escape_string(): 104 is not a valid MySQL-Link resource in /..../wiki/includes/Database.php on line 1691 Warning: mysql_query(): 104 is not a valid MySQL-Link resource in /..../wiki/includes/Database.php on line 817 Warning: mysql_errno(): 104 is not a valid MySQL-Link resource in /..../wiki/includes/Database.php on line 1063
You must use another user for connect as the user for wiki connect to database.
Thomas 12:21, 8 December 2008 (UTC)