Skip to main content
Participant
Aug 23, 2018 6:34 AM UTC
Answered

Bootstrap Collapse does not work.

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 is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Aug 23, 2018 5:59 PM UTC

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

4 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
Aug 23, 2018 5:59 PM UTC

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/

Translate
Nancy O'Shea— Product User & Community Expert
WolfShade
Legend
Aug 23, 2018 4:17 PM UTC

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,

^ _ ^

Translate
Community Expert
Aug 23, 2018 1:11 PM UTC

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).

Translate
BenPleysier
Community Expert
Community Expert
Aug 23, 2018 6:45 AM UTC

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

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