jristeska Posted March 6, 2021 Share Posted March 6, 2021 (edited) Hi, I'm using PrestaShop 1.6 I had problem with modules, everytime I've tried to open modules I've got notification Fatal Error in Modules.php. By searching on internet, I've found a "solution" to delete that folder and unfortunately, I did it and now I can't open my site and my back office. When I try to open my site, I get this👇 "This page isn’t working tiandel.com is currently unable to handle this request. HTTP ERROR 500" I've spent so much time learning and creating my site and now I ruined everything. Can anybody please help me? Edited March 6, 2021 by jristeska (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted March 7, 2021 Share Posted March 7, 2021 hi I think it was not a good idea to delete Modules.php restore again and activate debug mode to see what it shows Link to comment Share on other sites More sharing options...
Kriter.io Posted March 7, 2021 Share Posted March 7, 2021 You should restore your last backup. Almost every single hosting providers has this service. After that.....i think that the problem could be a "folder permissions problem" or a "uncorrect php version" not supported anymore. Since you are using PS 1.6., and if i remember right it used to used php 5.1 or less....many hosting providers do not support or give support to that php version anymore because obsolate. Keep us posted. Regards Falabby Link to comment Share on other sites More sharing options...
jristeska Posted March 9, 2021 Author Share Posted March 9, 2021 Thanks for your answer, but no I can't fix it. Can I somehow get Module.php file and add it to modules, or to get Module.php codes paste it in Notepad and then add that file to modules? Link to comment Share on other sites More sharing options...
juanrojas Posted March 9, 2021 Share Posted March 9, 2021 well I'm not sure, but try downloading the prestashop of the same version you use and look for that file Link to comment Share on other sites More sharing options...
jristeska Posted March 9, 2021 Author Share Posted March 9, 2021 Thank you, I did it but still it doesn't work 😢 Link to comment Share on other sites More sharing options...
juanrojas Posted March 9, 2021 Share Posted March 9, 2021 activate debug mode to see what it shows you Link to comment Share on other sites More sharing options...
jristeska Posted March 11, 2021 Author Share Posted March 11, 2021 Sorry for delayed answer I was so busy these days, sorry!👉This is for my website👇 Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/config/defines.inc.php on line 143 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/tools/htmlpurifier/HTMLPurifier.standalone.php on line 3899 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 69 Warning: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Warning: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Rijndael.php on line 124 Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Rijndael.php on line 91 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Fatal error: Uncaught Error: Class 'Module' not found in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Hook.php:499 Stack trace: #0 /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/FrontController.php(579): HookCore::exec('displayHeader') #1 /home/vol14_2/epizy.com/epiz_27957045/htdocs/controllers/front/IndexController.php(37): FrontControllerCore->initContent() #2 /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/Controller.php(189): IndexControllerCore->initContent() #3 /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Dispatcher.php(367): ControllerCore->run() #4 /home/vol14_2/epizy.com/epiz_27957045/htdocs/index.php(28): DispatcherCore->dispatch() #5 {main} thrown in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Hook.php on line 499👉This is for my backoffice👇 Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/config/defines.inc.php on line 143 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/tools/htmlpurifier/HTMLPurifier.standalone.php on line 3899 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 69 Warning: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Warning: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Rijndael.php on line 124 Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Rijndael.php on line 91 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/vol14_2/epizy.com/epiz_27957045/htdocs/admin369/functions.php on line 210 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/vol14_2/epizy.com/epiz_27957045/htdocs/Adapter/Adapter_EntityMapper.php on line 84 Fatal error: Uncaught Error: Class 'Module' not found in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/AdminController.php:1992 Stack trace: #0 /home/vol14_2/epizy.com/epiz_27957045/htdocs/controllers/admin/AdminLoginController.php(135): AdminControllerCore->initHeader() #1 /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/Controller.php(189): AdminLoginControllerCore->initContent() #2 /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Dispatcher.php(367): ControllerCore->run() #3 /home/vol14_2/epizy.com/epiz_27957045/htdocs/admin369/index.php(58): DispatcherCore->dispatch() #4 {main} thrown in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/AdminController.php on line 1992 Link to comment Share on other sites More sharing options...
JBW Posted March 16, 2021 Share Posted March 16, 2021 Looks like you are using a PHP version which is not compatible to your Prestashop version, check https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Link to comment Share on other sites More sharing options...
jristeska Posted March 18, 2021 Author Share Posted March 18, 2021 Thank you, I've changed PHP to 5.4👉Now when I try to open my site I see this👇 Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Fatal error: Class 'Module' not found in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Hook.php on line 499👉And this is for my backoffice👇 Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Cookie.php on line 79 Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/Rijndael.php on line 91 Fatal error: Class 'Module' not found in /home/vol14_2/epizy.com/epiz_27957045/htdocs/classes/controller/AdminController.php on line 1992 Please help me, what should I do now? Link to comment Share on other sites More sharing options...
bitho-art Posted May 12, 2021 Share Posted May 12, 2021 j'ai la même problem que toi Link to comment Share on other sites More sharing options...
lingmaaki Posted January 26, 2022 Share Posted January 26, 2022 The error is too generic and does not tell you exact problem. The first thing you need to know about the http error 500 the page isn't working is that the error can only be resolved by fixes to the Web server software. It is not a client-side problem meaning that the problem is not with your browser, your computer, or your internet connection. The error is too generic and does not tell you exact problem. When you hit an internal server error it usually means some parts of your web server is not configured correctly or the application is trying to do something and the server is failing to carry out the request due to a conflict or restriction. Please check the error logs on your server for a more specific error message, which may give a clue to why this is happening on your website/server. These errors are often caused by plugin or theme function conflicts, so if you have access to your Dashboard, try deactivating all plugins. It is up to the administrators of the Web server site to locate and analyze the logs which should give further information about the error. However, there are often ways to quickly get around the problem: Reload or Refresh the Webpage. Check you server permission. Corrupt Plugins. .htaccess file may be corrupt. Exceeded PHP memory limit. Increase the memory setting in the wp-config.php file. Clear your browser cookies and cache 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