pharaoh105 Posted November 20, 2013 Share Posted November 20, 2013 Oops, something went wrong.Try to refresh this page or feel free to contact us if the problem persists. I can no longer access the shopping cart, everytime I put in the url I get the following: Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. Also the cart no longer recognize my email address, I cannot admin login. When I try "forgot password" it says that email address does not exist [03-Nov-2013 22:31:17 US/Eastern] PHP Warning: Illegal string offset 'php' in /home/itunze/public_html/cdstore/cache/smarty/compile/82/ac/4f/82ac4fdf43d8ed2748f3e840efa2e4dcf410cd71.file.blockuserinfo.tpl.php on line 67[20-Nov-2013 02:15:30 US/Eastern] PHP Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/itunze/public_html/cdstore/cache/smarty/cache/blocktopmenu/0/product/1/1/1/0/0/0/0/19/78/f2/2a/wrt528c6192e296c2.62279730' in /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_internal_write_file.php:44Stack trace:#0 /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/itunze/pu...', '<?php /*%%Smart...', Object(Smarty))#1 /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_cacheresource.php(367): Smarty_Internal_CacheResource_File->writeCachedContent(Object(Smarty_Internal_Template), '<?php /*%%Smart...')#2 /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_internal_template.php(230): Smarty_Template_Cached->write(Object(Smarty_Internal_Template), '<?php /*%%Smart...')#3 /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_internal_templatebase.php(259): Smarty_Internal_Template->write in /home/itunze/public_html/cdstore/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44[20-Nov-2013 09:38:40 UTC] PHP Warning: mysql_connect(): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95 in /home/itunze/public_html/cdstore/classes/db/MySQL.php on line 37[20-Nov-2013 09:44:09 UTC] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/itunze/public_html/cdstore/classes/db/MySQL.php on line 37[20-Nov-2013 09:44:27 UTC] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/itunze/public_html/cdstore/classes/db/MySQL.php on line 37[20-Nov-2013 09:44:49 UTC] PHP Warning: mysql_connect(): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95 in /home/itunze/public_html/cdstore/classes/db/MySQL.php on line 37[20-Nov-2013 09:56:52 UTC] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/itunze/public_html/cdstore/classes/db/MySQL.php on line 37[20-Nov-2013 10:00:03 UTC] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/itunze/public_html/cdstore/classes/db/MySQL.php on lin PLEASE HELP Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 hello 1) please try to disable blockuserinfo module. 2) clear smarty cache in your store moreover, you've got some errors with database, check this: http://stackoverflow.com/questions/5755819/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste Link to comment Share on other sites More sharing options...
pharaoh105 Posted November 20, 2013 Author Share Posted November 20, 2013 Hi. I CANNOT ACCESS THE STORE. Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. I can no longer access the shopping cart, everytime I put in the url I get the following: Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. Also the cart no longer recognize my email address, I cannot admin login. When I try "forgot password" it says that email address does not exist WHEN I TRY TO GO TO ADMIN PAGE I GET THE FOLLOWING: ANY HELP WOULD BE GREATLY APPRECIATED (LATEST PRESTA SHOP VERSION) [PrestaShopDatabaseException] Link to database cannot be established. at line 38 in file classes/db/MySQL.php 32. { 33. if (!defined('_PS_MYSQL_REAL_ESCAPE_STRING_')) 34. define('_PS_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string')); 35. 36. if (!$this->link = mysql_connect($this->server, $this->user, $this->password)) 37. throw new PrestaShopDatabaseException(Tools::displayError('Link to database cannot be established.')); 38. 39. if (!$this->set_db($this->database)) 40. throw new PrestaShopDatabaseException(Tools::displayError('The database selection cannot be made.')); 41. 42. // UTF-8 support MySQLCore->connect - [line 248 - classes/db/Db.php] - [0 Argument] DbCore->__construct - [line 206 - classes/db/Db.php] - [4 Arguments] DbCore::getInstance - [line 64 - config/alias.php] - [0 Argument] pSQL - [line 307 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 95 - config/config.inc.php] - [0 Argument] require - [line 33 - admin123/index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
pharaoh105 Posted November 20, 2013 Author Share Posted November 20, 2013 After doing this: config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); I am now getting the following. however I am not sure what it means and what I am supposed to do [PrestaShopDatabaseException]Can't open file: './itunze_pres757/ps_shop.frm' (errno: 24) SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'cdstore.itunze.com' OR su.domain_ssl = 'cdstore.itunze.com') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESCat line 613 in file classes/db/Db.php 607. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);608. }609. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))610. {611. if ($sql)612. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');613. throw new PrestaShopDatabaseException($this->getMsgError());614. }615. }616.617. /** DbCore->displayError - [line 313 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 488 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 320 - classes/shop/Shop.php] - [1 Arguments] Argument [0]SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'cdstore.itunze.com' OR su.domain_ssl = 'cdstore.itunze.com') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC ShopCore::initialize - [line 95 - config/config.inc.php] - [0 Argument] require - [line 27 - index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
Lefort Posted December 18, 2014 Share Posted December 18, 2014 (edited) . Edited December 22, 2014 by Lefort (see edit history) Link to comment Share on other sites More sharing options...
therefinerz Posted March 12, 2016 Share Posted March 12, 2016 hello 1) please try to disable blockuserinfo module. 2) clear smarty cache in your store moreover, you've got some errors with database, check this: http://stackoverflow.com/questions/5755819/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste Your face is very famous in PrestaShop and hope you will help me fix this error. 500 Server ErrorOops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. I have set all the API Credentials and was happy with the way zencart used to transfer my payments from clients. But after setting up the store, Im unable to receive payments. THe clients are unhappy because they are charged and the payment did not even reach my paypal. Please help me here big guy! Thanks Link to comment Share on other sites More sharing options...
bbcbrainwash Posted October 21, 2016 Share Posted October 21, 2016 Hello, I have an online shop http://www.bbcbrainwash.com/onlineshop/ Until afternoon everything was fine but all of the sudden in the evening my front office showing this message. 500 Server Error Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. I don't understand what to do now. I am not professional but I can try to solve things if I get professional advice. Even I can't access my back office. Please I need HELP. Link to comment Share on other sites More sharing options...
Lefort Posted October 21, 2016 Share Posted October 21, 2016 Hi! I'm sorry to hear that. The 500 error is very vague. It might be a simple folder permission, a little change in a file or sometimes when installing a brand new Prestashop 1.6X. To better troubleshoot it, please can you explain what you were doing before? Regards. Link to comment Share on other sites More sharing options...
Recommended Posts