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 | Unable to call perl script from custom menu link
Ashish_Sangal
Hi,
We are using TS 7.4.1.
I have customize the CCP Action Menu by editing the ui_custom.xml file and add one link in that which will call a perl script placed under httpd/iw-bin/custom.
When i click on the link im getting Internal Server error.
Please, help me out and let me know whats wrong with this.
Also, let me know in case you guys need more information.
Find more posts tagged with
Comments
Adam Stoller
Ashish_Sangal
Thanks a lot Ghoti for your reply.
i have tried running the command -
iwperl -w -c script
Its saying script syntax is ok.
Also, i have added the code in my script but still no luck.
i am getting below mention error in error.log
[Thu May 01 11:37:41 2014] [error] [client IP address] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: convert.ipl, referer:
http://domain.com/iw-cc/command/iw.ui
[Thu May 01 11:37:41 2014] [error] [client IP address] (OS 2)The system cannot find the file specified. : couldn't spawn child process:
/Interwoven/TeamSite/httpd/iw-bin/custom/convert.ipl, referer:
http://domain.com/iw-cc/command/iw.ui
Is it the permission issue or the browser tries to locate the ipl file on clients machine not on server?
Ashish_Sangal
Hi,
I have resolve the issue.
Issue : Wrong shebang was used -
Solution : #!D:\Interwoven\TeamSite/iw-perl/bin/iwperl
Thanks for your help.
Closing this post.