[opencms-dev] empty workspace (was: OpenCms 6.0 alpha 2 released)
Martin Kuba
makub at ics.muni.cz
Wed Oct 27 14:45:13 CEST 2004
Martin Kuba wrote:
> Alexander Kandzior wrote:
>
>> Hi all,
>>
>> OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available for
>> download from the http://www.opencms.org website.
>
>
> Hi, I tried it , but I have the same problem as before, the
> workplace is empty and my Mozilla's JavaScript console shows:
>
> Error: uncaught exception: [Exception... "Index or size is negative or
> greater than the allowed amount" code: "1" nsresult: "0x80530001
> (NS_ERROR_DOM_INDEX_SIZE_ERR)" location:
> "http://localhost:8080/cms/opencms/system/workplace/views/top_head.jsp
> Line: 13"]
On further investigation, I used webappname "opencms" and database
name "opencms", but the problem persists. It si caused by
JavaScript code in top_head.jsp which is:
12 function loadBody() {
13 var link =
document.forms.wpViewSelect.wpView.options[document.forms.wpViewSelect.wpView.selectedIndex].value;
14 window.top.body.location.href = link;
15 }
i.e it tries to get the selected option from form "wpViewSelect",
but it is empty:
<form name="wpViewSelect" method="post"
action="/opencms/opencms/system/workplace/views/top_head.jsp">
<td><select name="wpView" style="width:150px"
onchange="document.forms.wpViewSelect.submit()">
</select>
</td>
</form>
In the top_head.jsp the code generating the selection is:
wp.getViewSelect("name=\"wpView\" style=\"width:150px\"
onchange=\"document.forms.wpViewSelect.submit()\"")
I wonder why nobody else has this problem ? My setup is pretty
standard:
Date: 27.10.2004 14:01:16
Used JDK: 1.4.2_04
Used Servlet Engine: Apache Tomcat/5.0.25
MySQL is 4.0.16
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
More information about the opencms-dev
mailing list