Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » FATAL ERROR: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2224 Views
  • bica
    Avatar
    Community Member
    3 Posts

    FATAL ERROR: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent Link to this post

    In ecommerce, when checkout product click button "Place order and make payment" is error :

    Notice: Undefined index: action_ChangeCountry in D:\xampp\htdocs\silverstripe\ecommerce\code\OrderForm.php on line 272

    Notice: Undefined index: action_ChangeCountry2 in D:\xampp\htdocs\silverstripe\ecommerce\code\OrderForm.php on line 272

    Notice: Undefined index: Password in D:\xampp\htdocs\silverstripe\ecommerce\code\OrderForm.php on line 193

    Notice: Undefined index: ConfirmPassword in D:\xampp\htdocs\silverstripe\ecommerce\code\OrderForm.php on line 193

    FATAL ERROR: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent
    At line 226 in D:\xampp\htdocs\silverstripe\sapphire\security\Member.php

    session_regenerate_id()
    line 226 of Member.php

    Member::session_regenerate_id()
    line 244 of Member.php

    Member->logIn()
    line 206 of OrderForm.php

    OrderForm->processOrder(Array,OrderForm)
    line 197 of Controller.php

    Controller->run(Array)
    line 15 of ModelAsController.php

    ModelAsController->run(Array)
    line 76 of Director.php

    Director::direct(/checkout/)
    line 104 of main.php

    Context

    --------------------------------------------------------------------------------

    Debug (Debug::showError() in line 149 of Debug.php)

    Pls, who can fix error, thanks.

    2224 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.