hongthuyvfu Posted April 22, 2015 Share Posted April 22, 2015 Hey guys, when I Create Account or click next to go through checkout in the shopping cart page, it not working and it becomes http://tinhdau360.vn/authentication?back=my-account or http://tinhdau360.vn/authentication?multi-shipping=0&display_guest_checkout=0&back=http%3A%2F%2Ftinhdau360.vn%2Forder%3Fstep%3D1%26multi-shipping%3D0 My site http://tinhdau360.vn Here is my authentication.tpl file code; http://pastebin.com/whvC8nr5 (on Localhost wampserver it ok, but on hosting it error) Thank you in advance for your help! Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Enable Debug mode using define('_PS_MODE_DEV_', true); in /config/defines.inc.php to see the error. 1 Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 Hi tuk66. Can you tell me more. thank Link to comment Share on other sites More sharing options...
kishoreunni Posted April 22, 2015 Share Posted April 22, 2015 Enable Debug mode using define('_PS_MODE_DEV_', true); in /config/defines.inc.php to see the error. As tuk66 said u should change _PS_MODE_DEV_ to true at around line 29. By default it is set to false. 1 Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 Fatal error: Call to undefined method Gender::getGenders() in /home/tinhdau/public_html/controllers/front/AuthController.php on line 87 and Warning: parse_url(/authentication?multi-shipping=0&display_guest_checkout=0&back=http://tinhdau360.vn/order?step=1&multi-shipping=0) [function.parse-url]: Unable to parse URL in /home/tinhdau/public_html/classes/Dispatcher.php on line 746Fatal error: Call to undefined method Gender::getGenders() in /home/tinhdau/public_html/controllers/front/AuthController.php on line 87 message error for Create Account and checkout Link to comment Share on other sites More sharing options...
kishoreunni Posted April 22, 2015 Share Posted April 22, 2015 whether this is working perfectly in localhost or not ? 1 Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 yes, this is working perfectly in localhost Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 may be because my errors hosting Link to comment Share on other sites More sharing options...
kishoreunni Posted April 22, 2015 Share Posted April 22, 2015 i think ur localhost prestashop version and remote prestashop version are having a mismatch. or may be any error in the hoisting. 1 Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 Hi kishoreunni I send you my account FPT hosting. plese help me fix error. Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Check if you have all files (and not cropped) on the server. Sometimes FTP fails and a file is there, but with zero length. 1 Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 i think ur localhost prestashop version and remote prestashop version are having a mismatch. or may be any error in the hoisting. i had send messege to you. Link to comment Share on other sites More sharing options...
hongthuyvfu Posted April 22, 2015 Author Share Posted April 22, 2015 Check if you have all files (and not cropped) on the server. Sometimes FTP fails and a file is there, but with zero length. Thank. i think may be error in the hosting. Link to comment Share on other sites More sharing options...
Recommended Posts