When I was trying to install this theme, I copied the bootstrap library from twitter.github.com/bootstrap to the theme directory
So that sites/all/themes/bh_bootstrap/bootstrap/css/bootstrap.css is reachable from the webserver.

When I enabled the theme, I received the message:
"The Bootstrap framework could not be found. In order to use the BH Bootstrap theme, you must download the framework from the Bootstrap project page, and extract it to sites/all/libraries/bootstrap (if the 7.x-1.x version of the Libraries module is installed) or to sites/all/themes/bh_bootstrap/bootstrap."

I traced the error in template.php line 517, Where I found a lot of confusing code, If after line 512 in dpm($bootstrap_theme_path) it returns with: /var/www/local/local/sites/all/themes/bh_bootstrap/bootstrap

Because my drupal installation is in /var/www/local reachable at localhost/local, Their is a additional local here.

Additional Info, RewriteBase / is commented in .htaccess

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bedlam’s picture

Assigned: Unassigned » bedlam
Priority: Normal » Major

Good catch. Kludgy code :)

Should be fixed in dev. Please try the most recent dev version and let me know if your issue is resolved.

khaled.zaidan’s picture

Status: Active » Needs review
FileSize
1.23 KB

Hi,

I just ran into the same issue, it is still there also in the dev version :S

I think that we simply do not need the $base_path variable, since it is already included in DRUPAL_ROOT. Instead we only need to add '/'.

Here's a small patch (against dev) to fix the issue :)

bedlam’s picture

We'll try again :)

Should be fixed in dev. Please test that it works for you (it ought to, now that I understand the issue & somebody actually wrote the patch for me...)

Many thanks for the patch, khaled.zaidan.

If it works without further issues I'll make a new stable release incorporating this fix.

cyper983’s picture

YEAH!!! It works great!!!

bedlam’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)