500 - JHtml: :bootstrap not supported.

More
11 years 1 month ago #34619 by juanpiggee
Hi I'm running Sparky on a new J2.5.16 website. I'm developing on my local machine right now so there's no public access. I'm running PHP 5.3.13, Apache 2.2.22, and MySQL 5.5.24. I am also using VirtueMart 2.0.24 but I don't know if it matters. When I go into the store, view an item, and click on any button (recommend to a friend, call for price, ask a question about this item) I get the error:

500 - JHtml: :bootstrap not supported. File not found.

It is similar to the problem in another post at the url below but none of those options have addressed my problem.

www.hotjoomlatemplates.com/support-forum...ns-do-not-work#32103

My database colation is good and the directory specified has the same 23 files as a fresh install. I have also switched to other templates and when I do everything works as it should. I'm not sure what to do next. Is there any help you can provide?

Please Log in to join the conversation.

More
11 years 1 month ago #34630 by ivan.milic
In template folder in component.php

remove this line:

// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');


in index.php remove this:

if (preg_match("/2.5/i", JVERSION)) {
JHtml::_('behavior.framework', true);
} else {
JHtml::_('bootstrap.framework');
}

Please Log in to join the conversation.

More
11 years 1 month ago #34648 by juanpiggee
Thanks Ivan, it looks like that worked. I also had to remove the following:

// JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction);

It is on line 24 in component.php. I just commented everything out and it seems to have fixed the problem. Thank you again for your help.

Please Log in to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum