Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin/includes/classes/objectinfo.php error


burtonsnow8

Recommended Posts

I have recently moved servers and have been experience issues with my customer database. All my customers have no info and I get these two errors when trying to view any of our customers.

 

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

 

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

 

I have tried to follow the help given in THIS POST http://www.oscommerce.com/forums/index.php?showtopic=291947

 

I am still receiving the errors after making those two changes. Any suggestions?

Link to comment
Share on other sites

I have recently moved servers and have been experience issues with my customer database. All my customers have no info and I get these two errors when trying to view any of our customers.

 

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

 

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

 

I have tried to follow the help given in THIS POST http://www.oscommerce.com/forums/index.php?showtopic=291947

 

I am still receiving the errors after making those two changes. Any suggestions?

Hello,

 

I see that objectInfo is called three times in the admin/customers.php:

Line Number: 195

$cInfo = new objectInfo($HTTP_POST_VARS);

Line Number: 226

$cInfo = new objectInfo($customers);

Line Number: 736

$cInfo = new objectInfo($cInfo_array);

 

you have to comment out one after one to find which one cause the error.

 

 

and show the content of your admin/customers.php file here

 

 

Stanislav

Link to comment
Share on other sites

I have recently moved servers and have been experience issues with my customer database.

 

Hello,

 

Are you sure that all the database data was moved correctly?

Check the two tables:

customers

address_book

 

 

 

Stanislav

Link to comment
Share on other sites

Hello,

 

Are you sure that all the database data was moved correctly?

Check the two tables:

customers

address_book

 

 

 

Stanislav

 

Oh wow.....lol thank you very much

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...