osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

DOB automatically resets to true

This is a discussion on DOB automatically resets to true within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I'm having a small issue on one of my stores with the require Date of Birth always resetting itself to ...

      
  1. #1
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default DOB automatically resets to true

    I'm having a small issue on one of my stores with the require Date of Birth always resetting itself to true in the checkout process. I set it to false in the control panel and it always seems to revert back to true within about a minute or two.

    I thought it might be a file permissions problem at first but that did not fix the problem. Has anyone else had this issue? Any ideas as to what would cause this? I'm running osCMax v2.0 RC3
    Last edited by Marotta1; 12-12-2009 at 09:56 AM.

  2. #2
    osCMax Developer

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


    Default Re: DOB automatically resets to true

    The only other site I saw this happening to had been hacked. Check your files to make sure they have not been recently edited. If you have not patched your RC3 shop, it is easily hacked.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

  3. #3
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default Re: DOB automatically resets to true

    Thanks Michael. I didn't see it at first, but I eventually found it. Site was hacked due to the horrible security practices of someone other than me. Their computer was infested with junk.

    Word to the wise for people out there. Be careful who you let log into your site and have FTP access with your store. People can easily get important info off unsecured computers like FTP passwords.

  4. #4
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: DOB automatically resets to true

    Change every single password you have and you NEED to make sure your computer has not been infected also.
    John

  5. #5
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default Re: DOB automatically resets to true

    I did change every password and have made sure my computer has not been infected also.

    I do have another issue. I've gotten everything fixed, but when we try to checkout, there are no shipping options. I don't see anything wrong in the control panel, unless I'm missing something. Could this be a database issue that was created by this whole episode, or should I be looking for something else?

    Any other tips/insights are greatly appreciated.

  6. #6
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: DOB automatically resets to true

    The shipping options are enabled through the database so you can check that. Check your configuration table using phpmyadmin or the like. It's hard to say without a lot more info but your database config could have been comprised also.
    John

  7. #7
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default Re: DOB automatically resets to true

    I got this all worked out. There were some setting issues causing the shipping options not to show up. I am now having one more small issue.

    When we get to checkout_success.php, we get the following error:

    Parse error: syntax error, unexpected $end in /xxx/wwwww/ddd/rrr/bbbbbbbb/www/mydomain.com/catalog/checkout_success.php on line 129
    Anyone have any suggestions as to what might cause this? The order does go through and get processed.

  8. #8
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: DOB automatically resets to true

    You're missing a closing brace like
    }
    so it's not expecting to come to an end. You can put the brace at the end to see if your error goes away but really your braces should be balanced. Have you modified your files?
    John

  9. #9
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default Re: DOB automatically resets to true

    Don't think I've modified that file, but I'll check. Could have gotten corrupted as well. Thanks for the tip John W. I can easily check for closing }'s.

  10. #10
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: DOB automatically resets to true

    It could be from another file through an include or require statement. A good text editor will help you in seeing when your braces are balanced. While the correct fix may be just putting a } at the end it is important for braces to be balanced as that is how code is included or excluded.

    For instance, compare these two bits of code
    PHP Code:
    if (yak yak condition) {
      echo 
    ' yak yak condition is true' ;

    versus

    PHP Code:
    if (yak yak condition) {
      echo 
    ' yak yak condition is true' ;
      echo 
    ' extra code only included when true because the opening brace was not closed correctly';

    You can see that code that should be executed only happens when yak yak is true
    John

Page 1 of 2 12 LastLast

Similar Threads

  1. where and how can make ACCOUNT_GENDER = true
    By bmonster8899 in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 08-26-2007, 09:54 AM
  2. Setting Cache as TRUE
    By KathyF in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 05-31-2006, 06:06 AM
  3. True or not!! about max
    By fsyong in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 10-01-2004, 06:09 PM
  4. Using Manufacturer's dropdown list resets cart to 0 items
    By Paulo in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-06-2004, 06:26 AM
  5. Tax set to true but prices not displayed with tax included
    By edgerider in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 10-29-2003, 12:48 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
  •