On 01/08/2010 05:30 PM, Gaëtan GUYODO wrote: > I get the wikidoesnotexist page ! > > I watch source of the page, and there's a few links to : > /xwiki/... > > but if I understand the use of wiki farm with "URL path based wiki > access", every acces should come with URL like : > /xwiki/wiki/aliasname
No, this URL format is only for wiki pages. This is a skin resource, which should not depend on the current wiki, so /xwiki/bin/skin/ should be valid. Could you check that you do have a file in <xwiki webapp folder>/resources/js/xwiki/xwiki.js? > so the page you want me to check should be: > /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js > > That page seems to get better answer, I get a message "Un problème est > apparu en essayant de réaliser cette action. Veuillez contacter > l'administrateur si cela se reproduit." (I did not import the xar file > or any page into that wiki, maybe that can explain that error page ?) > > Sergiu Dumitriu a écrit : >> On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote: >>> Here is the full<head> section : >>> >> >> It looks good. Can you check what does the server return for >> /xwiki/bin/skin/resources/js/xwiki/xwiki.js ? >> >>> Sergiu Dumitriu a écrit : >>>> Could you paste from the HTML source of the page the<head> part, >>>> especially the links to stylesheets and javascript files? I think the >>>> generated URLs are not valid. >>>> >>>> On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote: >>>>> I don't know...I explain : with IE, I get error messages as described. >>>>> With firefox, I don't get any error, but menus doesn't work (when I >>>>> point a mneu with the mouse, nothing happens and the menu doesn't open up >>>>> ! >>>>> I have installed firebug and activated all errors in the console. When I >>>>> try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors: >>>>> >>>>> La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été >>>>> chargée car son type MIME, « text/html », n'est pas « text/css » >>>>> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >>>>> Line 0 >>>>> >>>>> XML tag name mismatch (expected meta) >>>>> https://sid-sicap.aphp.fr/error.html >>>>> Line 5 >>>>> >>>>> >>>>> When mouse go over 'edit' menu or 'print' menu I get these errors: >>>>> >>>>> showsubmenu is not defined >>>>> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >>>>> Line 1 >>>>> >>>>> hidesubmenu is not defined >>>>> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >>>>> Line 1 >>>>> >>>>> Any idea ? >>>>> >>>>> Thomas Mortagne a écrit : >>>>>> On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> >>>>>> wrote: >>>>>>> Yes, I thought about that, but I have no problem using local url (on the >>>>>>> server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this >>>>>>> situation, everything works fine ! >>>>>>> but when I use IE or Firefox (I tried both) with external secured URL, I >>>>>>> get errors ! >>>>>> And do Firebug give you more detailed errors ? >>>>>> >>>>>>> Thomas Mortagne a écrit : >>>>>>>> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> >>>>>>>> wrote: >>>>>>>>> Using IE 7.0 I get "Erreur de script" (script error) : >>>>>>>>> line: 2 >>>>>>>>> character: 1 >>>>>>>>> Error: syntax error >>>>>>>>> Code: 0 >>>>>>>>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>>>>>>>> >>>>>>>>> That error appends 10 times before the page appears. After that, I >>>>>>>>> can't >>>>>>>>> use any menu, when my mouse pass on any menu, I get the same error >>>>>>>>> twice. >>>>>>>> So you mean javascript errors. Then it's not an URL issue since you >>>>>>>> properly access the wiki it seems. >>>>>>>> >>>>>>>>> Is there any way to give you more information ? I don't know which >>>>>>>>> script, how can I get it ? >>>>>>>> You should try with other browsers than IE (Firefox, Opera, etc.), >>>>>>>> this will give us some more informations. In Firefox, install the >>>>>>>> extension called "Firebug" that should give you some more detailed >>>>>>>> informations. >>>>>>>> >>>>>>>>> Thomas Mortagne a écrit : >>>>>>>>>> On Thu, Jan 7, 2010 at 23:04, guyodo >>>>>>>>>> gaetan<[email protected]> wrote: >>>>>>>>>>> Thanks, >>>>>>>>>>> I didn't use the "domain name based wiki access" but the "URL path >>>>>>>>>>> based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg >>>>>>>>>>> file). >>>>>>>>>>> First I tried to access to the main wiki using >>>>>>>>>>> https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It >>>>>>>>>>> does work, with many script errors, and many problems). >>>>>>>>>>> I created another wiki, called testwiki. >>>>>>>>>>> I can access it by >>>>>>>>>>> http://localhost:8080/xwiki/wiki/testwiki/view/Main but >>>>>>>>>>> https://mydomain/xwiki/wiki/testwiki/view/Main send me many script >>>>>>>>>>> errors ! >>>>>>>>>> What are theses errors exactly ? >>>>>>>>>> >>>>>>>>>>> I tried to declare SSL or not fin or the wiki descriptor=> same >>>>>>>>>>> results. >>>>>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same >>>>>>>>>>> results. >>>>>>>>>>> >>>>>>>>>>> Is there anything else to do for that kind of access ? >>>>>>>>>>> >>>>>>>>>>> Before migration, 1.8 was fine ! >>>>>>>>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could >>>>>>>>>>> be the migration, so I tried with a fresh new install => always >>>>>>>>>>> the same problems... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ----- Message d'origine ----- >>>>>>>>>>> De: Thomas Mortagne<[email protected]> >>>>>>>>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>>>>>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>>>>>>>> À: XWiki Users<[email protected]> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>>>>>>>> <[email protected]> wrote: >>>>>>>>>>>>> I, >>>>>>>>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / >>>>>>>>>>>>> oracle >>>>>>>>>>>> 10.2 >>>>>>>>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>>>>>>>> I have installed last tomcat, installed xwiki war file, copied >>>>>>>>>>>>> oracle >>>>>>>>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>>>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>>>>>>>> seems to >>>>>>>>>>>>> work fine. >>>>>>>>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar >>>>>>>>>>>>> with >>>>>>>>>>>>> success. >>>>>>>>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>>>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many >>>>>>>>>>>>> javascripts >>>>>>>>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many >>>>>>>>>>>>> times) >>>>>>>>>>>>> Is there any way to make it work ? >>>>>>>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without >>>>>>>>>>>>> results. >>>>>>>>>>>>> I tried to create another wiki, same problem. >>>>>>>>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>>>>>>>> The alias is the domain name not the URL. See >>>>>>>>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>>>>>>>> >>>>>>>>>>>>> => I don't have any trouble accessing by >>>>>>>>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>>>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>>>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>>>>>>>> >>>>>>>>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> Gaëtan -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
