largersmallernormaltext version of this page

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015351phplistInstallationpublic20-10-09 20:1429-10-09 17:15
Reportershez001 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformOSOS Version
Product Version2.10.10 
Target VersionFixed in Version 
Summary0015351: Bug in MySql installation script of PHPList
DescriptionAfter installing PHPList on server and going through the admin panel I noticed that I was receiving errors such as table does not exist. This was very strange so I decided to do some further investigation.

Findings:

On line number 1087 in the phplist.sql:

INSERT INTO `phplist_user_blacklist_data` VALUES ('billgates@microsoft.com','reason','I\\\'m not really that interested in your newsletter anymore. Sorry.');

This is not correct as the \\\ in the query escapes the rest of the sql and the remaining tables are not executed this results in a broken installation.

The correct sql is:
INSERT INTO `phplist_user_blacklist_data` VALUES ('billgates@microsoft.com','reason','I\'m not really that interested in your newsletter anymore. Sorry.');

After doing this fix and adding the tables below this line number everything worked perfectly.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0050760)
michiel (administrator)
29-10-09 17:15

the sql file is not used in installation


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker