Rhobur Posted June 25, 2016 Share Posted June 25, 2016 In PS 1.6.1.5 I have moved the shop from a hosted solution to another and found out that I can't access the backoffice just get a blank page. The dev mode is set to true but no error messages whatsoever. After much digging and testing I have found that this issue is pertaining to some cookie problem. If I erase all domain cookies I can access the backoffice login page. But after I input the email and password the cookie is set again and that lead to the blank page.I tried to disable IP checking, no luck. I have changed the php from 5.5 to 5.6, no luck. The memory size is increased to 256, no luck.The backoffice URL is here http://23.235.209.216/~karabian/adminD10The frontoffice is working correctly. Link to comment Share on other sites More sharing options...
shokinro Posted June 25, 2016 Share Posted June 25, 2016 I noticed there a special character "~" in your store folder and URL. it may cause some issues because this character is a special character for url rewrite rules. try to removed "~" from your folder and make related settings and see if that will fix your issue. Link to comment Share on other sites More sharing options...
Rhobur Posted June 27, 2016 Author Share Posted June 27, 2016 Hi shokinro, I am afraid it can't be that since a test default PS is installed in a similar directory, "~karine" and it works :-( Thanks for trying to help! Link to comment Share on other sites More sharing options...
shokinro Posted June 27, 2016 Share Posted June 27, 2016 you can check if there is any error logs in your store and your web server. and you may have to use debugger tool to find out where is went wrong. you an add die("stop here") statement to php files to go through the page execution from the beginning to see if you can find anything. you can start from /config/config.inc.php Link to comment Share on other sites More sharing options...
Rhobur Posted June 28, 2016 Author Share Posted June 28, 2016 The only error I see in the log is Property Address->id_country is empty at line 909 in file classes/ObjectModel.php Any idea to what it might refer? I see there is a validation error in the ObjectModel class but can find what it is causing it, I mean what class definition is missing. I have checked the address table and it has the id_country fields filled all right. Link to comment Share on other sites More sharing options...
shokinro Posted June 28, 2016 Share Posted June 28, 2016 I think there is some address data which does not have country. but usually it should not matter with admin log in, unless you are using other 3rd party modules. Link to comment Share on other sites More sharing options...
Rhobur Posted June 28, 2016 Author Share Posted June 28, 2016 No, no modules for that, it is the Warehouse theme. And the same setup works on another hosting :-( UPDATE: Applying a small script to debug some errors I got (I am listing just a bunch of them, there are more) I have checked and all files seem to be in place, the right size and the right permissions: "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/Media.php: 289","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/grid_prestashop.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/blockmanufacturer/blockmanufacturer.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/Media.php: 289","(Warning) filemtime(): stat failed for /home/karabian/public_html/modules/blockmanufacturer/blockmanufacturer.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/blockmyaccount/blockmyaccount.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/Media.php: 289","(Warning) filemtime(): stat failed for /home/karabian/public_html/modules/blockmyaccount/blockmyaccount.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/blocksupplier/blocksupplier.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/Media.php: 289","(Warning) filemtime(): stat failed for /home/karabian/public_html/modules/blocksupplier/blocksupplier.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/cookielaw/cookielaw.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/themeeditor/css/options/preloader.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/js/modules/themeeditor/js/front/script.js" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: 1307","(Warning) filemtime(): stat failed for /home/karabian/public_html/themes/warehouse/css/modules/themeeditor/css/themeeditor_s_1.css" "28 Jun 2016 16:08:18","/home/karabian/public_html/classes/controller/FrontController.php: "28 Jun 2016 16:08:18","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/blocksearch_mod/1/9/75/c4/05/75c40530d24a2b4f46ec0243de037d3ec9beafc7.blocksearch-top_mod.tpl.php" "28 Jun 2016 16:08:18","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/iqitcontentcreator/20160628/3/20160628/1/9/20160628/1/9/0c/9c/a3/0c9ca30e59dacae2a3238e0e8162522294001d9f.iqitcontentcreator.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/manufactuterslider/1/9/26/31/90/26319067426c6a5e3aacafe28c5d7fe45bc8743b.manufactuterslider.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/blocklink_mod/1/9/60/64/8a/60648a7ff8716a1c0061623fd643465f6eab9377.blocklink_mod.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/blocksocial_mod/1/9/41/27/6e/41276e8425fa96e5755c8f33c37d48c1d95fce36.blocksocial_mod.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/iqitmegamenu/1/9/10/61/2d/00/612d00c8ace46abda742846ea8fe2c0dab583e24.iqitmegamenu.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/blocksearch_mod/1/9/29/80/60/298060d4a997ddd9b11b000a0f4774ae74fb1d00.blocksearch-top_modm.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/homeslider/1/9/1e/20/02/1e2002066ce5a651f1575119ea14dfe7f75800bd.homeslider.tpl.php" "28 Jun 2016 16:08:19","/home/karabian/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64","(Warning) filemtime(): stat failed for /home/karabian/public_html/cache/smarty/cache/cookielaw/1/9/65/ce/90/65ce90040b7b915331d86a967414d5cbb8773da5.cookielaw.tpl.php" Link to comment Share on other sites More sharing options...
shokinro Posted June 28, 2016 Share Posted June 28, 2016 It seems that issues is related to file/folder permission or owner group. Link to comment Share on other sites More sharing options...
Rhobur Posted June 29, 2016 Author Share Posted June 29, 2016 all folders are 755, all files are 644 :-( Link to comment Share on other sites More sharing options...
shokinro Posted June 30, 2016 Share Posted June 30, 2016 How about user owner group? You can use FTP client to check that, see at owner group column of the file/folder list. check if they are the same with other files and folders. 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