venkat Posted February 27, 2018 Share Posted February 27, 2018 i have a live prestashop (1.6) website http://www.healthscoop.in/ .then i am downloading from the server into local machine. now i am trying to run in localhost but its not working and the one main thing is live website is effected some design is changed is there any solutions plz let me know Link to comment Share on other sites More sharing options...
musicmaster Posted February 27, 2018 Share Posted February 27, 2018 "It doesn't work" is not an error report. It is just a frustration. There are several manuals around specifying which steps you should follow when transplanting a webshop. Which of those manuals did you follow? And which errors did you get? Link to comment Share on other sites More sharing options...
venkat Posted February 28, 2018 Author Share Posted February 28, 2018 This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500 In my folder or files what and where changes are i need to change can you give me a proper solution for plz help me. Link to comment Share on other sites More sharing options...
musicmaster Posted February 28, 2018 Share Posted February 28, 2018 That is a 500: the universal safely bland error message for a production site. You have to switch on development mode to see what is going wrong: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
venkat Posted February 28, 2018 Author Share Posted February 28, 2018 after switch on development mode the fatal error will be raised like this:- Fatal error: Uncaught Error: [] operator not supported for strings in D:\xampp\htdocs\test\classes\db\DbQuery.php:96 Stack trace: #0 D:\xampp\htdocs\test\Adapter\Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 D:\xampp\htdocs\test\classes\ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 D:\xampp\htdocs\test\classes\shop\Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 D:\xampp\htdocs\test\classes\shop\Shop.php(400): ShopCore->__construct('1') #4 D:\xampp\htdocs\test\config\config.inc.php(114): ShopCore::initialize() #5 D:\xampp\htdocs\test\index.php(27): require('D:\\xampp\\htdocs...') #6 {main} thrown in D:\xampp\htdocs\test\classes\db\DbQuery.php on line 96 Link to comment Share on other sites More sharing options...
lingmaaki Posted January 12, 2021 Share Posted January 12, 2021 On 2/28/2018 at 10:07 AM, venkat said: localhost is currently unable to handle this request. The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue. If your site is serving a Internal Server Error, this can be caused by a number of things, such as: Errors in .htaccess files Server permission Server timeout Script timeout Or some other Web Server Issues Normally, a permissions issue on the file (or files) would be one cause of the 500 Internal Server Error. The simple solution is to run chmod 644 on the problem file(s) or chmod 755 on the directories. $ sudo chmod -R 777 /"your files location" The best way to debug the error depends upon the server and what's actually running at the time. Consider some debugging tips to help diagnose and fix common causes of this problem. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 12, 2021 Share Posted January 12, 2021 Hi, I suppose that there is an incorrect or not supported PHP version issue here. Please check this compatibility chart : https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-requirements and configure one of the supported PHP version for your prestashop version. It's recommended to use the same PHP version as it is on your live site, just to have the same version on localhost also. Kind regards, Leo 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