• To anyone who can help:

    I’m having this error whilst trying to import from wp-table.

    Fatal error: Call to undefined function: mb_detect_encoding() in /home/content/s/t/e/steupz/html/wordpress/wp-content/plugins/wp-table-reloaded/php/wp-table-reloaded-import.class.php on line 319

    Using wordpress 2.8.3

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Yes, I use this function since 1.4 for an additional check when importing a table.
    According to http://www.php.net/mb_detect_encoding it is available in PHP >= 4.0.6 (which you certainly have as WordPress requires at least PHP 4.3.0).
    Therefore I can only imagine that the “mbstring” library (mb is for Multibyte) is not included in your server’s PHP.

    Could you therefore check with your webhost/support, if they could include that library into the PHP on your server?

    Thanks!
    Tobias

    Thread Starter steupz

    (@steupz)

    Is there anyway I can bypass this just to load the table?
    Because I wanna scrap wp-table and just use your plugin

    Hi,

    Yes, you can do the following:
    Open the file wp-table-reloaded-import.class.php
    and go to line 319 (where you’ll see that missing mb_detect_encoding function).
    Simply replace that line with
    return $string;
    and save.

    This will remove a small check, if the data is corrupted but it’s okay to remove the check.
    You will then be able to import your tables from wp-Table into WP-Table Reloaded.

    Best wishes!
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Cannot import table’ is closed to new replies.