Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Dec 2006
    Posts
    133
    Plugin Contributions
    0

    Default New Customer Account Problem

    I hope this is the right place to post this. Just started adding products to my site and thought before I get everything loaded I would test our whole checkout process and see if we got any errors. We did. When the customer adds the item to their account and then continues to create a new account you recieve the errors you will see in the provided picture. What is causing this? Sorry sort of new to this.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: New Customer Account Problem

    You customized something on line 37 of your /includes/languages/english.php file but did something wrong.

    specifically, you have a "define" statement that has more or less than 2 parameters.

    Proper syntax:

    define('CONSTANT_NAME', 'value');
    where CONSTANT_NAME is the re-usable name you shouldn't touch
    and 'value' is the customization text/content you wish to display when the CONSTANT is used by the code.
    Note the quotes around each.
    Note the comma in between
    Note the brackets around everything
    Note the semicolon at the end.


    https://www.zen-cart.com/tutorials/i...hp?category=16
    .

    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.

  3. #3
    Join Date
    Feb 2007
    Location
    Australia Mate
    Posts
    13
    Plugin Contributions
    0

    Default Re: New Customer Account Problem

    I am having similar problems. The error message i get is
    Warning: Cannot modify header information - headers already sent by (output started at /home/komninos/public_html/catalog/includes/application_top.php:133) in /home/komninos/public_html/catalog/includes/functions/functions_general.php on line 44

    ANy help would be good. THanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: New Customer Account Problem

    The FAQ section is the place to look:
    https://www.zen-cart.com/tutorials/index.php?article=87
    .

    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.

  5. #5
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    help question Re: New Customer Account Problem

    Doc,

    Working on localhost still, and trying to add a customer account.
    However, the data never makes it to the database.

    Furthermore, after filling in the form and clicking submit, the form resets, and there is no indication of any action taken.

    I never touched the create_account logic, what would prevent the account from being written to the database?

    Is there some logic that precludes adding the account based on some validations? It should say something.

    Thanks,
    ~Elliot
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: New Customer Account Problem

    In your includes/modules/<your_template>/create_account.php file,

    right below the: <?php tag,

    add:

    PHP Code:
    error_reporting(E_ALL); 
    This is what I do for debugging.

    If you find any error text from, the top of your page, please post them here.

  7. #7
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: New Customer Account Problem

    Thanks Oracle,

    Followed your direction, and fixed a few bugs in some core files.
    Found a few unintialized variables.

    And the one that really explains everything is this one.

    Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0
    Any ideas?

    Anyone?
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: New Customer Account Problem

    Which PHP and mySQL version are you running ? Oddly, I cannot seem to see this error anywhere from my end . . .

  9. #9
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: New Customer Account Problem

    What this problem resolved ? If so, what was the cure for it ?

  10. #10
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: New Customer Account Problem

    Hey Oracle,

    MySQL client v5.0.27 PHP5
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. customer can't create new account
    By donscotti in forum Managing Customers and Orders
    Replies: 0
    Last Post: 8 Feb 2012, 08:33 PM
  2. Customer said had problem creating account-dob problem
    By wtashby in forum General Questions
    Replies: 5
    Last Post: 1 Sep 2008, 11:38 AM
  3. Replies: 8
    Last Post: 10 Nov 2006, 04:34 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR