5 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 28   (RSS)

Hey Steve,

I've done some more research into this. I was able to replicate the bug, but only if I added a second encoding to the CSV Import Options, for example:

$GLOBALS['CSV_IMPORT_OPTIONS'] = array(
  'ENCODING'              => 'CP1252,UTF-8', // CP1252, ASCII, ISO-8859-1, UTF-8 - More: http://php.net/manual/en/mbstring.supported-encodings.php
....

Do you have more than one encoding type set in your CSV Import options? If this is the issue, I've got a potential workaround in mind until they patch the bug. 

Greg Thomas
PHP Programmer - interactivetools.com

Hey Greg,

It was actually a reference to the CSV Export plugin line 149:

  // send rows
  foreach ($records as $record) {
    if ($GLOBALS['CSVEXPORT_FOR_EXCEL']) { mb_convert_variables('CP1252', 'UTF-8', $record); }

The error showed up in the export file for every row.

Thanks,
Steve

Hey Steve,

My apologies, I misread the plugin name. It didn't help that both plugins have that function in!

I'm running PHP version 7.2 on my test server and wasn't able to replicate the issue. The odd thing is that bug 73322 only seems to happen when multiple 'from' encoding is used, but the CSV Export plugin uses a single encoding type. Would it be possible to complete a second level support request so that I can take a closer look at the source of the error:

https://www.interactivetools.com/support/request/

Please, could you include the FTP and CMS login credentials for the site affected?

Thanks,

Greg

Greg Thomas
PHP Programmer - interactivetools.com

Hey Greg,

No worries :)  I just submitted the 2nd level support request.

Thanks!

Steve