Osclass forums

Support forums => Plugins => Facebook Connect => Topic started by: Ashish Vaish on June 28, 2015, 04:33:26 pm

Title: Receiving error when installing !
Post by: Ashish Vaish on June 28, 2015, 04:33:26 pm
I am receiving this error when installing Facebook Plugin :
Plugin couldn't be installed because of: Error importing the database structure of the jobboard plugin

Does anyone know how to fix this error!
Title: Re: Receiving error when installing !
Post by: ephraim on June 28, 2015, 07:27:36 pm
Looks like a plugin conflict, disable the job board plugin first and try to install facebook.
Title: Re: Receiving error when installing !
Post by: Ashish Vaish on June 28, 2015, 10:01:20 pm
Looks like a plugin conflict, disable the job board plugin first and try to install facebook.

But I havent installed job board plugin !
Title: Re: Receiving error when installing !
Post by: osbegin on September 28, 2017, 03:05:32 pm
Hi

the error happens when the installer cannot run  struct.sql script.
So the solution can be to
first: runt the script manually, using phpmyadmin or so. (do not forget to edit the script and replace /*TABLE_PREFIX*/ with your table prefix. defalut is oc_)
second: in OSCFacebook.php around line 139 remark the following lines:

            if( !$this->dao->importSQL( $sql ) ) {
                throw new Exception( __('Error importing the database structure of the jobboard plugin', 'jobboard') );
            }


It worked for me!