Reported by David Martin on mapserver-users:
I have been doing some work on installing an OGR connection to one of my
databases. So decided to use msencrypt to hide the userid and password
strings. This works OK however when the OGR breaks for what every reason the
system returns a message similar to this:
msDrawMap(): Image handling error. Failed to draw layer named 'Places'.
msOGRFileOpen(): OGR error. Open failed for OGR connection
`<OGRVRTDataSource> <OGRVRTLayer name='Places'>
<SrcDataSource?>ODBC:vsXXXXXXXX_odbc/XXXXXXXXXX@vs285832_1</SrcDataSource>
<SrcSQL>SELECT WaypointID, Description, Latitude, Longitude FROM
PointPlace?_Waypoints WHERE poi='%poi%'</SrcSQL>
Where the XXX's shown are actually the real user information and passwords
for the connection. How can I suppress this error from appearing at all. It
seems a little strange to provide an encrypted password and then have the
system render the password when the OGR layer fails.
Any help would be great.
David Martin