By Sean Carney on Friday, 09 May 2014
Posted in Technical Issues
Likes 0
Views 1.2K
Votes 0
Sorry for the double posting. I just added this as a Priority Support ticket into the Ticket System but I had previously created here in this forum the message below:

I just upgraded to EasySocial v1.2.10 and am now finding many javascript errors throughout the site.

The site is at https://www.Starch-Smart.com

I am getting the javascript errors when doing tasks such as:

Lookup a user and click on the "Add as friend" button
Look up a users profile and click on "Unfollow user"
Click on the "Message" link to send users a message

etc...

I should probably roll back but don't like doing that in case I lose something added by a recent users. So, I am going to leave it for you to see and hopefully fix right away! :-)

Apparently people also can no longer register for the site!
hello sean,
the problem you're facing is because of your cloudflare cdn is not delivering the easysocial javascript files as you can see here: http://screencast.com/t/6kXm2SDBW

so when the system can't load the javascript any actions that are relying on this can't be executed. please try to refresh your cdn, that should fix your issue.

hope that helps but if you have any questions feel free to get back to us at any time. have a nice day
·
Friday, 09 May 2014 06:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for figuring this out. It is an interesting puzzle. The files you showed me are two new files and they need to be pulled to the cloudfront

Somehow there must be another file that is caching a path to the old files which did not get copied to the CDN? I believe that I may need to invalidate whatever files point to these new files so that the system will download the newer version of whatever files are calling that path. I believe then their system would download the newer files. This is an interesting problem!
·
Friday, 09 May 2014 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
OK. I discovered that the reason those files never made it to my CDN is because they do NOT exist on my starch-smart.com site. Please login with ftp at starch-smart.com and you will see those files do NOT exist in my installation.
·
Friday, 09 May 2014 10:07
·
0 Likes
·
0 Votes
·
0 Comments
·
These are the files that exist on my system after the 1.2.10 installation:
media/com_easysocial/scripts/easysocial-1.2.8.static.min.js
media/com_easysocial/resources/default-1.2.8.js

I did my upgrade using the Download Launcher file. Perhaps in the future I should use the Download Full option?
·
Friday, 09 May 2014 10:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

I believe there are some permission issues on your /media/ folder which is why the installer wasn't able to copy the files across. I have fixed this for you and it should work fine now
·
Friday, 09 May 2014 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
That did it. I reinstalled and all the files got placed where they belong. The CDN appears happy too. :-)
Yay... I can let people know that they can register now.
Thank you!!!!

Sean
·
Friday, 09 May 2014 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Sean, glad that your issues are resolved now
·
Friday, 09 May 2014 11:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post