Page 1 of 1

Losing all formatting on deployed site (v12)

Posted: Tue Dec 20, 2016 12:49 pm
by Aleks

My project work fine on my localhost but when I upload it to my hosting company's server all the formatting disappears and I only able to see the text without the CSS formatting. If there is already information regarding this on this forum a point to where I can find it would be appreciated.


Re: Losing all formatting on deployed site

Posted: Tue Dec 20, 2016 4:24 pm
by motfs

Double check if you have uploaded the CSS file (check the CSS folder to verify).


Re: Losing all formatting on deployed site

Posted: Wed Dec 21, 2016 5:09 am
by Aleks

Yes, the aspxcss folder has the same css files uploaded as in the development localhost.


Re: Losing all formatting on deployed site (v12)

Posted: Wed Dec 21, 2016 10:37 am
by motfs

You need to check if this folder "bootstrap3" exists as well. If still not sure, you can press F12 and click "Console" to investigate.


Re: Losing all formatting on deployed site (v12)

Posted: Thu Dec 22, 2016 3:27 am
by Aleks

Console shows the following Errors:

ReferenceError: ew_Language is not defined[Learn More] login.cshtml:50:6
ReferenceError: ew_Form is not defined[Learn More] login.cshtml:110:5
TypeError: flogin is undefined[Learn More] login.cshtml:187:1

Also a warning about using password fields login on an unsecure http: site


Re: Losing all formatting on deployed site (v12)

Posted: Thu Dec 22, 2016 11:50 am
by motfs

It seems that ewx12.js is missing.

Better to upload ALL the files again to test. You have to verify if ALL the files uploaded successfully.


Re: Losing all formatting on deployed site (v12)

Posted: Sat Dec 24, 2016 7:05 am
by Aleks

Verified the ewx12.js file is in the aspxjs folder.


Re: Losing all formatting on deployed site (v12)

Posted: Fri Dec 30, 2016 11:22 am
by motfs

You have to verify if ALL the files uploaded successfully.
ReferenceError: ew_Language is not defined[Learn More] login.cshtml:50:6

Have you verified if ALL the files uploaded successfully and the correct path? Also, check the file "login.cshtml" in local machine and in Hosting to verify if it is the same.

Press F12 in your browser, check the Network tab and see if ewp12.js is loaded successfully by your browser.