Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Trouble with styles & JS on live site

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

Page: 1
Go to End
Author Topic: 297 Views
  • msawebdev
    Avatar
    Community Member
    10 Posts

    Trouble with styles & JS on live site Link to this post

    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
  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Trouble with styles & JS on live site Link to this post

    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);

  • msawebdev
    Avatar
    Community Member
    10 Posts

    Re: Trouble with styles & JS on live site Link to this post

    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.

    297 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.