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