Jump to content

Recommended Posts

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.