Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Randy_Johnson's avatar

Layout looking fine on local but not on Server

Hi, I have just uploaded my project online but even though it looks fine on local, when going to the dashboard after logging in, everything is all over the place. Of course something to do with the CSS, but when I check everything seems to be working as normal.

https://halcyon-learning.online/ [email protected] 12345678

0 likes
4 replies
PhilKz's avatar

Menu accordion wouldn't open for me in Chrome on an Android phone.

Randy_Johnson's avatar

Hey what, it works on chrome... Okay its all working now, I just ctrl f5. No idea what I did since I did like 100 things. But am guessing it had something to do with clearing caches.

PhilKz's avatar

Just opened the site on Firefox and immediately got an error saying Bootstrap requires JQuery and something called "Starback" is not defined in your Javascript. It looks like something isn't being bundled properly when you go into production. What are you using to host the site?

The error message:

Uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
    jQueryDetection util.js:179
    <anonymous> util.js:195
    <anonymous> bootstrap.bundle.min.js:6
    <anonymous> bootstrap.bundle.min.js:6

[...]

Uncaught ReferenceError: Starback is not defined
    <anonymous> https://halcyon-learning.online/:664

The accordion also still won't work on my mobile, but I think this is probably related to your Javascript being broken.

PhilKz's avatar

On the plus side, the dashboard layout looks normal on my computer (accordion still doesn't work though).

Please or to participate in this conversation.