Raj Bhardwaj Posted November 7, 2017 Share Posted November 7, 2017 Hi all I am new with oscommerce and using oscommerce 2.3.4 the everthing is fixed now . Just two little problem occuring 1. please check screenshot https://prnt.sc/h76myo when i am trying to edit customers information from admin end its showing this error. 2. https://prnt.sc/h76n9q I have installed klarna payment module its showing into back end but into payment options front end its not showing please help! Link to comment Share on other sites More sharing options...
Raj Bhardwaj Posted November 7, 2017 Author Share Posted November 7, 2017 after change below changes into customers.PHP $customer_info = array_merge((array)$country, (array)$info, (array)$reviews); $cInfo_array = array_merge((array)$customers, (array)$customer_info); The next two error coming when I click on edit customers in object_info.php Warning: reset() expects parameter 1 to be array, null given in C:\Program Files (x86)\Ampps\www\oscom3\admin\includes\classes\object_info.php on line 17Warning: Variable passed to each() is not an array or object in C:\Program Files (x86)\Ampps\www\oscom3\admin\includes\classes\object_info.php on line 18 please help Link to comment Share on other sites More sharing options...
frankl Posted November 7, 2017 Share Posted November 7, 2017 What version of PHP are you using, and which version of osCommerce (is it the "official" osCommerce?) Number 2 error looks like you need to enter values for Merchant Number etc osCommerce user since 2003! Link to comment Share on other sites More sharing options...
Raj Bhardwaj Posted November 7, 2017 Author Share Posted November 7, 2017 2 hours ago, frankl said: What version of PHP are you using, and which version of osCommerce (is it the "official" osCommerce?) Number 2 error looks like you need to enter values for Merchant Number etc Thanks, frankl the problem is solved. In future, if anyone faces these kinds of the problem first of all check that your database tables imported correctly or not? The two tables combinations going to wrong that's why code going to occur problem the two tables are customers and address_book I have to reimport it and the issue going to solve. You should try first check database tables correctly and then try this code $customer_info = array_merge((array)$country, (array)$info, (array)$reviews); $cInfo_array = array_merge((array)$customers, (array)$customer_info); for customers.php coding files Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.