New Zenner
- Join Date:
- Nov 2006
- Posts:
- 11
- Plugin Contributions:
- 0
[Done v1.3.7] account creation bug when displaying create-account-success page
Earlier today I installed zencart on my server. I used wget unzip changed the ownership and group on the files to be used by my apache user. Install went smoothly. I go to create a test user and I get the following error.
[B]Warning[/B]: Invalid argument supplied for foreach() in [B]/home/httpd/vhosts/eastmedent.com/httpdocs/store/includes/templates/template_default/templates/tpl_create_account_success_default.php[/B] on line [B]26[/B]
```I did a little research on the forums, thinking that this was a common problem, oddly I found that it only happened when upgrading or using a mod by NotGoddess. Both of which I haven't done, as this is a default install, completely fresh.
A little about my server:
Apache on Red Hat
PHP 4.3.2
MYSQL 3.23.58
I gave it a shot at debugging what's going on and I'm feeling it has to do with line 41 of the the create_account_success header_php.php. But today is one of those days where I just can't think.
```php
$addressArray[] = array('firstname'=>$addresses->fields['firstname'],
'lastname'=>$addresses->fields['lastname'],
'address_book_id'=>$addresses->fields['address_book_id'],
'format_id'=>$format_id,
'address'=>$addresses->fields);
Any help would be greatly appreciated.
Thanks,
David