Losing all formatting on deployed site (v12)

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Losing all formatting on deployed site (v12)

Postby Aleks » Tue Dec 20, 2016 12:49 pm

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.
Aleks
 
Posts: 4
Joined: Tue Dec 20, 2016 12:39 pm

Re: Losing all formatting on deployed site

Postby motfs » Tue Dec 20, 2016 4:24 pm

Double check if you have uploaded the CSS file (check the CSS folder to verify).
motfs
 
Posts: 619
Joined: Tue Sep 08, 2015 4:55 pm

Re: Losing all formatting on deployed site

Postby Aleks » Wed Dec 21, 2016 5:09 am

Yes, the aspxcss folder has the same css files uploaded as in the development localhost.
Aleks
 
Posts: 4
Joined: Tue Dec 20, 2016 12:39 pm

Re: Losing all formatting on deployed site (v12)

Postby motfs » Wed Dec 21, 2016 10:37 am

You need to check if this folder "bootstrap3" exists as well. If still not sure, you can press F12 and click "Console" to investigate.
motfs
 
Posts: 619
Joined: Tue Sep 08, 2015 4:55 pm

Re: Losing all formatting on deployed site (v12)

Postby Aleks » Thu Dec 22, 2016 3:27 am

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
Aleks
 
Posts: 4
Joined: Tue Dec 20, 2016 12:39 pm

Re: Losing all formatting on deployed site (v12)

Postby motfs » Thu Dec 22, 2016 11:50 am

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.
motfs
 
Posts: 619
Joined: Tue Sep 08, 2015 4:55 pm

Re: Losing all formatting on deployed site (v12)

Postby Aleks » Sat Dec 24, 2016 7:05 am

Verified the ewx12.js file is in the aspxjs folder.
Aleks
 
Posts: 4
Joined: Tue Dec 20, 2016 12:39 pm

Re: Losing all formatting on deployed site (v12)

Postby motfs » Fri Dec 30, 2016 11:22 am

> 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.
motfs
 
Posts: 619
Joined: Tue Sep 08, 2015 4:55 pm


Return to General Discussion (ASP.NET Maker)