Javascript error in Portal
Hello All,
I am facing two issues. One is sometimes when I login to Portal with admin id, it prevents me from displaying contents under the content administration. The reason being a Javascript error at the left bottom of the browser page access denied. However, I am logging in with administrator id.
However, this error doesnt comes always. It comes randomly.
I am getting this error even while executing a portal application that links directly to iviews by
*<a href= ""> </a> tag*
It again sayins javascript error: access denied.
Any idea why this error is coming? How Should i resolve this error?
Kindly advise.
Thanks,
Ameya Pimpalgaonkar
Edited by: Ameya Pimpalgaonkar on Nov 12, 2009 7:01 AM
Amey,
Please install fire bug along with Mozilla and try to login to the application. This will help you to find from where the error is coming exactly.
Also, clear your browser cache and try to login and check.
Ram
Similar Messages
-
Netui javascript errors in portal
The following code works in a webapp. It generates javascript errors in portal
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
<%@taglib tagdir="/WEB-INF/tags" prefix="dst" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<netui:html>
<head>
<netui:base/>
<script language="JavaScript" type="text/JavaScript">
function dstcheck(tagname)
alert(document[lookupIdByTagId("sampleForm", this)][lookupIdByTagId("textID", this)].value);
</script>
</head>
<netui:body>
<netui:form action="begin" tagId="sampleForm">
<netui:textBox dataSource="pageFlow.textValue" tagId="textID" onBlur="dstcheck('textID')"></netui:textBox>
<netui:anchor action="begin" formSubmit="true">first link</netui:anchor>
<dst:sample/>
</netui:form>
</netui:body>
</netui:html>Can you attach the javascript errors you were getting?
Thanks
Subbu
Srinivas Surapaneni wrote:
The following code works in a webapp. It generates javascript errors in portal
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
<%@taglib tagdir="/WEB-INF/tags" prefix="dst" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<netui:html>
<head>
<netui:base/>
<script language="JavaScript" type="text/JavaScript">
function dstcheck(tagname)
alert(document[lookupIdByTagId("sampleForm", this)][lookupIdByTagId("textID", this)].value);
</script>
</head>
<netui:body>
<netui:form action="begin" tagId="sampleForm">
<netui:textBox dataSource="pageFlow.textValue" tagId="textID" onBlur="dstcheck('textID')"></netui:textBox>
<netui:anchor action="begin" formSubmit="true">first link</netui:anchor>
<dst:sample/>
</netui:form>
</netui:body>
</netui:html> -
Getting javascript error in portal admin
Dear all,
When i tried to add a content item in the CMS of Weblogic Portal 8.1, an "unterminated string constant" javascript error is displayed and i can't add the content. This happens only when the content item is of a type that contains one or more calendar type property.
Did anybody also encounter that and have some idea how to solve it?
Thank you!!
DavidHi Bharat
refer to this for the Log file
Physical path of log files in EP server
Portal Runtime Error - Where is the log file?
For javscript problem refer to
Javascript error when loading Portal Content
Portal Content Permissions
Getting javascript error while logging in EP
Thanx
Pankaj -
Urgent: Javascript Error in Portal Navigation
Hi,
We are using EP 6.0 SP 13.
We are facing an issue of Java script error in the portal.
The areas in which the portal is affected are as follows:
1. When we open the Login page of the portal, the Font Type, Size and
formatting and the style of "Log in" button is not normal.
2. After we login, Any component that uses javascript is not working
3. Whenever we execute any BW report we are getting alert box with
message:
"Session Manager will not work!"
4. When we try to log out, again we get scripting error.
5. We are also not able to navigate in User Mangement and Content Management.
Please help as soon as possible.
Regards,
PrasadHello Prasad,
As we are talking about JavaScript errors, it is interesting to know which browser and OS you are using?
INTERNET EXPLORER 5.5 WINDOWS SERVER 2000/IA32 32BIT
Not Released
31.03.2004
INTERNET EXPLORER 6.0 WIN XP 2002 PROF. 32-BIT Released 31.03.2004
INTERNET EXPLORER 6.0 WINDOWS SERVER 2000/IA32 32BIT Released 31.03.2004
INTERNET EXPLORER 6.0 WINDOWS SERVER 2003/IA32 32BIT Released 27.06.2005
INTERNET EXPLORER 7.0 WIN XP 2002 HOME 32-BIT Released 11.12.2006
INTERNET EXPLORER 7.0 WIN XP 2002 PROF. 32-BIT Released 11.12.2006
See the for supported browsers:<a href="https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=RELEASE&00200682500000002804=01200314690900000192&00200682500000003818=WBRPFM&00200682500000003853=Enterprise%20Portal">NW2004_Browsers</a>
Greetings,
Praveen Gudapati
p.s Points are always welcome for helpful answers -
Javascript error on Portal content
Hello
I don't know whether this question is relevant in this forum but I am facing this while publishing web dynpro I-View onto Portal.
When I go to link http://host:port/irj its opening Portal Content page with one Browse and Search tab. But nothing is showing up in that and hence I am not able to publish my web dynpro i-view. Is this related to browser version. I am using IE 6.0 SP2.
Thanks in advance.
Regards
RajeevHi,
Try to delete your cookies in your IE.
tools-options-deletecookies and deletefiles. Ane create new Window.
Then it might helps.
Other wise goto this document it will helps you.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
Thanks,
Lohi. -
Javascript error during translation in portal
hi,
i am transalating objects from english to italian in portal content translation...
but during the implementation i am having javascript errors in portal.
there is no problem in the english version..
Snippet of the english javascript
<title >XYZ</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<script SRC="/irj/portalapps/com.sap.portal.httpconnectivity.httpauthentication/scripts/CAManagerScript.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.navigation.helperservice/scripts/HistoryFramework.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.navigation.helperservice/scripts/NavigationFramework.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.pagebuilder/scripts/pagesupport.js" ></script>
<link REL=STYLESHEET HREF="/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/BDS/prtl/prtl_ie6.css?6.0.15.0.49" TYPE="text/css" >
<link REL=STYLESHEET HREF="/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/customer/BDS/ur/ur_fc_ie6.css?6.0.15.0.49" TYPE="text/css" >
<script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/controls_ie5.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/sapUrMapi_ie6.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/popup_ie6.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/languages/urMessageBundle_en.js" ></script>
<script SRC="/irj/portalapps/com.sap.portal.navigation.toplevel/scripts/toplevelnavigation.js" ></script>
</head><body class="prtlBody urFontBaseFam urScrl">
<!-- EPCF: Component com.sap.portal.navigation.portallauncher.default, ngifocjigiaefchfplbhppaombngcpbo -->
<!-- EPCF: Component com.sap.portal.pagebuilder.pageBuilder, akaimbgolgbpepcdkebifnaombngcpbo -->
<Script>
var caEngine = new CAManager('/irj/servlet/prt/portal/prtroot/com.sap.portal.httpconnectivity.httpauthentication.Engine','dialogHeight:10;dialogWidth:20;center:1;help:0;status:0');
caEngine.registerCAEvent('com.sap.portal.httpconnectivity.httpauthentication','Teach',caEngine,'eventCallBack');
</Script>
And the corresponding script in italian is
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<SCRIPT src="Introduzione - Kodak Portal_files/CAManagerScript.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/HistoryFramework.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/NavigationFramework.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/pagesupport.js"></SCRIPT>
<LINK href="Introduzione - Kodak Portal_files/prtl_ie6.css" type=text/css
rel=STYLESHEET><LINK href="Introduzione - Kodak Portal_files/ur_fc_ie6.css"
type=text/css rel=STYLESHEET>
<SCRIPT src="Introduzione - Kodak Portal_files/controls_ie5.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/sapUrMapi_ie6.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/popup_ie6.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/urMessageBundle_it.js"></SCRIPT>
<SCRIPT src="Introduzione - Kodak Portal_files/toplevelnavigation.js"></SCRIPT>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY class="prtlBody urFontBaseFam urScrl"><!-- EPCF: Component com.sap.portal.navigation.portallauncher.default, ingimdmohgfmmefgpmjakjaoloejooag ><! EPCF: Component com.sap.portal.pagebuilder.pageBuilder, bpjeddnfehibjmgdenlbfdaolmpgdhip -->
<SCRIPT>
var caEngine = new CAManager('/irj/servlet/prt/portal/prtroot/com.sap.portal.httpconnectivity.httpauthentication.Engine','dialogHeight:10;dialogWidth:20;center:1;help:0;status:0');
caEngine.registerCAEvent('com.sap.portal.httpconnectivity.httpauthentication','Teach',caEngine,'eventCallBack');
</SCRIPT>
seeing the scripts, the difference is that the path in italian is not given..
where do i have to give that??
need help in this regard...While translation make sure u dont leave a space in the end in the translated text.
I found this error resolved after removing the spaces from the end of the translated text. -
Javascript error calling a bi 7.0 webapplication from a bsp application
Hi everyone,
This is the scenario we're facing a javascript error :
Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
The html link to the bi web application is created according to this documentation :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
Purpose of the bsp application :
in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
The process described above is :
working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
The javascript error calling bi 7.0 web applications is :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
Message: Object doesn't support this property or method
Line: 96
Char: 11
Code: 0
URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
Is there any way to find out, what is causing this object is missing ?
Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
system components :
production system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 7
q&a system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 8
Kind regards.
DirkHello everyone,
we did some further analysis on this problem und we think we found the problem.
The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
Has anyone seen this before? Any ideas how we can fix this?
Kind regards,
Matthias
Edited by: Matthias Keller on Jun 9, 2011 2:07 PM -
Javascript error in Content Admin- Portal Content- iview Navigation window
Hi friends,
We are in the process of portal migration and as a part of this, we installed NW04 SPS 14 using Rapid Installer and then upgraded it to SPS 18. The components we upgraded are:
Java component
Portal Platform
Knowledge Management and Collaboration
Adobe Document Services
BI UDI
BI MMR
After upgradation, when we logged in to portal, we were not able to see/browse Portal pages/Roles/Iviews/Worksets (PCD Contents) under Content Administration->Portal Content.
Again, whichever window is there for navigation of PCD, we are not able to see the contents of PCD.For e.g. System Administration -> System Configuration.
Does anyone know how to solve this issue?
Regards,
NilzHi nilz,
See this thread:
Getting javascript error while logging in EP
Javascript error when loading Portal Content
Regards, Suresh KB -
Javascript error in Content Admin- Portal Content
Hi Experts,
We have just installed SAP Netweaver Portal 7.0. We get an error of javascript when we navigate to Content Administration->Portal Content and due to this Portal Content Folder is not displayed. While through Super Admin role Portal Content is displayed with javascript error. Please guide us, its Urgent.
Rewards to satisfactory answers.
Regards,
Bharat Mistry.Hi Bharat
refer to this for the Log file
Physical path of log files in EP server
Portal Runtime Error - Where is the log file?
For javscript problem refer to
Javascript error when loading Portal Content
Portal Content Permissions
Getting javascript error while logging in EP
Thanx
Pankaj -
JavaScript Out of Memory Error on Portal timeout.
Hello All,
I am using jsf and Inline navigation in all our portlets and when user leave the browser idle for portal timeout we have 2 problems. 1: Login portlet shows in that specific portlet. 2: we get a javascript alert saying out of memory at line 40. and the porltet shows error message as "Gateway was not able to access requested content. If the error persists, contact your portal Administrator."
We are using Plumtree 5.0.4 Java version.
any help is highly appreciated.
Thanks
A.J.Both are valid behaviors unfortunately.
1) login portlet is showing up in specific portlet b/c inline navigation allows for you to create and load pages without affecting the overall portal.
This happens when you use iframes (which behave in a similar fashion).
- your only workaround is really to write some javascript function to "listen" to the portal login page getting loaded and then throwing the session into the parent browser (which is Portal). At least this is the only solution that I ever came up with when using Iframes.
2) Don't know about out of memory error actually, but getting the "gatewy was not able to access requested content" is valid b/c the session died.
- javascript errors require javascript solutions. Sorry I couldn't be more helpful than that.
Maybe someone else will have better suggestions.
The other suggestion is to use your app server to listen to the logout event and redirect appropriately to somewhere else, or have it do what you want it to do in situations as this. -
Javascript error on launching application from portal
When we launch BW reports from our portal (Netweaver 7.0) , it gives a javascript error and the reports would not launch for some users. The launch pad is using WEBDYNPRO-ABAP . The javascript error that we are getting is - u2018Childnodes.lengthu2019 is Null or Not an Object . This happens on all versions of Internet Explorer. Has any one encountered this issue ?
Hi,
When we launch BW reports from our portal (Netweaver 7.0) , it gives a javascript error and the reports would not launch for some users. The launch pad is using WEBDYNPRO-ABAP
Check whether user who are facing problem are using FQDN in URL. ( FQDN of portal )
FQDN --> http://<portalhost.<domian>.com:5nn00/irj/portal
Thanks
Anil -
Hi All,
We are using SRM in our portal so as to create shopping carts.
When the user is clicking on some of the buttons while creating shopping cart, javascript errors are popping up.
Examples of these errors are
Message: Object expected
Line: 2787
Char: 1
Code: 0
URI: http://xxx.xxx.xxx/scripts/services/bbpsc020a000005/flN0YXRlPTg3NDkuMDA0LjA0LjAy?target=_top
Message: 'return' statement outside of function
Line: 1
Char: 1
Code: 0
URI: http://xxx.xxx.xxx/scripts/services/bbpsc020a000005/flN0YXRlPTg3NDkuMDA0LjA0LjAy?target=_top
Message: Object expected
Line: 2787
Char: 1
Code: 0
URI: http://xxx.xxx.xxx/scripts/services/bbpsc020a000005/flN0YXRlPTg3NDkuMDA0LjA0LjAy?target=_top
Can someone please let me know how to go about solving these errors.
Many thanks,
NikhilHi All,
I tested this in Mozilla Firefox 3.6.9 and when I place the cursor on the "Check" or Back button, then it displays
javascript:return;
Not sure which particular javascript is being used and howcome this awful piece of code is getting populated.
Please if someone can help to resolve this.
Thanks,
Nikhil -
Javascript error in Standard MDM IViews on portal
Hello Xperts,
I have deployed standard MDM IViews on my portal.
In standard Resultset IView, there is a provision of saving results by using My Bags option. When I click on My Bags option and then New Bag, it throws javascript error.
Details of systems are as below.
MDM API version 5.5
Portal Version EP 7 SP07.
Appreaciate any inputs for this.
AshutoshHi Anu,
Thanks for the reply.
we are able to login to Data Manager with Mapped ID's and I even tried creating new IViews. Nothing worked.
As you suggested, will try restarting the portal server.
Thanks
Satish -
Javascript error throws the portal theme configuration page
General Description: Javascript error and jump to the portal theme
configuration page
EP: NW04s SP12 including KMC
We have a problem when we entry to the portal, a javascript
error happens and immediately jumps to the portal theme configuration
page. We entry at the portal with a user that have assigned the next groups.
LR_Administrador LR_Administrador Base de datos UME
Everyone Built-in Group Everyone Adaptador de grupo integrado
Authenticated Users Built-in Group Authenticated Users Adaptador de
grupo integrado
The group LR_Administrador have assigned this role
Nombre unívoco:
pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles/kof.com.mx.LR_MX_ROL_Administrador
Nombre de visualización: kof.com.mx.LR_MX_ROL_Administrador
Ubicación:
pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles
Descripción: Libro Rojo
ID unívoco: ROLE.PCD_ROLE_PERSISTENCE.38yt+Psq/fFQuE3Uxdt52Azfdpg=
The role LR_MX_ROL_Administrador, have assigned only one page called:
LR_MX_PAG_Edicion
This page contains a KM Navigation iview.
When we entry with this user, the browser show us this javascript error:
Linea: 107
Car: 116
Error: 'children' es nulo o no es un objeto
Codigo: 0
URL: http://fedbdvep:50000/irj/portal
And immediately show the portal theme configuration page.
We need that the user see the page assigned, but this error shows him
always the portal theme configuration page. This kind of error happens with
other roles too. We've found a workaround
for this situation, doing click on the first level navigation, the
LR_MX_PAG_Edicion page shows normally.
Thank for any help.
Regards
JoseThanks for your update, we have resolved the issue with this help. Very thankfull.
regards,
kishore -
Javascript:void(0) error in portal page
Hi,
I am using EP 7.1. IE 6. when i am working in content admin, user admin or system admin some time entire roles are working fine. But in frequent way i am getting error in portal page like JavaScript: void (0) and at the mean time i am unable to work in portal like not able to create users, not able to add iView with page or some tab is not functioning at all.
Can someone explain me the region, why this error i am getting and how we can resolve this error?
Thanks,
Kundan
Edited by: Kundan 2009 on Mar 17, 2010 11:17 AMHi Kundan,
Please check with Basis for server session timeout and clear browser cache and temp files
Also check below thread if it helps :
http://www.topbits.com/javascript-void-0.html
[How to enable JavaScript in Internet Explorer|http://www.topbits.com/how-to-enable-javascript.html]
Hope it helps,
Regards
Arun
Edited by: Arun Jaiswal on Mar 17, 2010 4:15 PM
Maybe you are looking for
-
Dear Experts IN MB5s Report System is taking Qty of GR is 2 times if DCGR is two times and if its 3 times then system will Take add of All DCGR Are add when we r checking in MB5s and about the IR qty its add all of Separte qty regarding the posting
-
Windows vista kernel32.dll
I need some help, trying to install skype it gives me a fatal error that says: Failed to get proc address for GetLogicalProcessorInformation (kernel.dll).I was wondering if there was any way to fix it and for those saying "get a better pc" i would bu
-
SAP Netweaver Portal - Folder structure and report publishing strategy
Hi gurus, I'm working on a project in which we are publishing BW reports in SAP Netweaver Portal (prior to this, we were using SAP Bex Browser) organizing it by Department (workset, 2nd lvl of navigation), Business Processes (workset, 3rd lvl of navi
-
Import cd "itunes has encountered a problem and needs to close"
While importing a CD i get an error message halfway through and the burning stops. The windows message is: "itunes has encountered a problem and needs to close". I have tried to repair: 1. remove Quicktime and repair itunes. 2. updated windows, itune
-
Hi Gurus, While starting our Disaster recovery server after one year we are getting following errors in the bootstrap process please suggest actions......................................................................................................