Title: Warning error sql
Last modified: August 30, 2017

---

# Warning error sql

 *  Resolved [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/)
 * Hello
    I have this message :
 * Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in/
   homepages/9/d240094903/htdocs/WORDPRESS2/Disques/wp-content/plugins/tune-library/
   writeNodes.php on line 11
 * What should I do?
    Thanks Wiway

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9459460)
 * I have made changes to the writeNodes.php file, but I have not had a chance to
   fully test this code tonight. If you have time and the right skills to replace
   the contents of that script on your web site, here is the updated version:
 * [https://gist.github.com/ylefebvre/59269140f3aff0c45ee76e956806df7f](https://gist.github.com/ylefebvre/59269140f3aff0c45ee76e956806df7f)
 * Let me know if you do test the code and if it works correctly. Please consider
   donating to support this plugin’s development.
 *  Thread Starter [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9461539)
 * Hello,
    Thanks. I have no more errors. but when it is a double album it appears
   this: 1 – C’Est Pourtant Vrai 1 – J’Aime Avril A Paris 2 – C’Est Un Rocker 2 –
   Rio Grande 3 – Interlude 1 3 – 18 Ans Demain 4 – Nashville Ou Belleville 4 – 
   Interlude 6 5 – Sur La Route De Memphis 5 – Le Cimetière Des Elephants 6 – Il
   Ne Rentre Pas Ce Soir 6 – Le?che Bottes Blues 7 – Interlude 2 7 – Couleur Menthe
   A L’Eau … the albums for which I modified the heading “genre” (I filled in 45T
   33T CD …) do not appear. Is this normal?
 * Wiway
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9464574)
 * I just added support for disc numbers in the plugin. Please update to version
   1.6 and let me know if this works as expected for your collection.
 * I do not understand what you mean by items where you modified the genre not appearing.
   You just changed the music genre in iTunes? Can you perhaps send me your XML 
   file so I can import and test with it?
 *  Thread Starter [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9464642)
 * Hello,
    Thank you for your reply. I downloaded version 1.6 but song titles do
   not appear. Here is my site (under construction) : [http://www.unsiteensemble.fr/WORDPRESS2/Disques/](http://www.unsiteensemble.fr/WORDPRESS2/Disques/)
   Here is my xml file : [http://www.unsiteensemble.fr/Bibliotheque.xml.zip](http://www.unsiteensemble.fr/Bibliotheque.xml.zip)
 * thanks a lot for your help
    Wiway
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9466965)
 * You need to deactivate and reactivate the plugin to add a new field to the database,
   then delete all tracks in your database and re-import for tracks to display properly.
   Right now, tracks are not appearing because you are missing the disk ID field.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467013)
 * I am working on an updated version to be able to work without needing to re-import
   all of the data. That being said, if you want to see items displayed with disk
   ID information, you will need to re-import.
 * Let me know how things work after re-importing and please consider donating to
   support this plugin’s development.
 *  Thread Starter [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467301)
 * Hello,
    I followed your directions. I always have the worry when the disc contains
   several CDs. Thank you Wiway
 *  Thread Starter [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467316)
 * When I export the Itunes library (txt or xml), there is not disk ID information.
 *  Thread Starter [wiway](https://wordpress.org/support/users/wiway/)
 * (@wiway)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467352)
 * Its good. It works
    thank you very much Wiway
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467568)
 * Thanks for the feedback. Glad to hear that it is working now. Please consider
   donating to support this plugin’s development.
 * Yannick (de Montréal)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Warning error sql’ is closed to new replies.

 * ![](https://ps.w.org/tune-library/assets/icon-256x256.jpg?rev=971119)
 * [Tune Library](https://wordpress.org/plugins/tune-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tune-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tune-library/)
 * [Active Topics](https://wordpress.org/support/plugin/tune-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tune-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tune-library/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/warning-error-sql/#post-9467568)
 * Status: resolved