While trying to import my files via SSH client using $php import.php @ALL command, I now the get the following error:
importing Leading Edge Telecom...[700/727]PHP Notice: Undefined offset: 10 in includes/MagicParser.php on line 2
It was working fine till last time and I have changed my PHP settings in the meanwhile (increasing session times, memory limit etc.) so not sure what's causing this error.
Any help?
Thanks
Hi David,
Thanks for your help.
This is happening with all feeds but they work OK if I manually import them.
Thanks
Hi,
Ah - I see what's happening.
The situation is that you have error/warning/notices turned up to full in your new PHP configuration. Are you able to turn down error_reporting to E_ERROR (value 1)?
By the way, as this is a notice it should still work despite this notice being displayed. Is that not the case?
Cheers,
David.
Changed everything . changed php.ini settings back to default but same error :(
Hi,
Although the notice is displayed, are the feeds still being imported correctly? When running a PHP script, a NOTICE message being output doesn't actually stop the script...
Can you confirm whether or not the feeds do successfully import despite the notice?
Thanks,
David.
Hi David,
Thanks for your help - it does import some feeds while not others. It sometimes even import large ones and at time, misses small ones.
Hi,
Could you perhaps email me a link to one of the feeds that does not import (i.e. yoursite.com/feeds/merchant.txt) - reply to your registration code or forum registration email is the easiest way to get me.
I'll then download the feed to my test server, set the same PHP error warning level try to recreate the problem here...
Cheers,
David.
Hi,
Is this occurring with that one feed only?
If so, could you possibly email a link to this particular feed in your /feeds/ directory (reply to your reg code or forum registration email) and i'll check it out on my test server...
Cheers,
David.