Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
In an attempt to get faster loading times, I tried to combine all of my .js files into one big ".combined.js" file. I went on to edit my source code to reflect the following (where it referenced the original .JS file):

{{ 'combined.js'| asset_url | script_tag }}

I found and replaced most of the references to the original .js files... but for the life of me can't find 4/24 references. Now the website is essentially broken... The home page slider wont work, multi language is unsupported.. etc etc.

I am running shopify if this helps

What I have tried:

I tried re-creating .js files, to get back the slider. Didn't work. I tried creating a new combined.js file. Didn't work. I went through the entire list of coding to replace every ".js"reference I used in the combined files. Didn't work, still cant find 4/24. Don't know how to fix this, and I'm a bit devastated.
Posted
Updated 18-Nov-17 19:25pm
Comments
Patrice T 19-Nov-17 0:52am    
No backups from before the changes?

1 solution

As ppolymorphe has suggested, restoring from your latest backup is the best - indeed, probably only - solution we can give from this distance. Make sure it works fully.

When you have done that, start by combining two files, and check the whole site. If it works, back it up.
Add a third. Test it. Back it up.
Continue until you get a failure - you can then look closely at why it fails, given the changes you just made.

We can't do any of that for you: we do not have any access to your website source code!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900