gotrendystuff Posted October 15, 2012 Share Posted October 15, 2012 Hi, I've been working on my web page and every time I try to do something with my modules my page goes blank and it stops working. I lose everything up until my last back up... it gives me a fatal error: Fatal error: Uncaught Link to database cannot be established: SQLSTATE[HY000] [2005] Unknown MySQL server host '_DB_SERVER_' (1) thrown in /home/gotrendy/public_html/classes/db/DbPDO.php on line 58 Do you guys know what this could be? Thank you for the help! Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 15, 2012 Share Posted October 15, 2012 Hello gotrendystuff, is the same error that you receive in your servers error log? It might give you more information. 1 Link to comment Share on other sites More sharing options...
sharif854 Posted October 18, 2012 Share Posted October 18, 2012 more information please Link to comment Share on other sites More sharing options...
yap_toshi Posted October 27, 2012 Share Posted October 27, 2012 Hi, I have been having problems with my page it goes black all the time and lose whatever I have done last. I see that I have 3 warnings and I really dont know how to do the installations, these are the warnings: To use Memcached, you must install the Memcache PECL extension on your server.http://www.php.net/manual/en/memcache.installation.php To use APC, you must install the APC PECL extension on your server.http://php.net/manual/en/apc.installation.php To use Xcache, you must install the Xcache extension on your server.http://xcache.lighttpd.net I go into the websites and cant find the downloads or how to make them work!! This is way to advanced for me! Please Help. Thank you Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 28, 2012 Share Posted October 28, 2012 I have been having problems with my page it goes black all the time and lose whatever I have done last. I see that I have 3 warnings First of all make the subject of your posts more meaningful so someone browsing forums can see what this thread is about. "Problemssssss Please help!" does not help anyone. Whatever you mean by black pages, it is not related to the three warnings you see in the back office. Your store should function without MemCached/APC/Xcache. They just improve your store's performance if used. Forget about those warnings for now and explain what is the problem you are seeing, preferably with an example URL. Marty Shue 1 Link to comment Share on other sites More sharing options...
yap_toshi Posted October 29, 2012 Share Posted October 29, 2012 Ok Thank you for your reply, here is what my page says: Fatal error: Uncaught Link to database cannot be established: SQLSTATE[HY000] [2005] Unknown MySQL server host '_DB_SERVER_' (1) thrown in /home/gotrendy/public_html/classes/db/DbPDO.php on line 58. So I went to my PHP file and this is what it says: public function connect() { try { $this->link = $this->_getPDO($this->server, $this->user, $this->password, $this->database, 5); } catch (PDOException $e) { throw new PrestaShopDatabaseException(sprintf(Tools::displayError('Link to database cannot be established: %s'), $e->getMessage())); } // UTF-8 support if ($this->link->exec('SET NAMES \'utf8\'') === false) throw new PrestaShopDatabaseException(Tools::displayError('PrestaShop Fatal error: no utf-8 support. Please check your server configuration.')); return $this->link; } So, I am very new to all this, I really don't know what to do now. Thank You for your help! I appreciate it very much. 1 Link to comment Share on other sites More sharing options...
clayton29657 Posted October 29, 2012 Share Posted October 29, 2012 Hello yap_toshi Please make sure to change the title of this topic like Marty has asked of you. Click on edit then full edit in the 1st topic here and this will allow you to change this. Thanks Clayton Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 29, 2012 Share Posted October 29, 2012 Merging this with another topic with the same exact error. "yap_toshi" are you the same user as "gotrendy" ? Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 29, 2012 Share Posted October 29, 2012 Hello yap_toshi, I will do my best to help you. Which version of PrestaShop are you using? 1 Link to comment Share on other sites More sharing options...
gotrendystuff Posted October 30, 2012 Author Share Posted October 30, 2012 Hi i'm using the version 1.5.2 and it just did it again and this is the second time there is this box message that appears. So we are entering a new product, and then I go to the price tab and do a save and there is a dialog box that appears and says: "Some tabs was not loaded correctly, do you want to reload them" When I click OK the dialog box appears again to the infinite. And suddenly the page goes blank and is blocked, I have to do a restore of my last backup so that it works. Thank you so much for your precious help! Maria Link to comment Share on other sites More sharing options...
gotrendystuff Posted October 30, 2012 Author Share Posted October 30, 2012 Hi Again, I just did a restore, and it seems that the problem is with the PRICES tab, now i click on it and it does not work, nothing appears when i click on it, but if I click on other tabs, everything is ok. Hope this info helps you Thanks Link to comment Share on other sites More sharing options...
KamranMK Posted December 10, 2012 Share Posted December 10, 2012 I have this issue as well, please help me out with this this is ridiculuous Link to comment Share on other sites More sharing options...
gotrendystuff Posted December 10, 2012 Author Share Posted December 10, 2012 No One will help... I've been waiting for 2 months now!! But I found out that our settings.inc.php file goes suddenly blank, so you have to replace it. you have to find the php file and upload it. this is just temporary because it will erase itself again and again! Hope I could help you and that someone will try to help you. I let go prestashop and migrated my page to opencart! It works great and the waterer problem you have will be solved by the team! Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 10, 2012 Share Posted December 10, 2012 Hello gotrendystuff, KarmanMC did not have the same issue as yours, I'm sorry you were not able to resolve your issue. If it was similar to KamranMC's issue, you can view the [sOLVED] topic here involving the settings.inc.php file http://www.prestashop.com/forums/topic/209708-solved-emptied-settingincphp-files/page__st__20__p__1034426#entry1034426 Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
Recommended Posts