View Issue Details

IDProjectCategoryView StatusLast Update
0000506WackoWikiinstallerpublic2018-11-18 09:23
Reporteradministrator Assigned Toadministrator  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version5.5.6 
Target Version5.5.7Fixed in Version5.5.7 
Summary0000506: Installer fails with French as default language
DescriptionEscape issue in the inserts.fr.php file causing this.
MySQL error when inserting data containing apostrophes (single quotes)
Steps To ReproduceChoose French as default language
Additional InformationPHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accueil' , 'file:/wacko_logo.png
**Bienvenue sur votre wiki motorisé par ((Wack' at line 1 in /wackowiki-stable/wacko/setup/common.php:259
Stack trace:
#0 /wackowiki-stable/wacko/setup/common.php(259): PDO->query('INSERT INTO sta...')
#1 /wackowiki-stable/wacko/setup/lang/inserts.fr.php(13): insert_page('PagePrincipale', 'Page d'accueil', 'file:/wacko_log...', 'fr', 'Admins', true, false, NULL, 0)
#2 /wackowiki-stable/wacko/setup/insert_pages.php(46): require_once('/worksp...')
#3 /wackowiki-stable/wacko/setup/database-install.php(362): require_once('/worksp...')
0000004 /wackowiki-stable/wacko/class/installer.php(26): include('/worksp...')
#5 //wackowiki- in /workspace/wackowiki-stable/wacko/setup/common.php on line 259
TagsNo tags attached.

Activities

administrator

2018-11-17 10:52

administrator   ~0001017

added missing escape in insert_page function
https://sourceforge.net/p/wackowiki/dev/ci/f78c1377db89487f9ee329639300f8fe0a824292?at=default

Issue History

Date Modified Username Field Change
2018-11-17 09:41 administrator New Issue
2018-11-17 09:41 administrator Status new => assigned
2018-11-17 09:41 administrator Assigned To => administrator
2018-11-17 10:52 administrator Status assigned => resolved
2018-11-17 10:52 administrator Resolution open => fixed
2018-11-17 10:52 administrator Fixed in Version => 5.5.7
2018-11-17 10:52 administrator Description Updated
2018-11-17 10:52 administrator Additional Information Updated
2018-11-17 10:52 administrator Note Added: 0001017
2018-11-17 10:57 administrator Description Updated
2018-11-18 09:23 administrator Additional Information Updated