By Michael Zahariev on Tuesday, 31 May 2016
Posted in General
Likes 0
Views 555
Votes 0
Hi i'm adding a new js file to the scripts folder but it is not being added to the manifest. How can i recompile the js files so that my new files will be added to the manifest and be detected by the easydiscuss component?
perhaps my easydiscuss version is outdated or you are mistaking easydiscuss with easysocial because easysocial has the folder structure that you are referring to above.

Actually that is correct path as my colleague mentioned at above, may i know what is your current Easydiscuss version? is it using Easydiscuss 3.x?

If yes, can you try open this file JoomlaFolder\media\foundry\3.1\libraries\closure.php

const URL = 'http://deployer.stackideas.com:1280';

//replace with

const URL = 'http://oauth.stackideas.com/compiler';



Then run this following compile url -> http://site.com/administrator/index.php?option=com_easydiscuss&compile=1

if the issue still persists, can you provide us with your Joomla backend and FTP access so we can better have a check?

And guide us which is your custom script file you put at?
·
Wednesday, 08 June 2016 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Tuesday, 31 May 2016 15:32
·
0 Likes
·
0 Votes
·
0 Comments
·
hi i ran the url you suggested and it didn't do anything much, my old minified files are still there, and they do not contain any of the new code i added to the various js files found in /media/com_easydiscuss/scripts.
(The old minified js file is still being served!) and there also is nothing newer to serve.
any other suggestions perhaps...?
·
Monday, 06 June 2016 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Which folder did you add the js to? You should place it in /media/com_easydiscuss/scripts/site/src/ if you want to add this script to the front end, and /media/com_easydiscuss/scripts/admin/src if you want to add this script to the back end.

Also, take note that:

http://site.com/administrator/index.php?option=com_easydiscuss&compile=1 (This compiles the back end)

http://site.com/index.php?option=com_easydiscuss&compile=1 (This compiles the front end)

The reason that we have 2 different script files is because we don't want to add the extra payload of the back end scripts into the front end.
·
Monday, 06 June 2016 23:45
·
0 Likes
·
0 Votes
·
0 Comments
·
perhaps my easydiscuss version is outdated or you are mistaking easydiscuss with easysocial because easysocial has the folder structure that you are referring to above. Easy discuss on my end does not have this structure, the only subfolder that "/media/com_easydiscuss/scripts" has is "/layout ".

I also ran the compile URL on the front end and I got "Error: 0 No HTTP response from server"
·
Tuesday, 07 June 2016 20:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi it worked, I received this response:

array(4) { ["static"]=> string(100) "/home/digitalfrontiers/public_html/stageit/media/com_easydiscuss/scripts/easydiscuss-3.2.9744.static" ["optimized"]=> string(103) "/home/digitalfrontiers/public_html/stageit/media/com_easydiscuss/scripts/easydiscuss-3.2.9744.optimized" ["resources"]=> string(91) "/home/digitalfrontiers/public_html/stageit/media/com_easydiscuss/resources/default-3.2.9744" ["minify"]=> bool(true) }

My current easydiscuss version is 3.2.9744. Thanks for the help, cheers!
·
Wednesday, 08 June 2016 14:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Great !!

That response message is actually show you the compiler is success.

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 08 June 2016 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post