Situation: I have a working V11 application that includes the use of File Upload - User Defined from various locations in the application, typically from a button in a grid component. I've been porting the application to V12, and the File Upload - User Defined function no longer works -- it appears to be a permissions problem, but I haven't been able to track down what is really going on, because it works fine in LivePreview, but not on the test server running the AA Web Server.
Details: When you click the upload button, Action Javascript is tied to the onclick function. The Javascript is configured to permit only one file upload. The upload box opens successfully and allows me to pick a file to upload (there aren't any restrictions on file type extensions in the upload, and the file is well below the max file size threshold). When I click upload, I immediately receive a popup from the browser asking if I want to navigate away from the window. If I select "yes", the entire system drops to the login screen. If I say "no", the frame holding the upload control drops to the login screen. The file is not uploaded, and it is pretty hard to tell if the XBasic is running or if the problem happens before the callback.
Additional info: I've tried both the "data" and "filename" options with the same result. I've removed all of the XBasic code and replaced it with a simple e.javascript="alert('HERE');" statement, but I never see the alert (but I do in LivePreview). As I mentioned, in LivePreview on my local machine everything about the upload works correctly, and everything worked correctly with V11.
It seems to me that it must be a permissions problem somewhere, but the AAWebroot (my AWS Webroot) has the same permissions as the old version. I know this must be something simple I'm missing on the server configuration... but I've reached the end of my ideas.
Does anybody have a suggestion? Thanks!
-Mark
Details: When you click the upload button, Action Javascript is tied to the onclick function. The Javascript is configured to permit only one file upload. The upload box opens successfully and allows me to pick a file to upload (there aren't any restrictions on file type extensions in the upload, and the file is well below the max file size threshold). When I click upload, I immediately receive a popup from the browser asking if I want to navigate away from the window. If I select "yes", the entire system drops to the login screen. If I say "no", the frame holding the upload control drops to the login screen. The file is not uploaded, and it is pretty hard to tell if the XBasic is running or if the problem happens before the callback.
Additional info: I've tried both the "data" and "filename" options with the same result. I've removed all of the XBasic code and replaced it with a simple e.javascript="alert('HERE');" statement, but I never see the alert (but I do in LivePreview). As I mentioned, in LivePreview on my local machine everything about the upload works correctly, and everything worked correctly with V11.
It seems to me that it must be a permissions problem somewhere, but the AAWebroot (my AWS Webroot) has the same permissions as the old version. I know this must be something simple I'm missing on the server configuration... but I've reached the end of my ideas.
Does anybody have a suggestion? Thanks!
-Mark
Comment