You are here:  » Error when importing at command line

Support Forum



Error when importing at command line

Submitted by AD_Mega on Tue, 2008-09-09 23:48 in

I get this error when i try to import:

PHP Notice: Undefined index: argc in /chroot/home/megashop/mywebsitename.com/html/scripts/import.php on line 24
PHP Notice: Undefined index: argv in /chroot/home/megashop/mywebsitename.com/html/scripts/import.php on line 25
Content-type: text/html
X-Powered-By: PHP/4.3.11

Submitted by support on Wed, 2008-09-10 07:57

Hi Adrian,

These are PHP notices which aren't actually errors, but are only displayed because your PHP installation is configured at the highest "warning" level.

However, this indicates that the script has been called without any parameters - is this the case, or are you calling it with parameters and despite the warnings it is still going on to import normally?

Cheers,
David.

Submitted by AD_Mega on Wed, 2008-09-10 08:08

I just ran the command php import.php palm.xml and I got those errora na the file didn't import.

Submitted by support on Wed, 2008-09-10 08:30

Hi Adrian,

Could you email me your scripts/import.php and i'll take a look as the line numbers don't seem to correspond - thanks!

Cheers,
David.