Fatal Error on VPS

Permalink
Hi Everyone. I'm having more issues on this VPS host.

The site was working perfectly up until the weekend when it imploded. There was an error with APC which the hosts have fixed but we are getting this error now.

Fatal error: Trying to clone an uncloneable object of class ADODB_Exception in /var/www/html/pennyjellies.com/shop/concrete/libraries/view.php on line 467

I'm on my last nerve with this site. Any help would be appreciated.

Steve

PassionForCreative
 
olliephillips replied on at Permalink Best Answer Reply
olliephillips
I've no direct experience of that error, but there are a number of pages in Google which reference a similar error, in relation to ADODB Exceptions as well as others.

They imply it is something to do with Zend, and the recommended action is to set or edit this line in php.ini so that it reads:-

zend.ze1_compatibility_mode = off


Worth a try?

I would be very interested to learn what happened to your APC and its effect on your site?
PassionForCreative replied on at Permalink Reply
PassionForCreative
Hi Ollie,

Thanks for the suggestion. I'm a total noob with all the server side stuff. Where will I find the php.ini file or do I create & upload it to the directory that the shop lives in.
olliephillips replied on at Permalink Reply
olliephillips
It's not a file you'd upload no, you need to find it and it varies server to server, but I presume you have ssh access so I'd try one of these in the first instance from a shell (or ssh)

whereis php.ini
locate php.ini

Hopefully one of those will give you the full path to the file.

For example on my servers, it sits at /etc/php5/apache2/php.ini, but like I say it really depends how it has been configured.

Hope that helps.

Edit : You need to restart apache/server once the change has been made. Hopefully you can do this from your control panel, rebooting should also do it.
PassionForCreative replied on at Permalink Reply
PassionForCreative
OK> Found the php.ini file & edite dthe line in there to say OFF instead of on. I don't have SSH access so I'm just waiting for my contact in the host co. to refresh.

Will post back here when I know more. Thanks for the quick response.
PassionForCreative replied on at Permalink Reply
PassionForCreative
Thanks Ollie. That worked perfectly. Site is back up & client is no longer screaming ;-)
olliephillips replied on at Permalink Reply
olliephillips
Great stuff. Making a note of that myself in case I ever do see that error!