Re: [PEAR] Pear connection error after cpanel update, can anyone out there help me?
[email protected] (Chuck Burgess) Tue, 15 Nov 2016 11:29:44 -0600
| Newsgroups | php.pear.general |
|---|---|
| Message-ID | <CANsgjnscmKnttzuY=P_eiSOH439Hz5GVrgwUaCdWoqfDQXyekQ@mail.gmail.com> |
That error implies to me that a PHP version upgrade has occurred on your server, to a new enough version that the PEAR code is too old to work with. Getting the existing code working again would require a PHP downgrade. Another approach would be having the server administrator perform a PEAR update, though that might also require some coding updates (maybe not, but still possible). CRB On Nov 15, 2016 10:15 AM, "dawnwidmayer" <[email protected]> wrote: > Hello, > > I hired a programmer 2 years ago to set up a mail queue for my vps. I > think he used pear. I have a php script to send the email to the list and > then pear to queue the emails and send out 60 at a time. The other > programmer is not responding to me. I don't know where else to turn. My > email program is down and I am at a loss. > > Message from my server tech: > > I took a look at the error_log in /home/realtor/public_html and see these > error logs: > > -- > [14-Nov-2016 21:00:09 UTC] PHP Warning: require_once(Mail/Queue.php): > failed to open stream: No such file or directory in > /home/realtor/public_html/email-setup/MailQueue.class.php on line 7 > [14-Nov-2016 21:00:09 UTC] PHP Fatal error: require_once(): Failed opening > required 'Mail/Queue.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') > in /home/realtor/public_html/email-setup/MailQueue.class.php on line 7 > [14-Nov-2016 21:03:19 UTC] PHP Fatal error: Cannot make static method > PEAR::isError() non static in class Mail_Queue in > /usr/local/lib/php/Mail/Queue.php on line 126 > -- > > I checked and Mail_Queue is installed in the default path: > > -- > root@host [/usr/local/lib/php/Mail]# ls > ./ ../ Queue/ Queue.php RFC822.php mail.php mime.php mimePart.php mock.php > null.php sendmail.php smtp.php smtpmx.php > > > >