Re: Re: severe CSS and JS problems with ZMS latest
"Diez B. Roggisch" <[email protected]> Fri, 28 Jan 2011 17:23:23 +0100
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 28, 2011, at 5:00 PM, Niels Dettenbach wrote: > Am Freitag 28 Januar 2011, 16:36:14 schrieben Sie: >> The latter had the same issues as before - totally exploded layout, nothing >> works. The former looks ok at first, but e.g. the drop-down to add >> content-items is empty. > > hmmm, > sound's crazy. > > > Can you check / publish here the urls / pathes - i.e. to the regarding CSS and > JS within the HTML output - and / or compare it to the URLs to other objects > (i.e. within common and others)? > > I assume there is something wrong with your Virtual Host config or Zope host > configuration - but i'm not shure as long as you did not post any other > details. > > Another option may be some older modified ZMS templates, but as you told you > used any of the standard "templates" (from the drop down within the create ZMS > dialog) installed with a fresh ZMS instance. > > Did you checked the vars as described? > Did you checked what files are within > Products/zms/plugins/www/jquery/ or > Products/zms/plugins/www/jquery/ui/js/ > > i.e.: > <script type="text/javascript" charset="UTF-8" > src="/++resource++zms_/jquery/ui/js/jquery-ui-1.8.9.custom.min.js"></script> > > should point to a existing: > jquery-ui-1.8.9.custom.min.js > > within > Products/zms/plugins/www/jquery/ui/js/ > > btw: > I tried a complete new Zope 2.13 install incl. a freshly downloaded ZMS-latest > (from today night) with no probs too - so i assume the source of your probs > should / must be anywhere within your install or environment... Okay, I fully emptied + recreated my python2.6 virtualenv, easy_installed ZOPE 2.13 into it, downloaded the latest ZMS from zmslabs.org, created an instance, installed ZMS into Products. Still the same issue. I do have a jquery-ui-...js file at the right location on the FS, as you show above. But I get a 500 Server error when trying to retrieve it with e.g. wget http://localhost:8080/++resource++zms_/jquery/ui/js/jquery-ui-1.8.9.custom.min.js The error-log says: Time 2011/01/28 17:18:13.462239 GMT+1 User Name (User Id) Anonymous User (None) Request URL http://localhost:8080/++resource++zms_/jquery/ui/js/jquery-ui-1.8.9.custom.min.js Exception Type ComponentLookupError Exception Value ((<Products.Five.browser.resource.FileResource object at 0x10641eb50>, <HTTPRequest, URL=http://localhost:8080/++resource++zms_/jquery/ui/js/jquery-ui-1.8.9.custom.min.js>), <InterfaceClass zope.browserresource.interfaces.IETag>, u'') Traceback (innermost last): Module ZPublisher.Publish, line 126, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 46, in call_object Module zope.browserresource.file, line 202, in GET Module zope.component._api, line 109, in getMultiAdapter ComponentLookupError: ((<Products.Five.browser.resource.FileResource object at 0x10641eb50>, <HTTPRequest, URL=http://localhost:8080/++resource++zms_/jquery/ui/js/jquery-ui-1.8.9.custom.min.js>), <InterfaceClass zope.browserresource.interfaces.IETag>, u'') It seems only resources that use that "++resource++"-thing are affected. Diez