calin009 Posted August 8, 2018 Share Posted August 8, 2018 Hi , I updated in Prestashop the modules , from the automatic update button, and suddenly I was logged out. Now, after login i only see a blank page. I googled a little bit , php ini seems ok , as others recommended for this problem , and i've set the show error value to true, but no errors Frontpage works Can you please help me ? Thanks Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 9, 2018 Share Posted August 9, 2018 Hi, We have not tested the same with PS1.6 but we have faced the same issue with the PS1.7. Backend page was giving the error. We have posted the solution for the same issue for PS1.7 in the thread below. https://www.prestashop.com/forums/topic/864311-174-error/ Considering the same situation for PS1.6, You need to delete the cache manually. Login into the server via FTP/SSH & delete the following cache folders. cache/smarty/compile cache/smarty/cache I hope it will help. Link to comment Share on other sites More sharing options...
calin009 Posted August 9, 2018 Author Share Posted August 9, 2018 deleted but not working still blank Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 11, 2018 Share Posted August 11, 2018 Sometimes error doesn't display on the screen but it will be recorded into PHP error log (server error log) if there is any. Do you have access to error log? Kindly check the server log & share the log details to check the issue. Link to comment Share on other sites More sharing options...
calin009 Posted August 12, 2018 Author Share Posted August 12, 2018 [11-Aug-2018 15:31:46 Europe/Bucharest] PHP Warning: mysql_connect(): Access denied for user 'reming'@'localhost' (using password: YES) in /home/reming/public_html/classes/MySQL.php on line 34 Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 13, 2018 Share Posted August 13, 2018 Hi, According to this error, Database details in the config files is not correct. Kindly verify the DB details in config/settings.php but as you have mentioned that front end is working fine, so most probably DB details are correct. Link to comment Share on other sites More sharing options...
calin009 Posted August 13, 2018 Author Share Posted August 13, 2018 Front end works perfect....even recieve orders . Link to comment Share on other sites More sharing options...
calin009 Posted September 27, 2018 Author Share Posted September 27, 2018 (edited) after I renamed the slider module folder , the error appeared on the blank page This one: .Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/reming/public_html/depozitulcubaterii.ro/modules/autoupgrade/classes/UpgradeTools/Translator.php on line 41 The bold one is the line 41 , do you have a idea what s wrong ? I renamed the autoupgrade module folder and...tadaaa it worked namespace PrestaShop\Module\AutoUpgrade\UpgradeTools; class Translator { private $caller; public function __construct($caller) { $this->caller = $caller; } public function trans($id, array $parameters = array(), $domain = null, $locale = null) { if (method_exists(\Context::class, 'getTranslator')) { return \Context::getContext()->getTranslator()->trans($id, $parameters, $domain, $locale); } if (method_exists(\Translate::class, 'getModuleTranslation')) { $translated = \Translate::getModuleTranslation('autoupgrade', $id, $this->caller, null); if (!count($parameters)) { return $translated; } } else { $translated = $id; } return $this->applyParameters($translated, $parameters); } /** * @param string $id * @param array $parameters * * @return string Translated string with parameters applied * * @internal Public for tests */ public function applyParameters($id, array $parameters = array()) { // Replace placeholders for non numeric keys foreach ($parameters as $placeholder => $value) { if (is_int($placeholder)) { continue; } $id = str_replace($placeholder, $value, $id); unset($parameters[$placeholder]); } return call_user_func_array('sprintf', array_merge(array($id), $parameters)); } } Edited September 27, 2018 by calin009 (see edit history) Link to comment Share on other sites More sharing options...
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