hstpctech Posted February 11, 2018 Share Posted February 11, 2018 Hi, I'm planning to change my hosting from Hostgator to iPage, and currently have a chance to test the migration under a test account on the new hosting server. The procedure I took was simple and according to the general instructions. 1. Backup the files from root folder. 2. Backup the database through phpAdmin. 3. Restore the files to a subfolder, because it's under a test account and the root runs a Woocommerce store. 4. Restore the database through phpAdmin. 5. Updated setting.inc.php to reflect the changes, updated URI from "/" to "/80vt" (the test subfolder) 6. All permission is set to 755, folders and files. 7. Deleted .htaccess, generated robots.txt. So far, the backoffice is working normally - I can display customers and products and such. Frontoffice though, only displaying internal error. If I typed in specific pages of the products, they would show up. What seems to be the problem here? Best regards, Andy Link to comment Share on other sites More sharing options...
musicmaster Posted February 11, 2018 Share Posted February 11, 2018 (edited) You are missing setting the domain and directory. That is in SEO&Urls in the third section or in the database in ps_shop_url. The directory should contain slashes at both ends like "/mysub/". Also don't forget to cleanse the cache. You may also need to regenerate .htaccess. That is done by saving the fourth section of SEO&Urls (scheme of urls). Edited February 11, 2018 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
hstpctech Posted February 11, 2018 Author Share Posted February 11, 2018 (edited) 4 hours ago, musicmaster said: You are missing setting the domain and directory. That is in SEO&Urls in the third section or in the database in ps_shop_url. The directory should contain slashes at both ends like "/mysub/". Also don't forget to cleanse the cache. You may also need to regenerate .htaccess. That is done by saving the fourth section of SEO&Urls (scheme of urls). 3 Thank you for the suggestions, but I covered that too. 1.-------------------------------------------------------------------- Shop domain www.beauty4foodie.com SSL domain www.beauty4foodie.com Base URI /80vt/ I think these are correct? The test subfolder is 80vt. 2.-------------------------------------------------------------------- Cleared cache, turned off cache 3.-------------------------------------------------------------------- Regenerate .htaccess. 4.-------------------------------------------------------------------- PHP.INI memory_limit = 512M; Currently, the main page and checkout page return internal server errors. Edited February 11, 2018 by hstpctech (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted February 11, 2018 Share Posted February 11, 2018 Internal server errors (500) are useless unless you find out what the real error is. Either look in the errorlog of your server or 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...
hstpctech Posted February 11, 2018 Author Share Posted February 11, 2018 (edited) Found the error log from iPage and the latest entries, something PHP related perhaps? iPage PHP is set to run PHP 5.6 already. [11-Feb-2018 10:10:19 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 [11-Feb-2018 10:10:19 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin: cannot open shared object file: No such file or directory in Unknown on line 0 [11-Feb-2018 10:19:28 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 [11-Feb-2018 10:19:28 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin: cannot open shared object file: No such file or directory in Unknown on line 0 [11-Feb-2018 10:19:41 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 [11-Feb-2018 10:19:41 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin' - /opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ixed.5.6.lin: cannot open shared object file: No such file or directory in Unknown on line 0 Error reporting mode was always turned on since beginning, but still only blank page with internal error message. I'm on Prestashop 1.6. open file: config/defines.inc.php (using FTP or hosting control panel) change false-->true: define('_PS_MODE_DEV_', false); define('_PS_MODE_DEV_', true); Edited February 11, 2018 by hstpctech (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted February 11, 2018 Share Posted February 11, 2018 Did you copy your php.ini from the old server? Or how does it contain references to libraries that are not present? Link to comment Share on other sites More sharing options...
hstpctech Posted February 12, 2018 Author Share Posted February 12, 2018 2 hours ago, musicmaster said: Did you copy your php.ini from the old server? Or how does it contain references to libraries that are not present? I did just copy the whole directory... Should I leave it out? Link to comment Share on other sites More sharing options...
hstpctech Posted February 12, 2018 Author Share Posted February 12, 2018 Turned out I shouldn't have included the original PHP.INI - thank you for pointing it out musicmaster! 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