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.
Code:
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/eastmedent.com/httpdocs/store/includes/templates/template_default/templates/tpl_create_account_success_default.php on line 26
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 Code:
$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
Bookmarks