looking for suggestions. I'm sure this is somethin...
# cfml-general
g
looking for suggestions. I'm sure this is something tiny I'm overlooking...setting up a new CF2021 server. copied the source from a known "good" instance. exported/imported CF settings from the same server. i get this error message "The init package method in the FILE2r.cfc component cannot be accessed from FILE1.cfc." for any component that instantiates another component. the files are in the same folder in each case and, of course, the code works on the original (multiple) servers. i've even turned off all caching options and cleared the saved classes.
@deactivateduser new wrinkle: i am able to instantiate the cfcs from a cfm within their folder. but i did confirm the cf service has read access to the files
lol...it just...started working...after 4 hours...i was showing a couple of coworkers, and all of a sudden stopped getting this issue and got a different one. the new error was caused by a code change i made to one of the cfcs to try and figure this issue out. i backed that out and boom...all the cfcs are working as they should. no idea what the underlying cause was.
d
It's possible that either the application/session variables expired and therefore the original call was being made to an older scope variable set. Not sure but that sounds like it.