DAVID3733 Posted September 13, 2010 Posted September 13, 2010 Hi there Not sure when this problem started as i have been busy over the last week installing a few contribs and doing some house keeping upon trying to edit some of my customers in admin customer.php i get Warning: reset() [function.reset]: Passed variable is not an array or object in /home/domain/domains/xxxx/public_html/my admin folder name/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/the domain/domains/domain name /public_html/my admin folder name/includes/classes/object_info.php on line 18 and if a old customer comes back to try and buy his details are not passed to the shopping cart when logged in, there is no country for the shipping estimate to work ect and cannot complete sale, and as i cannot log into the customers.php page i cannot change email address of delete the customer Now i have spent last night and all day reading posts and recomendations but to no avail, most talk about upgardeing to PHP 5 but i am still on a version of 4 although i have have had Zend opitimiser put of the server recently, perhaps this has something to do with it. The strange thing is it is only affecting customers that have a day and Month in the Future, doesnt mattery about the year, for example Todays date is the 13th Sept 2010 (i am in Uk so its ddmmyyyy) so not working files might be dated 5/9/2010 5/9/2009 but working ones are 14/9/2010 14/9/2009 have looked at languages/english.php but i think thats ok so i assume its something to do with the date, i have done my best to go back on the recent addidtions to the site but cant see where the problem is, any pointers would be most appriciated Thank you david David
DAVID3733 Posted September 13, 2010 Author Posted September 13, 2010 Hi Further to my post i have changed the dates in phpmyadmin for customers_info for one of the customers to reflect a date in the past but a later month ie 10/3/2009 and a few other multiples but that didnt work so bang goes that theory, but it must still be related to the date David David
♥Monika in Germany Posted September 13, 2010 Posted September 13, 2010 I am guessing that those rows do not have entries to the address table to match your customer ... you can check that in phpmyadmin. Do you have html urls installed? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
DAVID3733 Posted September 13, 2010 Author Posted September 13, 2010 Hi there Just noticed in Address Book that customer id jumped about 3500 places a couple of pages back and did address book id, I do not reconise HTML id as a contrib so i donot think i have installed that, so it meanns that the customer does not have a related address, MMMmm i have tens of thousands of customers, listed, this now sounds scary David David
♥Monika in Germany Posted September 13, 2010 Posted September 13, 2010 there must be a reason why your address table is not filled for the rows the cause issues (or all rows recently? you have not been clear about the matching customers_id/address book table) ... and you would need some proper debugging to find the cause for it. as for some illnesses - ask a doctor - this can most probably not be done without seeing the patient. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
DAVID3733 Posted September 13, 2010 Author Posted September 13, 2010 Hi there Just to Finish Up as i hate Topics that do not have a end in them I have no ideaa what i had done wrong last week but i must have damaged the data base somehow as half of the address book details were missing Lucky i do regular back ups and stiched together one from last week with the old dats and one from today with the up todate data, will report if it caused any other problems regards david David
♥Monika in Germany Posted September 13, 2010 Posted September 13, 2010 now that sounds great ... so you may just have deleted ... somehow ... a bunch of address book table rows. good to hear, much better than a problem while inserting customer data during account creation. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.