Have something I have no idea how handle this. I have a small Web app that takes a couple parameters and creates a Certificate and emails it out to the recipient.
I had just made some very small tweaks.
What happens is when its launched I get the error failed to connect to Database using password no.
I have put msgbox’s in the function that opens the Database which a password is used. I then put a msgbox in the App Open as the first line. In debug its displays, on the server it doesn’t, just the data base message.
On a web app, a message box is displayed when the program completes the method where the message box is called, not at the line where it is called. Your program apparently does not reach the end of the method.
You might want to check how you’re connecting to your database. Do you perhaps have a #If Debugbuild wrapping the connection credentials and the live ones are wrong/missing?
Sorry I haven’t gotten back to you, been super swamped this morning. On a Linux server check where the other error logs end up, I’m not entirely certain. @Greg O’Lone might know more.
Yes, the bottom panel where errors show up is the right area. Technically, the Search is the Search Panel, Errors/Warnings is the Warnings Panel, and the DebugLog and any other messages are the Message Panel (from the Documentation). You need to be connected with the debugger to get messages in the Message Panel.
You need to copy the appropriate remote debug app from Xojo/Extras and run it on the server. Then in the IDE in options on the Debug tab you add the remote host. Once that is done you Project->Run Remotely and choose the target.