Loading...
 

Tikiwiki-devel (mailman list mirror)


Tiki18 javascript error

Hi Jean-Marc,
I do not understand why you get that error. Sorry but what is referencing the missing file?
And is Composer not supposed to remove files no longer shipped?

> -----Message d'origine-----
> De : Jonny Bradley mailto:jonny@tiki.org
> Envoyé : 11 janvier 2018 08:30
> À : Tiki developers <tikiwiki-devel@lists.sourceforge.net>
> Objet : Re: Tiki-devel Tiki18 javascript error
>
>
> I don't think "normal" users will get this, it's only if you've been running trunk or 18.x before the alpha
> on svn that this would be a problem, but i guess removing all vendor files needs doing occasionally so
> by all means add a new option to setup.sh if you think it would help.
>
> We (and by that I'm mean you ;) just need to pick a letter - "C" maybe?
>
> jb
>
>
>
>
> > On 11 Jan 2018, at 12:28, Jean-Marc Libs <jeanmarc.libs@gmail.com> wrote:
> >
> > Now I don't see this red box any more. Could it be that composer eventually figures out these
> things?
> >
> > I did it anyway, thanks for the hint.
> >
> > I'm concerned that it's hard to figure out and a big waste of time for normal users.
> >
> > Since console.php does not seem to know about composer and clear:caches can't possibly be
> expected to re-run composer I wonder if we should add an option in setup.sh which would be similar
> to this:
> > c run composer (log output on screen, not all warnings) and exit (recommended to be done first)
> > L run composer (log output to logfile) and exit (recommended to be done first)
> > V run composer (verbose log output on screen) and exit (recommended to be done first)
> > (some letter of the alphabet) clear all third-party files. You will need to run composer afterwards
> >
> > It would simply do
> > rm -rf vendor_bundled/vendor/*
> >
> > Opinions?
> >
> > Cheers,
> > J-M
> >
> > On Thu, Jan 11, 2018 at 12:34 PM, Jonny Bradley <jonny@tiki.org> wrote:
> >>
> >> I saw this one a while ago, that file had previously been deleted by the composer clean vendors
> function, but now it isn't and composer doesn't know that, so you need to delete
> vendor_bundled/vendor/mottie and re-run setup.sh (or composer install)
> >>
> >> HTH
> >>
> >> jb
> >>
> >>
> >>
> >> > On 11 Jan 2018, at 01:00, Jean-Marc Libs <jeanmarc.libs@gmail.com> wrote:
> >> >
> >> > Hi devs,
> >> >
> >> > I restored a Tiki18 on a freshly updated Tiki18 source and I get errors in a red box:
> >> > Error
> >> >
> >> > • JavaScript file "vendor_bundled/vendor/mottie/tablesorter/js/widgets/widget-
> sort2Hash.js" cannot be found so will not be minified.
> >> >
> >> > And yes, there is no such file. I could not make it appear with any of the following:
> >> > sh setup.sh
> >> > Logout → Login
> >> > php console.php i:r
> >> > php console.php c:c
> >> > Disable javascript minification → Enable javascript minification
> >> >
> >> > Anyone has an idea?
> >> >
> >> > Cheers,
> >> > Jyhem
> >> > ------------------------------------------------------------------------------
> >> > Check out the vibrant tech community on one of the world's most
> >> > engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_
> >> > TikiWiki-devel mailing list
> >> > TikiWiki-devel at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >> ___
> >> TikiWiki-devel mailing list
> >> TikiWiki-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org!
> http://sdm.link/slashdot_
> > TikiWiki-devel mailing list
> > TikiWiki-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.