![]() |
| cfc java file error on hosted server |
|
palyne
|
I am really stumped. After spending DAYS trying to figure out the "really easy" CFGRID tag on half a dozen obviously needed but metaphysically obscure points (try removing the underline when you're using html/query/href...), I finally got the file totally working on local, got all excited, and uploaded it to my website.
And it does nothing but bomb, telling me that it can't find my CFC file based on MY LOCAL DEV server -- not on the remote server! There is not one single item of code in the CFM or CFC files that refers to my local server, so why would it not work on my website?? The CFC and CFM files are in the SAME directory, so the reference is easy (I don't have a dot notation path required). My cfc is called getcomments.cfc (same directory as calling cfm), and this is the error I get:
I get this error at my hosted site though, not on my local site -- works just fine locally. So I thought, well heck, maybe I need a dot notation path from the root, so I changed the CFC bind to:
But the error doesn't even change -- so it's not really that it is looking where it should and not finding the file, it's that somehow, even though I can't find ANY code in EITHER file that refers to anything local, even though I opened a new separate browser that had never visited the page in the local server to try it on the remote server... still it is not finding it. Now I'm probably just retarded because I've been working on this stupid simple page for like 14 hours and my brain is dead. But I have no idea what to do and I'd really appreciate any advice. PJ |
||||||||||||||||
|
|
|||||||||||||||||
|
palyne
|
This is resolved. I just wanted to post and mention how. It turns out the 'sandbox security' and 'permissions' had to be changed on my particular HMS account. So this had nothing to do with my code, but with the server settings. A request to HMS support will take care of that.
PJ |
||||||||||||
|
|
|||||||||||||
| cfc java file error on hosted server |
|
||
|


