NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Elements all weird on live server
Started by xb0t3r

xb0t3r

xb0t3r

Member
Joined
12 May 2016
Last Seen
15 Jul 2020
Topics
7
Posts
24
I've got a copy of namelessmc v2 on my localhost and it looks perfect on there and when i transfered it over to my web server it ends up like this?

https://gyazo.com/215aab3f3da9ca2c95e982e26715932c

I thought it might be something to do with the webpage not being able to find certain css files or js files but it's not? No clue what is causing this.

I'm almost certain it's being hosted on namelessmcs free hosting thing, not to sure, i'm setting this up for somebody they just gave me the cpanel details.
xb0t3r · over 6 years ago
xb0t3r

xb0t3r

Member
Joined
12 May 2016
Last Seen
15 Jul 2020
Topics
7
Posts
24
Nevermind figured it out, apparently the tables prefix has the database user on it.. duno what that's all about
xb0t3r · over 6 years ago
xb0t3r

xb0t3r

Member
Joined
12 May 2016
Last Seen
15 Jul 2020
Topics
7
Posts
24
infact nothing to do with that, it's to do with linux defaulting to case sensitive table names.

You'll need to add lower_case_table_names to the my.ini on the server you host the namelessmc free hosting thing on. :)
xb0t3r · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076
Glad you could fix the issue, the problem in your screenshot however looks like it's caused by your browser caching old CSS, in which case pressing Ctrl+F5 will fix it.
Samerton · over 6 years ago
xb0t3r

xb0t3r

Member
Joined
12 May 2016
Last Seen
15 Jul 2020
Topics
7
Posts
24
Samerton:
Glad you could fix the issue, the problem in your screenshot however looks like it's caused by your browser caching old CSS, in which case pressing Ctrl+F5 will fix it.

Well unsure why the screenshot is like that, however on namelesshosting can you set lower_case_table_names to 1? in the .ini file and restart the web server
xb0t3r · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076
There shouldn't be any need, the tables aren't an issue; it was purely CSS.
Samerton · over 6 years ago
xb0t3r

xb0t3r

Member
Joined
12 May 2016
Last Seen
15 Jul 2020
Topics
7
Posts
24
Samerton:
There shouldn't be any need, the tables aren't an issue; it was purely CSS.

Nah when i was making my own modules on my localhost and then porting them over to namelessmc hosting, i was getting errors as it couldn't determine the tables because they was case sensitive, and on linux servers it defaults to checking case sensitivity.
xb0t3r · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Nov 2024
Topics
41
Posts
1076
Ah okay I see, when developing something with MySQL queries it's best to assume the setting will be disabled, as many web hosts will have this option disabled.
Samerton · over 6 years ago