Jump to content

Error Code on Scraping Script need direction help


Go to solution Solved by Thorrrr,

Recommended Posts

HI Guys

 

Had a Dev do me a scraping script several years ago and it worked great. He is no longer available and this week started getting an error. Before i engage another Dev can anybody in the know look at the error and tell me what it relates to, please?

 

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/********/******_html/lib/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /home/********/******_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /home/********/******_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #2 /home/********/******_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #3 /home/********/******_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /home/********/******_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array) #5 /home/********/******_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DISTINCT...', Array) #6 /home/********/******_html/app/code/core/Zend/Db/Select.php(722): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select)) #7 in /home/********/******_html/lib/Zend/Db/Statement/Pdo.php on line 235

 

 

PS Added ********/****** just for security reasons.

 

As a very big newbie is a timeout issue?

 

 

 

What are you showing us?  Is this ONE single error message, or is it multiple ones, or is it actual code that you wrote?

 

What db interface are you using?  PDO?  And what db is your host using?  MySql?  Or did the server change databases?

 

Did you google "2006 MySQL server has gone away" ?

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.