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   396 Views

Avatar
msawebdev

Community Member, 15 Posts

24 October 2012 at 12:11pm

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

Forum Moderator, 5513 Posts

24 October 2012 at 8:11pm

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

Community Member, 15 Posts

25 October 2012 at 11:38am

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.