- see footer for list info -<
Russ, could you tell us if CreateObject (or any other part) is disallowed?
Shawn
At 17:11 06/04/2006, you wrote:
>- see footer for list info -<
CreateObject? That's the only thing that looks like it might be disallowed.
Ade
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shawn Fawcett
Sent: 06 April 2006 16:08
To: Coldfusion Development
Subject: RE: [CF-Dev] direct path problems
>- see footer for list info -<
maybe there's somthing in the code that's "not
allowed" on the live server (it's being hosted on
helm.cfmxhosting.co.uk)....ok here's the code up to the error
<cfscript>
variables.rbm = createObject('component','javaRB');
variables.defaultJavaLocale = "en_US";
variables.rbDir= GetDirectoryFromPath(getCurrentTemplatePath());
variables.rbFile= rbDir & "cffm.properties"; //base resource file
variables.resourceKit =
variables.rbm.getResourceBundle("#variables.rbFile#","#variables.defaultJava
Locale#");
</cfscript>
<cfset cffm = createObject("component","cffm")>
<cfinvoke component="#cffm#" method="init">
<cfinvokeargument name="includeDir"
value="#GetDirectoryFromPath(GetTemplatePath())#qfiles">
<!--- includeDirWeb = web path to the directory specified
above. --->
<cfinvokeargument name="includeDirWeb"
value="http://www.thequartersgame.com/projectq/qfiles">
<!--- disallowedExtensions = file
extensions you don't want people to upload --->
<cfinvokeargument
name="disallowedExtensions"
value="cfm,cfml,cfc,dbm,dbml,php,php3,php4,php5,asp,aspx,pl,plx,pls,cgi,jsp,
pif,scr,vbs,exe">
<cfinvokeargument name="allowedExtensions" value="">
<!--- editableExtensions: specifies
what kind of files can be edited with the simple text editor --->
<cfinvokeargument
name="editableExtensions"
value="cfm,cfml,cfc,dbm,dbml,php,php3,php4,asp,aspx,pl,plx,pls,cgi,jsp,txt,h
tml,htm,log,csv,js,css">
<cfinvokeargument name="overwriteDefault" value="true">
<!--- iconPath = web path to the
location of the icons used by CFFM --->
<cfinvokeargument name="iconPath" value="../cffm/cffmIcons">
<cfinvokeargument name="debug" value="0">
<!--- file to be cfincluded above all CFFM output --->
<cfinvokeargument name="templateWrapperAbove" value="">
<!--- file to be cfincluded below all CFFM output --->
<cfinvokeargument name="templateWrapperBelow" value="">
<!--- name of this file. You should not change this. --->
<cfinvokeargument name="cffmFilename"
value="#GetfileFromPath(getBaseTemplatePath())#">
<cfinvokeargument name="enableImageDimensionsInDirList"
value="true">
<cfinvokeargument name="maxImageDimensionsPerFileListing"
value="20">
</cfinvoke>
At 16:46 06/04/2006, you wrote:
> >- see footer for list info -<
>Yeah, I'd be looking in the CFC, not the calling code.
>
>There's "no way" the second <cfinvokeargument> would fail: it's just a
>string value. And the first one is using BIFs, so I can't see it being
>a problem either.
>
>--
>Adam
>_______________________________________________
>
>For details on ALL mailing lists and for joining
>or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
>
>--
>CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
help -<
ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining
or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<