• Resolved arbiebrown

    (@arbiebrown)


    When I click the ‘download as csv’ button – all appears to work fine, however all that is contained within the file is:

    <b>Fatal error</b>: Call to undefined function mb_convert_encoding() in <b>/home/mybrgco/public_html/wispa.it/wp-content/plugins/speakup-email-petitions/includes/csv.php</b> on line <b>106</b><br />

    I’m sure there is probably an easy fix for this – would you let me know what it is please?

    Thanks

    http://wordpress.org/extend/plugins/speakup-email-petitions/

Viewing 1 replies (of 1 total)
  • Plugin Author Kreg Wallace

    (@kreg)

    You are probably missing the mbstring module from your PHP installation. When the CSV file is created, this module is used to convert the text encoding into a format that MS Excel prefers.

    A workaround is to open /includes/csv.php in the plugin’s folder and change line 106 from this:
    echo chr( 255 ) . chr( 254 ) . mb_convert_encoding( $csv, 'UTF-16LE', 'UTF-8' );

    to this:
    echo $csv;

    Now, when you download the CSV file, you’ll need to change its file extension from .csv to .txt before opening it in Excel.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: SpeakUp! Email Petitions] CSV – illegal call’ is closed to new replies.