mingxp Posted December 21, 2020 Share Posted December 21, 2020 (edited) Hi my site www.kathmanduclothing.com is having problem with login or new registration. When I enable debug it gives following errors: (1/1) ContextErrorException Warning: session_start(): Cannot start session when headers already sent in FrontController.php line 700 at FrontControllerCore->prepareNotifications()in FrontController.php line 664 at FrontControllerCore->display()in Controller.php line 312 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 30 If enable the debug then the front end of site does not work also. So I have disable it. Then front end of site (eg not the login) works. This site is running on Prestashop 1.7.6.7 Current theme in use: alysum PHP version: 7.2.33 Memory limit: 512M Max execution time: 120 Upload Max File size: 512M Any assistance will be much appreciated. Edited December 21, 2020 by mingxp (see edit history) Link to comment Share on other sites More sharing options...
JavierP Posted December 21, 2020 Share Posted December 21, 2020 hace 20 minutos, mingxp dijo: Hi my site www.kathmanduclothing.com is having problem with login or new registration. When I enable debug it gives following errors: (1/1) ContextErrorException Warning: session_start(): Cannot start session when headers already sent in FrontController.php line 700 at FrontControllerCore->prepareNotifications()in FrontController.php line 664 at FrontControllerCore->display()in Controller.php line 312 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 30 If enable the debug then the front end of site does not work also. So I have disable it. Then front end of site (eg not the login) works. This site is running on Prestashop 1.7.6.7 Current theme in use: alysum PHP version: 7.2.33 Memory limit: 512M Max execution time: 120 Upload Max File size: 512M Any assistance will be much appreciated. Hi friend, 1st which version of your "alysum" template do you currently use? 2º Do you have any other third-party module installed to start session, search or something similar? 3rd you can write to your developer "Fred" if you have recently purchased the template. Link to comment Share on other sites More sharing options...
mingxp Posted December 22, 2020 Author Share Posted December 22, 2020 Thank you for your reply. Please find below my answers: 1. On the Alysum system status tab, it has following information Theme "Alysum" v.5.5.1 Theme Settings v.2.0.0 prestashop:1.7.6.7 php_version:7.2.33 memory_limit:512M allow_url_fopen:1 CURL: check_circle_outline DOM: check_circle_outline Fileinfo: check_circle_outline GD: check_circle_outline Intl: check_circle_outline Zip: check_circle_outline 2. Please see attached file, when did search terms on module it brings these modules: 3. Ok.I will to developer Fred. Link to comment Share on other sites More sharing options...
JavierP Posted December 22, 2020 Share Posted December 22, 2020 (edited) hace 7 minutos, mingxp dijo: Thank you for your reply. Please find below my answers: 1. On the Alysum system status tab, it has following information Theme "Alysum" v.5.5.1 Theme Settings v.2.0.0 prestashop:1.7.6.7 php_version:7.2.33 memory_limit:512M allow_url_fopen:1 CURL: check_circle_outline DOM: check_circle_outline Fileinfo: check_circle_outline GD: check_circle_outline Intl: check_circle_outline Zip: check_circle_outline 2. Please see attached file, when did search terms on module it brings these modules: 3. Ok.I will to developer Fred. ok friend, your alysum template surely needs to be updated, there are new versions that can correct your problem. Currently the latest version available is 5.7.0. You can check it in this capture. To update it you have to enter "Theme Setting" and then in the "Welcome" tab you have to add your license, click on search for updates and update. If you want ask "Fred" Edited December 22, 2020 by JavierP (see edit history) Link to comment Share on other sites More sharing options...
mingxp Posted December 22, 2020 Author Share Posted December 22, 2020 I just update the theme to: Theme "Alysum" v.5.7.0 Theme Settings v.2.0.3 but problem is still not resolved by it. Link to comment Share on other sites More sharing options...
Promokit Posted December 22, 2020 Share Posted December 22, 2020 Switch your prestashop to Classic theme and check out the issue. I suspect there is a problem with your server configuration Link to comment Share on other sites More sharing options...
Promokit Posted December 22, 2020 Share Posted December 22, 2020 Possible solution https://support.plesk.com/hc/en-us/articles/213933205-Website-hosted-in-Plesk-is-displayed-incorrectly-shows-503-Internal-Server-Error-or-returns-a-PHP-warning-Failed-to-read-session-data-files Link to comment Share on other sites More sharing options...
ClassyDevs Posted December 23, 2020 Share Posted December 23, 2020 @mingxp Marek Mnishek told the correct things. when you switch classic theme, you if the problem exits you can find out which module cause this issue. By looking your issue, i am sure it is comes from some kind of module which may overwrite the frontend controller or dispatcher. Will you check you have install any url rewrite mode. Secondly from Performance you can disable the overwrite and not native module and check error gone or not. Hope your issue will solve. Thank you Link to comment Share on other sites More sharing options...
mingxp Posted December 23, 2020 Author Share Posted December 23, 2020 Switching to classic mode did not resolve the issue. There is no other rewrite conde in htaccess except the prestashop normal re write code. and also did Performance you can disable the overwrite and not native module did not resolve the issue. Link to comment Share on other sites More sharing options...
Promokit Posted December 23, 2020 Share Posted December 23, 2020 (edited) Try the solution given in this post https://support.plesk.com/hc/en-us/articles/213933205-Website-hosted-in-Plesk-is-displayed-incorrectly-shows-503-Internal-Server-Error-or-returns-a-PHP-warning-Failed-to-read-session-data-files If you don't know how to do that ask your hosting provider to help you Edited December 23, 2020 by Promokit (see edit history) Link to comment Share on other sites More sharing options...
mingxp Posted December 24, 2020 Author Share Posted December 24, 2020 I have asked hosting regarding the permission of the folder. In the meantime, my add to carts button is also not working. Link to comment Share on other sites More sharing options...
mingxp Posted December 24, 2020 Author Share Posted December 24, 2020 I think my problem might be resolved if I can reinstall the Prestashop 1.7.6.7 (my current Prestashop version) as it seem my core Prestashop files has been corrupted somehow. Because core system function (eg add to card, registration, login etc) are not working. So how can I reinstall the Prestashop on my site. In some forums they suggest I install Prestashp on site and import your items, but I have lot of items (1000 plus) and 3 or 4 images per each per item. So that will take lot of time exporting and importing. Is there more simpler way to do it? Thank you guys for replying so far. Link to comment Share on other sites More sharing options...
mingxp Posted December 25, 2020 Author Share Posted December 25, 2020 (edited) Moved questions to theme support as advised below: Edited December 25, 2020 by mingxp Wrong forum (see edit history) Link to comment Share on other sites More sharing options...
Promokit Posted December 25, 2020 Share Posted December 25, 2020 There is no sense to write here about such kind of issue. Much better to write to the theme support https://support.promokit.eu Link to comment Share on other sites More sharing options...
mingxp Posted December 26, 2020 Author Share Posted December 26, 2020 Hi all, Just wanted to thank everyone for all the suggestions. One of the issue was with GoogleAnalyticEnhancedECommerce module which I needed to disable. It was interfering with registration and add to cart function. I had other problems beside that after updating (many different errors). So I restored the site from my old backup. So now I back to Prestashop 1.7.6.7 and Theme "Alysum" v.5.5.1 I will try again to update with copy of site instead of live site soon. 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