hookupz Posted November 26, 2003 Posted November 26, 2003 I just installed the 2.2CVS and I have the whole site up and running. I upgraded from 2.1MS1. The big issue that I have is that when a new customer registers and attempts to log in it does not log them in. It takes them back to the catalog index page but they are still a Guest. It shows no errors on the catalog side... When I go into the admin and look up an account that was just created it gives me there errors. Warning: reset(): Passed variable is not an array or object in /home/domain/public_html/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/domain/public_html/admin/includes/classes/object_info.php on line 18 I have tried several things and nothing works... Any suggestions?
beardeddone Posted November 26, 2003 Posted November 26, 2003 I just installed the 2.2CVS and I have the whole site up and running. I upgraded from 2.1MS1. The big issue that I have is that when a new customer registers and attempts to log in it does not log them in. It takes them back to the catalog index page but they are still a Guest. It shows no errors on the catalog side... When I go into the admin and look up an account that was just created it gives me there errors. Warning: reset(): Passed variable is not an array or object in /home/domain/public_html/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/domain/public_html/admin/includes/classes/object_info.php on line 18 I have tried several things and nothing works... Any suggestions? I suppose you did, but I have to ask, did you upgrade your admin files as well when you upgraded? And you did use the install/upgrade.php Best Regards
hookupz Posted November 26, 2003 Author Posted November 26, 2003 of course I did... I used the upgrade patch for the database and then did the full install over my database.
hookupz Posted November 26, 2003 Author Posted November 26, 2003 I assume the patch didnt cover some sort of upgrade to a sql table because it is not adding the information the customer enters into the database. The line that the error is calling to is reset($object_array); while (list($key, $value) = each($object_array)) {
hookupz Posted November 26, 2003 Author Posted November 26, 2003 Login issue fixed http://www.oscommerce.com/forums/index.php?act=ST&f=1&t=67818
buymp3 Posted November 27, 2003 Posted November 27, 2003 I have the same kind of error When trying to edit customer's details from admin area. Warning: reset(): Passed variable is not an array or object in /home/buymp3o/public_html/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/buymp3o/public_html/catalog/admin/includes/classes/object_info.php on line 18 The program seems to have problems with retreiving customer's details whenever needed ( during the checkout, editing of the account)
fiat707 Posted November 29, 2003 Posted November 29, 2003 Hi, I have installed the latest osC2.2MS2. Right after some trial run of creating account, browing catalog, checkout test, and installing some contributions, I returned to my store and tried to login the account I created earlier. After typing correct email and pw and hit "continue", it gave me the "This page cannot be found!" error. Then I hit browser "BACK" button and it asked me to press "refresh". After hitting "refresh", it went back to login page with leftover items shown in Mycart box at the upper-right corner. And then I could click to view Mycart page and do checkout from there (still had to login again). So, why am I not able to just login to my account page after typing login info and hit continue? Is there something messed up in the code of my login.php? I couldn't figure out. Any idea and help? Thanks KF
fiat707 Posted November 29, 2003 Posted November 29, 2003 Very funny, I just found a patch to fix a bug in catalog/includes/functions/general.php Now, login link and checkout-success "continue" button work perfectly! Just want to let you know there is a cure, in case anybody still has the problem. KF
beardeddone Posted November 29, 2003 Posted November 29, 2003 Login issue fixed http://www.oscommerce.com/forums/index.php?act=ST&f=1&t=67818 So what did you do to fix this problem? Best Regards
Rajah Boa Kelp Posted January 25, 2004 Posted January 25, 2004 Very funny, I just found a patch to fix a bug in catalog/includes/functions/general.php Now, login link and checkout-success "continue" button work perfectly! Just want to let you know there is a cure, in case anybody still has the problem. KF Please post it then! I have the same problem (i think), impossible to check-out, it logs me always off...
Logisyscorp Posted March 31, 2005 Posted March 31, 2005 Very funny, I just found a patch to fix a bug in catalog/includes/functions/general.php Now, login link and checkout-success "continue" button work perfectly! Just want to let you know there is a cure, in case anybody still has the problem. KF <{POST_SNAPBACK}> KF, we have suffering same problem, can you tell us how to fix it? Thanks ! Sharon
Recommended Posts
Archived
This topic is now archived and is closed to further replies.