Jump to content

Prestashop customer login issue


mingxp

Recommended Posts

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 by mingxp (see edit history)
Link to comment
Share on other sites

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

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.
 

searchmodule.png

Link to comment
Share on other sites

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.
 

searchmodule.png

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"

imagen.thumb.png.67e1fdd3e98654eb3dc1473a45f8352c.png

Edited by JavierP (see edit history)
Link to comment
Share on other sites

@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

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

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 by Promokit (see edit history)
Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...