ginerjm Posted May 26, 2016 Share Posted May 26, 2016 I use emails to send some data regularly to some of my apps. Yesterday my email failed me with some strange messages. Besides messages about unknown items failing to load for the script, it also said that PDO was an unknown class. That is very strange. The line that triggers that message is: $db_options = array( PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC); which is the puzzling thing. I use this same module to do my database connects everywhere and it continues to work for my 'regular' appls, just not for the scripts that are piped-to from an email. Any idea what may have happened here? This is running on my host's server so I have no control over it. Quote Link to comment https://forums.phpfreaks.com/topic/301265-piped-to-script-having-problems-suddenly/ Share on other sites More sharing options...
requinix Posted May 26, 2016 Share Posted May 26, 2016 May have been a hiccup on the server. Maybe the host was doing something that interrupted service. I'd ask them if they are aware of any issues at that time. Quote Link to comment https://forums.phpfreaks.com/topic/301265-piped-to-script-having-problems-suddenly/#findComment-1533270 Share on other sites More sharing options...
ginerjm Posted May 26, 2016 Author Share Posted May 26, 2016 They are working on it. No idea from their end, but I think they change my ini file when I had them fix my timezone problem last week. Quote Link to comment https://forums.phpfreaks.com/topic/301265-piped-to-script-having-problems-suddenly/#findComment-1533271 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.