Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

some errors in customers.php file, PLEASE HELP !!


Elazar

Recommended Posts

Posted

Hi Everyone !

 

I installed the "IP address recorder" contribution, and follow the contribution instructions till the end.

 

When I ran the SQL from phpmyadmin to insert the command:

ALTER TABLE `customers` ADD `customers_ip_address` VARCHAR(15) NOT NULL;

 

I got some errors in the Administrator panel in customers category.

 

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/shakedtr/public_html/admin/customers.php on line 763

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/shakedtr/public_html/admin/customers.php on line 765

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/shakedtr/public_html/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/shakedtr/public_html/admin/includes/classes/object_info.php on line 18

 

---------------------

It also deleted all my previous customers details. ( thanks god it was only a demo...)

 

I checked the errors lines 763, 765 and got:

 

line 763: $customer_info = array_merge($country, $info, $reviews);

 

line 765: $cInfo_array = array_merge($customers, $customer_info);

 

I deleted all the countries one by one (yes it's crazy, I know ! ) except 1.

So I think this problem is from previous customers details

 

How can I complete delete customers details from phpmyadmin interface.

 

 

Any help will be much appreciated !! :'(

 

Thank you all in advance !

 

Elazar

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...