Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Trouble with styles & JS on live site


Reply

3 Posts   366 Views

Avatar
msawebdev

24 October 2012 at 12:11pm Community Member, 15 Posts

I am having some issues with the cms when moving to the live server:

Silverstripe version 2.4.7
Server: Litespeed

The symptom I am experiencing is that when going to a tab in a dataobject (product>>specifications) in the CMS it shows the table but when trying to edit it does not popup but shows the edit form directly requiring a complete research of product and selection of tab.

I checked the console and there does not appear any JS errors but I notices in resources that the stylesheets and scripts resources are quite different in live vs local (see attached images)

Way out of my depth here to debug this - not sure where to start.

Any ideas/help much appreciated

Attached Files
Avatar
Willr

24 October 2012 at 8:11pm Forum Moderator, 5511 Posts

On production the files are concatenated. You could try disabling this functionality to check (put this in your mysite/_config.php)

Requirements::set_combined_files_enabled(false);

Avatar
msawebdev

25 October 2012 at 11:38am Community Member, 15 Posts

Thanks Willr,

Unfortunately this didn't fix the issue. I see quite a few more js files now but still not the same as in the dev environment.