I have a client with a weird thing happening on th...
# cfml-general
t
I have a client with a weird thing happening on their server. I don't have access to this server, so my ability to answer questions is severely limited. But I'm curious if anyone has any ideas or has seen something similar. My app has a page, Merge.cfm which receives a couple of document id's as post data, calls
cfpdf action="merge"
on them, and then reindexes the produced document. In that process, it calls a
package
method,
insertDocumentRow
, on DocumentInsertHandler.cfc, which is stored in the same directory as Merge.cfm. This works fine, except for this one client. On their server, it complains that
The insertDocumentRow package method in the C:\path\DocumentInsertHandler.cfc component cannot be accessed from c:\path\Merge.cfm.
I sent them code that changes that method to
public
and then it works fine. My best guess is that the C: vs c: in the error message is making CF think that the files are in different directories. But I have no idea where that difference could be coming from. Has anyone seen anything like this before?
m
Linux server vs Windows server on that client?
t
nope, we're a windows shop, so everything should be windows everywhere.
m
Is it possible that their server has case-sensitivity turned on... for some oddball reason?
t
I didn't know that was even an option. So maybe? Do you know where that setting is?
m
Um, one sec. Been a minute. I think it is in Powershell.
t
I can google it, if that all you're going to do.
m
Google "NTFS Case Sensitivity
I don't remember the command to use, but I know MS updated recently to force NTFS to be case sensitive due to more and more folks using linux subsystems. I ran into this recently on another customer's server
Their prod server had it on, dev was off
things went boom
t
found it. I'll run that by them and see.
👍 1
m
hopefully that's it