Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Session_regenerate_id error

    When logging in to www.linnecards.com, the following error is received after entering username & password:

    Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/linnecar/public_html/includes/functions/sessions.php on line 162

    This is line #162 in the sessions.php file:

    session_regenerate_id();


    Any ideas for resolving this error? Thanks in advance.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Session_regenerate_id error

    How long has your site been live? What version of Zen Cart are you using? What addons or contributions are installed? Has this error just started? Has the login ever worked without the error?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Session_regenerate_id error

    I tried going to your site and my antivirus program alerted me that something on your site is attempting to run an downloader virus program.

    I didn't even get a chance to try logging in before the antivirus denied access.

    You need to shut down your live site (rename your index.php file to index.OFF), scan your computer and clean up your viruses on your PC first, and then download everything from your server and remove all unexpected content, and then re-upload good files back to your server. Be sure to delete inappropriate files from your server in the process.

    Treat it as though you've been hacked. Be sure to let your hosting company know so they can close the hole if there is one.

    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session_regenerate_id error

    Quote Originally Posted by DrByte View Post
    I tried going to your site and my antivirus program alerted me that something on your site is attempting to run an downloader virus program.

    I didn't even get a chance to try logging in before the antivirus denied access.
    May I ask what antivirus program you are running? I have ZoneAlarm Internet Security Suite and it didn't show anything.

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Session_regenerate_id error

    You have a hidden iframe at the top of your pages. Definitely something odd going on there and looks very much like your site has been hacked.

    Regards,
    Christian.

  6. #6
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session_regenerate_id error

    Quote Originally Posted by CJPinder View Post
    You have a hidden iframe at the top of your pages. Definitely something odd going on there and looks very much like your site has been hacked.

    Regards,
    Christian.
    Yep, found it, deleted it, fixed it. Thank you very much!!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Session_regenerate_id error

    Quote Originally Posted by thekimber View Post
    May I ask what antivirus program you are running?
    AVG Free from free.grisoft.com
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Mar 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session_regenerate_id error

    Quote Originally Posted by Kim View Post
    How long has your site been live? What version of Zen Cart are you using? What addons or contributions are installed? Has this error just started? Has the login ever worked without the error?
    The site has been live for about 3 years, and we transferred to a new host about 5 months ago. Everything has been working fine. The post below yours indicates the site may have been hacked?

 

 

Similar Threads

  1. Replies: 1
    Last Post: 22 Jun 2012, 05:01 AM
  2. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  5. Replies: 1
    Last Post: 12 Dec 2008, 07:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg