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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Trouble with styles & JS on live site


Go to End


3 Posts   977 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, 5523 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.