• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Access denied using CF and XSLT

Engaged ,
Nov 03, 2007 Nov 03, 2007

Copy link to clipboard

Copied

Without any notice my hosting company disabled the following tags and functions. Now my code doesn't work. Can anyone help me correct it?

CF tags:
CFCOLLECTION
CFCONTENT
CFEXECUTE
CFLOG
CFOBJECT
CFOBJECTCACHE
CFREGISTRY

CF functions:
SetProfileString
CreateObject(COM)
CreateObject(CORBA)
CreateObject(JAVA)

The error i get is:
MM_XSLTransform error.
Transformation Error.
Security
access denied (coldfusion.runtime.FunctionPermission createobject(java))

All I am doing is using Dreamweaver's XSLT to display a RSS feed.



TOPICS
Advanced techniques

Views

668

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Nov 05, 2007 Nov 05, 2007
I found another approach using a simple custom CF tag and it works great with very few lines of code.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1008721

Votes

Translate

Translate
Engaged ,
Nov 03, 2007 Nov 03, 2007

Copy link to clipboard

Copied

editied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 03, 2007 Nov 03, 2007

Copy link to clipboard

Copied

Ok I have done some research and it looks like its the CreateObject(JAVA)function that is disabled in shared hosting. But what I need to know is if this is fixed in CF 8. If it is i will just change hosts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 03, 2007 Nov 03, 2007

Copy link to clipboard

Copied

Bloke wrote:
> Ok I have done some research and it looks like its the
> CreateObject(JAVA)function that is disabled in shared hosting. But what I need
> to know is if this is fixed in CF 8. If it is i will just change hosts.

there's nothing to be "fixed". your host has disabled that functionality. find
one that doesn't or maybe just ask them to turn it on.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 04, 2007 Nov 04, 2007

Copy link to clipboard

Copied

I know there is nothing to be fixed, rather it needs to be rewritten. Every host I have asked has this function turned off. So why would they make Dreaweaver write code that uses a function many people can't use? What good does it do if it only works on my local system.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 04, 2007 Nov 04, 2007

Copy link to clipboard

Copied

Bloke wrote:
> I know there is nothing to be fixed, rather it needs to be rewritten. Every

in cf? or in dreamweaver? if you mean dreamweaver this is probably the wrong
place. in general, if there's something you think needs fixing file it here
where adobe will surely take note:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6

> host I have asked has this function turned off. So why would they make

*every* host? i guess you need to ask some more. maybe start here (for super
cheap ones): http://www.rabidgadfly.com/?p=48

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 05, 2007 Nov 05, 2007

Copy link to clipboard

Copied

LATEST
I found another approach using a simple custom CF tag and it works great with very few lines of code.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1008721

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation