Results 1 to 5 of 5

Possible Bug In Create Account

This is a discussion on Possible Bug In Create Account within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi Guys, Thought I would post about an issue Ive been having with a site recently. Installed the latest version ...

      
  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    63
    Rep Power
    6


    Default Possible Bug In Create Account

    Hi Guys,

    Thought I would post about an issue Ive been having with a site recently. Installed the latest version of the software (looks great by the way), configured it all and then created my template.

    Everything was hunky dory until yesterday before launching it I went to create an account as a dummy customer, I filled out all fields and clicked the continue button only for nothing to happen. The page just refreshed itself without showing any errors or warnings. I was quite confused so assumed it must have been something I'd done whilst customising it so I tried a totally clean template and includes folder and still the same problem.

    Then by chance I went into the admin area and started to change various settings back to their deafult to see if the problem could be related to one of these. After hours scratching my head I found the problem was caused by the "state" option being disabled in the "customer details" section, I enabled this and it all works fine now!

    Not 100% if this a bug but thought I'd let you know.

    Cheers,

    James

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Possible Bug In Create Account

    Thanks for reporting this ... I have posted a bug tracker report so this issue will get investigated.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    New Member
    Join Date
    Apr 2009
    Posts
    16
    Rep Power
    0


    Default Re: Possible Bug In Create Account

    I'm seeing the same issue. I see the bug report has been closed but I'm not sure you have understood the issue.

    With states turned off - once you complete the form and press continue, the page goes back to the create_account.php page with no warnings.

    Looking at the code, it seems you can never complete the registration if ACCOUNT_STATE == 'false'

    Line 150

    if (ACCOUNT_STATE == 'true') {

    closes at line 365.

    tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT _SUCCESS, '', 'SSL')); is at line 363 and therefore can never be called unless ACCOUNT_STATE is true.

  4. #4
    New Member
    Join Date
    Apr 2009
    Posts
    16
    Rep Power
    0


    Default Re: Possible Bug In Create Account

    Adding a } on line 161 and removing the } on line 365 seems to fix this.

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Possible Bug In Create Account

    This is fixed in the upcoming 2.0.25 maintenance release.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Admin Create Account 1.0
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-25-2007, 03:31 PM
  2. Create Account glitch?
    By bkpie in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 06-17-2007, 07:59 PM
  3. create account
    By jschafer52 in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-15-2007, 08:38 AM
  4. Why can't create a new account ?
    By kellycog in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 06-29-2004, 10:58 AM
  5. Create Account,Checkout,My Account, Language Pictures probs!
    By Mikey in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-08-2004, 11:20 PM

Bookmarks

Posting Permissions

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