[opencms-dev] 404 - when opening Gallery from HtmlWidget

always.work.in.progress always.work.in.progress always.work.in.progress at gmail.com
Thu Oct 27 11:34:41 CEST 2016


Thanks  Tobias,
for all your hints and help!
without your help, i could not solve my opencms problems.
a last question:
the default SOLR Offline index source has to be set to:
"/" folder
or to:
"/sites/" folder
?

bye,
A.


2016-10-26 17:03 GMT+02:00 Tobias Herrmann <t.herrmann at alkacon.com>:

> Hi Kai,
>
> by default the SOLR Offline index is configured correctly.
> The second part is true, we use the index internally and if you change the
> configuration, some core features may not work as intended.
>
>
> Kind regards,
>
> Tobias
>
> -------------------
>
> Tobias Herrmann
>
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
> Am 26.10.2016 um 11:56 schrieb Schliemann, Kai:
>
>> Hi Tobias,
>> I am not sure, if I understand you correctly.
>> Is it true, that the image type is missing in the original OpenCms setup
>> and should be added manually?
>> Is it true, that if I want to change the configuration of the Solr
>> Offline index in any other way, I better should create a new index?
>>
>> Best regards
>> Kai
>>
>> -----Ursprüngliche Nachricht-----
>> Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at op
>> encms.org] Im Auftrag von Tobias Herrmann
>> Gesendet: Mittwoch, 26. Oktober 2016 11:02
>> An: The OpenCms mailing list <opencms-dev at opencms.org>
>> Betreff: Re: [opencms-dev] 404 - when opening Gallery from HtmlWidget
>>
>> Hi A.,
>>
>> you are right about the image type. Generally  it is not a good idea to
>> change the configuration of the 'SOLR Offline' index, as OpenCms core
>> functionality depends on it.
>> If you require an index with a different set of assigned document types
>> or a different set of sources, it is best to create a separate index
>> specific to your needs.
>>
>>
>> Kind regards,
>>
>> Tobias
>>
>> -------------------
>>
>> Tobias Herrmann
>>
>> Alkacon Software GmbH  - The OpenCms Experts http://www.alkacon.com -
>> http://www.opencms.org Am 25.10.2016 um 16:12 schrieb
>> always.work.in.progress
>> always.work.in.progress:
>>
>>> Hi Tobias,
>>>
>>> the result count stated "0 resources" as you told..and so i checked
>>> the "Solr index" index source in the search management and i
>>> discovered that "Image type" *_was not_* among the "assigned document
>>> types" (panel on the left side) so i have added also that type and
>>> rebuild the index, thinking that this could be the problem, and i was
>>> right, cause now finally opening image gallery, i can see the thumbs!
>>> :) this means that image type have to be always in the "assigned
>>> document types", otherwise opening image gallery, no image thumbs are
>>> shown, am i right ?
>>>
>>> thanks,
>>> bye,
>>> A.
>>>
>>>
>>>
>>> 2016-10-25 14:13 GMT+02:00 Tobias Herrmann <t.herrmann at alkacon.com
>>> <mailto:t.herrmann at alkacon.com>>:
>>>
>>>
>>>     Hi A.,
>>>
>>>     in the gallery dialog the number of found resources is displayed.
>>>     What is the result count in your case? In case the dialog states 0
>>>     resources are found, there is something wrong with the search index
>>>     used for the gallery dialogs. Open the search management tool and
>>>     rebuild the 'SOLR Offline' index.
>>>     If the dialog states there are some images found, but none are
>>>     displayed, you need to look into your site and/or your apache
>>>     configuration. Open the file /WEB-INF/config/opencms-system.xml and
>>>     check if the workplace-server node is set correctly to host name you
>>>     access the OpenCms workplace with. By default this is set to
>>>     'http://localhost:8080', which will most likely not be correct for
>>>     your environment. If you changed anything here, you need to restart
>>>     your servlet container afterwards.
>>>
>>>
>>>
>>>     Kind regards,
>>>
>>>     Tobias
>>>
>>>     -------------------
>>>
>>>     Tobias Herrmann
>>>
>>>     Alkacon Software GmbH  - The OpenCms Experts
>>>     http://www.alkacon.com - http://www.opencms.org
>>>     Am 25.10.2016 um 12:54 schrieb always.work.in.progress
>>>     always.work.in.progress:
>>>
>>>         hi Tobias,
>>>
>>>         pls escuse me if i write here in these thread..but i have a
>>> similar
>>>         problem (not the same) and i really do not know how to solve it,
>>>         i have
>>>         posted it here:
>>>         http://lists.opencms.org/pipermail/opencms-dev/2016q3/041252
>>> .html <http://lists.opencms.org/pipermail/opencms-dev/2016q3/041252.html
>>> >
>>>         (update here:
>>>         http://lists.opencms.org/pipermail/opencms-dev/2016q3/041258
>>> .html <http://lists.opencms.org/pipermail/opencms-dev/2016q3/041258.html
>>> >
>>>         )
>>>         (on my test i have used the "Admin" opencms user)
>>>
>>>         i would appreciate if you could shed some light on this strange
>>>         problem.
>>>
>>>         thanks in advance.
>>>         bye,
>>>         A.
>>>
>>>         2016-10-24 15:57 GMT+02:00 Tobias Herrmann
>>>         <t.herrmann at alkacon.com <mailto:t.herrmann at alkacon.com>
>>>         <mailto:t.herrmann at alkacon.com <mailto:t.herrmann at alkacon.com
>>> >>>:
>>>
>>>             Hi Thomas,
>>>
>>>             to fix this, open the explorer. Navigate into the root site
>>>         '/' and
>>>             into the folder '/system/workplace/commons/'. Open the
>>>         permissions
>>>             dialog for the resource 'gallery.jsp'.
>>>             Select the resource permissions view and add a permission
>>>         set for
>>>             the role 'Element author', check 'Read allowed' and click on
>>>         'Set'.
>>>             Close the dialog and publish the 'gallery.jsp'. It should
>>>         work now.
>>>
>>>
>>>             Kind regards,
>>>
>>>             Tobias
>>>
>>>             -------------------
>>>
>>>             Tobias Herrmann
>>>
>>>             Alkacon Software GmbH  - The OpenCms Experts
>>>             http://www.alkacon.com - http://www.opencms.org
>>>             Am 24.10.2016 um 13:49 schrieb Thomas Schmidt:
>>>
>>>                 Hello,
>>>
>>>
>>>                 is there any idea for that ? This is really hard to
>>>         debug for me.
>>>
>>>                 Many Thanks
>>>                 Kind Regards
>>>                 Thomas Schmidt
>>>
>>>
>>>                     Am 20.10.2016 um 12:36 schrieb Thomas Schmidt
>>>                     <t.schmidt at md-network.de
>>>         <mailto:t.schmidt at md-network.de> <mailto:t.schmidt at md-network.de
>>>         <mailto:t.schmidt at md-network.de>>>:
>>>
>>>
>>>                     Hello,
>>>
>>>                     many thanks for your reply !
>>>
>>>                     User has the role 'Element author'.
>>>
>>>                     The tomcat error message displayed is:
>>>
>>>                     -.-.-.-.
>>>
>>>                     HTTP Status 404 - /system/workplace/commons/gall
>>> ery.jsp
>>>                     type Status report
>>>                     message /system/workplace/commons/gallery.jsp
>>>                     description The requested resource is not available.
>>>
>>>                     -.-.-.-.
>>>
>>>                     The interesting is that the gallery works for other
>>>                     formatters with access to Galleries. It just doesn't
>>>         work in
>>>                     HtmlWidget (download/picture)gallery Icon.
>>>                     gallery.jsp has also not some significant different
>>>         access
>>>                     rights compared to other JSPs (and i wouldn't have
>>>         changed
>>>                     it either ) .
>>>                     If I elevate the user to "Workplace User" role, what
>>> i
>>>                     _don't_ want to, it would work.
>>>
>>>
>>>                     Thanks & Kind Regards
>>>                     Thomas Schmidt
>>>
>>>
>>>
>>>                 _______________________________________________
>>>                 This mail is sent to you from the opencms-dev mailing
>>> list
>>>                 To change your list options, or to unsubscribe from the
>>>         list,
>>>                 please visit
>>>
>>>         http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>> <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
>>>
>>>         <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>> <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>>
>>>
>>>
>>>
>>>             _______________________________________________
>>>             This mail is sent to you from the opencms-dev mailing list
>>>             To change your list options, or to unsubscribe from the
>>>         list, please
>>>             visit
>>>
>>>         http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>> <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
>>>
>>>         <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>> <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         This mail is sent to you from the opencms-dev mailing list
>>>         To change your list options, or to unsubscribe from the list,
>>>         please visit
>>>         http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>> <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
>>>
>>>
>>>
>>>     _______________________________________________
>>>     This mail is sent to you from the opencms-dev mailing list
>>>     To change your list options, or to unsubscribe from the list, please
>>>     visit
>>>     http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>     <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list To change
>>> your list options, or to unsubscribe from the list, please visit
>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list To change your
>> list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161027/a417e584/attachment.htm>


More information about the opencms-dev mailing list