Paulwfc Posted August 20 Share Posted August 20 Hi - I have moved a Prestashop site from one cpanel site to another but I get a white page appearing when I go to the front or admin pages. I have put in a dummy html page with text to show that the domain settings have moved properly. Looking at other messages there is a possibility that it could be PHP level. Would changing this to a lower level help or am I on the wrong path? Any ideas on what I may have missed when moving the public html directory and the database?? Thanks, Paul Link to comment Share on other sites More sharing options...
Paulwfc Posted August 20 Author Share Posted August 20 I have manually set the site to Debug mode and change the domain name to DOMAIN_NAME as I have seen it recommended not to post on the forum. Error message follows: Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/kbfp1ouheirg/public_html/DOMAIN_NAME/config/defines.inc.php on line 143 Fatal error: Uncaught Error: [] operator not supported for strings in /home/kbfp1ouheirg/public_html/DOMAIN_NAME/classes/db/DbQuery.php:96 Stack trace: #0 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/classes/shop/Shop.php(397): ShopCore->__construct('1') #4 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/config/config.inc.php(114): ShopCore::initialize() #5 /home/kbfp1ouheirg/public_html/DOMAIN_NAME/admin123/index.php(36): require('/home/kbfp1ouhe...') #6 {main} thrown in /home/kbfp1ouheirg/public_html/DOMAIN_NAME/classes/db/DbQuery.php on line 96 Link to comment Share on other sites More sharing options...
musicmaster Posted August 23 Share Posted August 23 get_magic_quotes_gpc() dates from the stone age. What Prestashop version are you using? And what PHP version? This looks like a serious mismatch. https://devdocs.prestashop-project.org/1.7/basics/installation/system-requirements/#php-compatibility-chart 1 Link to comment Share on other sites More sharing options...
Paulwfc Posted August 23 Author Share Posted August 23 21 minutes ago, musicmaster said: get_magic_quotes_gpc() dates from the stone age. What Prestashop version are you using? And what PHP version? This looks like a serious mismatch. https://devdocs.prestashop-project.org/1.7/basics/installation/system-requirements/#php-compatibility-chart Thanks 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