Thorrrr Posted September 2, 2017 Share Posted September 2, 2017 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? Quote Link to comment https://forums.phpfreaks.com/topic/304843-error-code-on-scraping-script-need-direction-help/ Share on other sites More sharing options...
ginerjm Posted September 3, 2017 Share Posted September 3, 2017 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" ? Quote Link to comment https://forums.phpfreaks.com/topic/304843-error-code-on-scraping-script-need-direction-help/#findComment-1550645 Share on other sites More sharing options...
Solution Thorrrr Posted September 4, 2017 Author Solution Share Posted September 4, 2017 HI Guys I have had it fixed cheers. Quote Link to comment https://forums.phpfreaks.com/topic/304843-error-code-on-scraping-script-need-direction-help/#findComment-1550692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.