You are here:  » undefined notices


undefined notices

Submitted by stevewales20 on Sun, 2013-07-21 21:44 in

hmm getting a ton of these whilst running php import.php @ALL

PHP Notice: Undefined index: in /usr/share/nginx/www/includes/admin.php on line 176
PHP Warning: mysql_insert_id() expects parameter 1 to be resource, object given in /usr/share/nginx/www/includes/database.php on line 57
PHP Notice: Undefined index: in /usr/share/nginx/www/includes/admin.php on line 176
PHP Notice: Undefined index: in /usr/share/nginx/www/includes/admin.php on line 176
PHP Warning: mysql_insert_id() expects parameter 1 to be resource, object given in /usr/share/nginx/www/includes/database.php on line 57
PHP Notice: Undefined index: in /usr/share/nginx/www/includes/admin.php on line 176

Am i right in thinking that this:
PHP Warning: mysql_insert_id() expects parameter 1 to be resource, object given in /usr/share/nginx/www/includes/database.php on line 57

means that the connection variable is not being sent? looking around the net that's what it suggests. The products are still importing, slowly, but they are doing it.

Also line 176:

$importRecord[$field] = $record[$admin_importFeed["field_".$field]];

any suggestions on how to stop this?

Thank you,
Steve

Submitted by support on Mon, 2013-07-22 08:02

Hi Steve,

I know you've made a number of changes I don't quite understand the context (but close!) please could you email me your latest:

includes/admin.php
includes/database.php

...and I'll check that out for you...

Cheers,
David.
--
PriceTapestry.com