Skip to main content
Participant
August 23, 2018
Answered

Bootstrap Collapse does not work.

  • August 23, 2018
  • 4 replies
  • 841 views

Hello everyone!
I need a lot of help on an issue that I found to be simple, but I could not solve it.
I'm creating a site in dreamweaver that has two bootstrap components. One is an accordion and the other is a button group. Both work with the page located on my computer. But it does not work on the server, even with all pages linked and uploaded.
I do not know what to do. Help me, if you can.

This topic has been closed for replies.
Correct answer Nancy OShea

Code validation errors might explain the problem.

Another possibility,  if your server is HTTPS (secure) and your assets are coming from non-HTTPS servers, browsers will block the non-secure content for security reasons.   It's best to avoid mixed content over secure servers.    Below is an online checker.

https://www.whynopadlock.com/

4 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
August 23, 2018

Code validation errors might explain the problem.

Another possibility,  if your server is HTTPS (secure) and your assets are coming from non-HTTPS servers, browsers will block the non-secure content for security reasons.   It's best to avoid mixed content over secure servers.    Below is an online checker.

https://www.whynopadlock.com/

Nancy O'Shea— Product User & Community Expert
WolfShade
Legend
August 23, 2018

This is a common issue for people who haven't defined a site before beginning the work on their project.  If a site hasn't been defined, then the src or href attributes typically begin with "file:///" in Windows (I don't know what it would be on a Mac.)  This path is accurate for the localhost,  but means nothing to the web server.  Check your code and see what all the src and href values are.

HTH,

^ _ ^

Community Expert
August 23, 2018

I agree with Ben. Sounds to me like you haven't uploaded the files to the remote server, or the path is wrong (make sure it doesn't say anything like C:\ or "Macintosh HD" in the path).

BenPleysier
Community Expert
Community Expert
August 23, 2018

To me, this sounds like you have not uploaded the CSS and JS files, alternatively, these files have been uploaded to the wrong location.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!