salvation

Well it turned out that I didn't have all my paths set to the local versions of the PEAR DB. After working with a user forum and my hosting service - and still not being able to find a solution to my problem. I started combing everything and everything I could think of. Read at least 10 different papers on cron, the PEAR DB documentation that I thought could even remotely be related, the bug reports, some of the DB_DataObject docs and searched the PEAR general mailing list archives using multiple search parameters.

Finally in the PEAR general mailing list (searched using database)on about the 10th page I found a little string consisting of 3 emails. There I found out this little line of code:

PHP:
  1. $db = DB::connect($dsn);
  2. if (PEAR::isError($db)) {
  3.    die($db->getMessage()."  ".$db->getUserInfo()."  ");
  4. }

getUserInfo().... never heard of that method. Add it to my code and next thing you know I am being told that the script can't find my mysql.php (local version isn't on the set path - normal version is denied because of a "base_dir restriction").

Finally I have something I can fix! Track and trace the various paths to the classes and eventually - It Runs!!!

Holy cow - talk about ignorance being a problem. Looked in the documentation for DB and DB_DataObject again for anything on that method. Can't find a single line about it. So if someone would be so kind to point me in the right direction - I would love to learn more about the solution to my headache.

del.icio.us:salvation  digg:salvation  furl:salvation  reddit:salvation

WordPress database error: [Table 'wp1_comments' is marked as crashed and last (automatic?) repair failed]
SELECT * FROM wp1_comments WHERE comment_post_ID = '114' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply