Hi,

I am facing a problem while configuring this module, it always gives me the following error:

"Test failed: go back to the vB to Drupal configuration page, under Advanced options -> vBulletin path enter the path to your vBulletin installation. If you are unsure what this is contact your hosting company/system administrator."

here is the conditions of the vb and drupal installation:
- the system installed on a shared hosting on a server that I mange
- the system is Centos 5.x
- the account created using CPanel
- the drupal 6 is installed on /home/user/public_html/
- the vbulletin 3.8 is installed on /home/user/public_html/vb/

in the advanced options > vBulletin installation directory, I inserted all the possible paths but the error remains.

I tried to configure the vbulletin cookies configuration but it does not work

what Am i Doing wrong?

please advice.

Comments

liam mcdermott’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Thanks for reporting this, and sorry to be a pain in the bum, but does this occur on -dev version? Also try without the trailing '/', i.e. /home/user/public_html/vb This probably won't help, but is worth a try.

I've run this successfully on a couple of CentOS servers before, so it should work. If the above doesn't do it, this could be a bug.

hodba’s picture

I found the solution,

through checking the module, I found in the file vbtodrupal.module the following:

// Check for the existence of the avatars directory.
    $vb_attachment_path = db_result(vbimportapi_db_query("SELECT value FROM {{setting}} WHERE varname = 'attachpath'"));
    if (!is_dir($vb_attachment_path)) {
      $dir_fail = TRUE;
    }

and through tracking the mentioned variable I found that sometimes, in the "setting" table of the vbulletin database, the "varname = attachpath" does not contain the right value.

change in to the right value, in my case it was ".home/user/vb/images/attach", and it worked just find

best,

hodba