Peter Knight Posted February 28, 2018 Posted February 28, 2018 I'm getting lots of errors on a Processwire site I moved. It's a new host and it's my first time trying their platform. I'm not sure if this is a hosting issue or a problem caused by the move. If I list them below I'd be interested in your thoughts. Error displayed when completing a contact form Error: Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (in /home/u752001136/public_html/wire/core/Modules.php line 2981) #0 /home/u752001136/public_html/wire/core/Modules.php(2981): PDOStatement->execute() #1 /home/u752001136/public_html/wire/core/Modules.php(3381): ProcessWire\Modules->getConfig(Object(ProcessWire\ProcessPageSearch)) #2 /home/u752001136/public_html/wire/core/Modules.php(586): ProcessWire\Modules->setModuleConfigData(Object(ProcessWire\ProcessPageSearch)) #3 /home/u752001136/public_html/wire/core/Modules.php(1246): ProcessWire\Modules->initModule(Object(ProcessWire\ProcessPageSearch), false) #4 /home/u752001136/public_html/wire/core/Modules.php(1141): ProcessWire\Modules->getModule('ProcessPageSear...') #5 /home/u752001136/public_html/wire/modules/AdminTheme/AdminThemeReno/default.php(27): ProcessWire\Modules->get('ProcessPageSear...') #6 /home/u752001136/public_html/wire/core/admin.php(176): require('/home/u75200113...') #7 /home/u752001136/public_html/wire/modules/Admin This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. Error displayed when using the Upgrades module and upgrading from 3.0.62 to 3.0.93 Pressing the Backup Database Now button displays Quote Warning: Error while sending QUERY packet. PID=11389 in /home/u752001136/public_html/wire/core/WireDatabaseBackup.php on line 796 Error displayed randomly in the Admin Notice: Undefined index: local in /home/u752001136/public_html/site/assets/cache/FileCompiler/site/modules/ProcessWireUpgrade/ProcessWireUpgradeCheck.module on line 266 Notice: Undefined index: title in /home/u752001136/public_html/site/assets/cache/FileCompiler/site/modules/ProcessWireUpgrade/ProcessWireUpgrade.module on line 209 Notice: Undefined index: local in /home/u752001136/public_html/site/assets/cache/FileCompiler/site/modules/ProcessWireUpgrade/ProcessWireUpgrade.module on line 211 Key questions is wether this is a setup issue or simply a shared host with too many sites and not enough resources.
Peter Knight Posted February 28, 2018 Author Posted February 28, 2018 Had a response from the host themselves. Actually, their live chat is pretty helpful. The server didn't have mod rewrite enabled apparently and that was causing the issues. I still get a back end error as follows but I can live with that. Quote Notice: Undefined index: local in /home/u752001136/public_html/site/assets/cache/FileCompiler/site/modules/ProcessWireUpgrade/ProcessWireUpgradeCheck.moduleon line 266
PWaddict Posted February 28, 2018 Posted February 28, 2018 Maybe if you delete the PW cache it will fix that too. 1
pwired Posted February 28, 2018 Posted February 28, 2018 Cache + Sessions. It's the thing to do after moving a site. 2
PWaddict Posted March 1, 2018 Posted March 1, 2018 6 hours ago, pwired said: Cache + Sessions. It's the thing to do after moving a site. Yep I forgot to mention the Sessions.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now