Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
urgent - permission denied for call server
meha
HI
Im using formAPI & cgi to dynamically populate a drop down menu on the DCT.
It throws a "permission denied" javascript error.
Both the files are on the same server & permission 775 is set for the cgi file. The development is on Teamsite 5.5.2 on Solaris.
Kindly some one let me know what the reason could be.
Thanks in advance...
Meha
Find more posts tagged with
Comments
Migrateduser
This might be completely different from what it looks like. Sometimes, I get a JS permission denied error when I have something so simple as a self.resizeTo call in the wrong place.
Post your API and your CGI and hopefully someone can address your problem.
Dave
Current Environment(s):
(1) TS 6.1 SP2 on W2K3
(2) TS 6.1 SP2 on W2K
meha
Thanks Dave.
Im attaching the cgi file as well the form api js file.
Some one please help ... i tried giving alerts inbetween to trace where the error appears & on calling the parent.scriptFrame it throws the "permission denied" error.
Thanks in advance
Meha
kshitiz
Hi Meha,
Well instead of using
parent.getScriptFrame().populateCategory(categories,categoriesVal);
try using
self.opener.populateCategory(categories,categoriesVal);
It should work.
Kshitiz Sharma
BT Wholesale | CMS
Mahindra British Telecom
nagendra
Hi,
I feel the following code of yours could be the problem cause
var categories = new Array();
var categoriesVal = new Array();
categories='
@cato
';
categoriesVal='
@catoVal
';
alert("in cgi file");
in newsCategory.cgi.
Move those array/string objects into function scope, in yours case 'callOnLoad' function.
I did not test with this approach but still I feel this will solve your issue.
-nagendra
meha
Hi Kshitiz,
I tried changing this, but now it throws an error "self.opener is null or not an object".
what could be the problem ? Im really going mad pls help
Thanks & Regards,
Meha
kshitiz
Hi Meha,
I'm sorry for previous wrong information.
Can you please try this now:
opener.top.getScriptFrame().populateCategory(categories,categoriesVal);
Kshitiz Sharma
BT Wholesale | CMS
Mahindra British Telecom
meha
Hi Thanks for ur reply !
The problem is solved. There was permision problem with the IP.
Thanks for all ur replies
Meha
Sunil Mugalavally
Hi Meha,
I am facing the same problem..
Could you please explain how u fixed this issue.
Thanks Very much
cc96ai
I m facing the same problem, if you could tell me how to fix the IP problem,
its really helpful.
Thanks
Nissan
I m facing the same problem, could you tell me how to fix the IP problem,
it will be really helpful.
nipper
post your code and someone may be able to help.
Have you tried to use the examples from the manual ? They are pretty straightforward and usually easy to implement
Nissan
I get an error through this simple script:
#!D:\iw-home\iw-perl\bin\iwperl.exe
use CGI qw/:standard/;
print header();
print start_html(-title=>'Test');
print end_html;
exit 0;
I get the permission denied error only when i try to launch this from one of the Teamsite menu item and simply close the page.
Lauching this as such from the browser does not cause this error.
The error is:
Line: 1207
Char: 9
Error: Permission Denied