Ok so looks like XWiki webjars handling is not a big fan of root webapp. Would be great if you could create a bug issue on http://jira.xwiki.org.
On Fri, Jul 17, 2015 at 4:23 PM, Listes N>T <lis...@nouveauxterritoires.fr> wrote: > Hello, > > i find > > <script type="text/javascript <>" > src="//webjars/requirejs/2.1.15/require.min.js?r=1 > <view-source:http://webjars/requirejs/2.1.15/require.min.js?r=1>"></script> > > because xwiki is my root webapp > > i rename xwiki.xml in ROOT.xml and change xpath to / . > > > Thanks for your help. > > Julien > > > >> Le 17 juil. 2015 à 16:13, Thomas Mortagne <thomas.morta...@xwiki.com> a >> écrit : >> >> Sounds like for some reason you don't have require.js loaded. >> >> When you look at a page source do you find <script >> type="text/javascript" >> src="/xwiki/webjars/requirejs/2.1.15/require.min.js?r=1"></script> in >> the head ? >> >> If you do is this link actually returning you javascript ? >> >> On Fri, Jul 17, 2015 at 3:12 PM, Listes N>T >> <lis...@nouveauxterritoires.fr> wrote: >>> >>> Hello, >>> >>> I install xwiki 7.1.1 or 7.2M1 on a debian 7 or 8 (newer, fresh install), i >>> have a javascript problem : >>> ReferenceError: require is not defined >>> >>> These errors appear during installation and on the wii also. >>> These errors block all web pages javascript >>> >>> >>> How can i do to resolve these errors ? >>> The new version, 7.2M1 do not correct these errors. >>> >>> I use the Debian package. >>> >>> Thans for your help, >>> >>> Julien >>> >>> _______________________________________________ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users