[opencms-dev] js-error sitll not solved (was javascript-errors (object expected))
Bryan LaPlante
blaplante at netwebapps.com
Thu Sep 25 19:27:01 CEST 2003
I am emailing here again in hopes someone will respond as I am trying to
implement a site with opencms that is working on my winXP box but will not
work on the clients win2k box.
I have it narrowed down to a specific problem. in the function
checkForm(whichone) on page
/system/workplace/action/explorer_files_new_folder.html is calling a
function named encodeURIComponent. I can not locate this function in any of
the /system/workplace/scripts. I have only looked in the most obvious one
and I am going to continue looking for this function definition.
I believe what ever page is responsible for loading this function to be
called when creating a folder that there must be a try catch block that is
set to do nothing hence there are no tomcat error's or opencms logs to
verify what may be going wrong.
Please refer to the earlier email for system details and the original
problem. Or better yet I will paste it below.
Hi folks,
I am having the same problem as described back in January by Marc-Christian
Hillebrand. I have looked everywhere to try and solve the problem and I am
having no luck.
If I try to create any type of resource, page, folder etc.. I get a
JavaScript error at line 44 Object expected. I would have thought that an
error might show up in the logs saying that a page failed to load or
something causing the js function not to be available. My environment info,
setup and procedures are below. If anyone else has solved this problem,
please give me some insight as to what I can do.
win2k service pack 4
opencms 5.0
mysql 3.2.3.55
j2sdk1.4.1_03
tomcat-4.1.18-LE-jdk14
I set the start up link for Tomcat with the -Dfile.encoding="ISO-8859-1" so
the jvm will start with the proper file encoding for opencms.
[opencms-dev] Beginner's problems
Marc-Christian Hillebrand opencms-dev at www.opencms.org
Thu, 23 Jan 2003 12:33:19 +0100
Previous message: [opencms-dev] Beginner's problems
Next message: [opencms-dev] No Pictures in the demo even after publishing?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----------------------------------------------------------------------------
----
Hi Nico,
thank you very much. Now it works. :-)
Could this hint be found somewhere in the docs?
Marc
Nico Krause schrieb:
> HI Marc,
>
> This is maybe because of wrong JAVA Version try 1.4.
> And also put a flag
>
> CATALINA_OPTS="-Dfile.encoding=UTF-8" as an environment variable
> or into the Catalina.sh/.bat startup script.
>
>
> Nico
>
>
>
> -----Original Message-----
> From: Marc-Christian Hillebrand [mailto:marc.hillebrand at bricon.de]
> Sent: Donnerstag, 23. Januar 2003 09:50
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] Beginner's problems
>
> Hi,
>
> I'm trying out OpenCMSrc1. But I have big problems.
> I installed the package and got no errors. So far so
> good. I also prepare my client as mentioned in the
> docs. I'm using IE6SP1, set opencms-url as trusted
> domain and installed the editor-component.
>
> After installation I created a new project and a user.
> But I'm not able to create a new Object( e.g. folder) inside the
> project-tree.
> I always get javascript-errors (object expected).
>
> What am I doing wrong, please help,
> Cheers Marc
>
> --
> ------------------------------------------------------------------------
> *Marc-Christian Hillebrand*
> BriCon Unternehmensberatung GmbH (www.bricon.de <http://www.bricon.de>)
> Marc.Hillebrand at BriCon.de
>
More information about the opencms-dev
mailing list