• Resolved kghalieh

    (@kghalieh)


    I have this error:

    Fatal error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in [I removed the path]/wp-content/plugins/fg-prestashop-to-woocommerce/admin/class-fg-prestashop-to-woocommerce-admin.php on line 512

    I am sure about the connection info.
    both databases are on the same server
    I am using Bluehost

Viewing 1 replies (of 1 total)
  • Plugin Author Kerfred

    (@kerfred)

    PDO and PDO_MySQL libraries are needed. You must enable them in php.ini on the WordPress host.

    On Windows:
    Edit php.ini and uncomment the line: extension=pdo_mysql.so

    Or on Ubuntu:

    sudo php5enmod pdo
    sudo service apache2 reload

    If you don’t have access to these commands, please contact the system administrator of your WordPress server.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.