Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Getting error when creating account

    Hello,

    I have been working with this Zencart for about 2 weeks. It was working GREAT except I couldnt get it to email anything. I then upgraded (from 1.3.5 to 1.3.6). I am now getting the following error after setting up account.

    Primary Address
    Warning: Invalid argument supplied for foreach() in D:\Inetpub\watertrampolinesoutlet\ZenCart\includes\templates\template_default\te mplates\tpl_create_account_success_default.php on line 26


    I am not a PHP guy, so i am lost, but completely understand dynamics. I thank you in advance for your help. Hope this message doesnt sound jaded...i am a bit frustrated.

  2. #2
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Getting error when creating account

    Looking at the code on line 26 on the page shown above;

    The code only goes to line 21. Anyone have any ideas?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Getting error when creating account

    Try applying the patch posted in posts 1 and 2 (only) of this thread:
    http://www.zen-cart.com/forum/showth...ddressarray%2A
    You'll be editing this file:
    /includes/modules/pages/create_account_success/header_php.php

    NOTE: This is already fixed in v1.3.7, which was released in December and contains several bugfixes to v1.3.6 in it.
    .

    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. v150 Error message when creating an account
    By 4jDesigns in forum General Questions
    Replies: 9
    Last Post: 6 Jan 2013, 09:04 AM
  2. Error 500 when creating a new account
    By OldToot in forum Managing Customers and Orders
    Replies: 5
    Last Post: 15 Oct 2011, 07:04 PM
  3. 1064 syntax error when creating account
    By mayleine in forum General Questions
    Replies: 3
    Last Post: 2 Jan 2011, 11:31 AM
  4. Error when creating an account.
    By Graphicman in forum General Questions
    Replies: 4
    Last Post: 23 Aug 2010, 10:33 AM
  5. Error when creating new account
    By sinsor in forum Managing Customers and Orders
    Replies: 1
    Last Post: 17 Nov 2009, 10:14 PM

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