Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    9
    Plugin Contributions
    0

    Default Login Problems in PHP5

    Here is my situation, please bear with me. I am running
    Zen Cart 1.2.4.1
    Database Patch Level: 1.2.2

    I would like to integrate some code written in PHP5 into Zencart. The code is fairly extensive and it wouldn't make sense to rewrite it to support PHP4. It makes heavy use of the newfangled SOAP implementation that doesn't support PHP 4. Using another library, such as NuSoap or Pear is too different.

    We already made extensive changes to the templates and after reviewing the new Zencart release, it would be quite a feat to convert them to the lastest version. It would also mean we would have to retest the entire system and make sure nothing is broken. Upgrading Zencart isn't a viable option.

    One solution is to run the current version of zencart under PHP5 and it is known to have problems with PHP5. After typing in the login info, it sends me back to the same page with no error. Checkout drops the entire shopping cart after attempting to login. The rest of the site, however, seems to work fine. I believe the problem is related to sessions.

    If I can manage to solve this one hurdle I am homefree and I can start integrating the PHP5 code into Zencart. Any help out there?

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

    Default Re: Login Problems in PHP5

    1. If you are not going to upgrade to v1.3.x, then you should at LEAST upgrade to v1.2.7 for the security benefits.

    2. Admin->Configuration->Sessions ... try setting Recreate Session to false.
    .
    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.

 

 

Similar Threads

  1. Problems with Setcom payment module on PHP5
    By corax in forum Addon Payment Modules
    Replies: 2
    Last Post: 15 Feb 2008, 12:35 PM
  2. Zencart V2.6 & php5 problems
    By pottsy in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 29 Oct 2007, 04:33 PM
  3. Again upgrade from php4 to php5 problems
    By StenCZ in forum General Questions
    Replies: 2
    Last Post: 11 Aug 2007, 03:57 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