Hmmm….I’m getting this error (and no entries are loading):
Warning: curl_setopt() [function.curl-setopt]: the provided file handle is not writable in […]/pi.csvgrab.php on line 157
I’m on a Mac, but I think I’ve got the right line endings.
Any clues?
[Mod Edit: Modified title for clarity]
(Sorry….meant to post this to the csvgrab thread. Too fried to manage it.)
At the line in question, the PHP code has created a tmpfile and then pass it to curl. Either tmpfile() returned a non-writable file or returned an error value. It is very odd this is not working. It may mean there is something broken with your hosting setup.
Having said that, the workaround is not to use a URL to specify your .csv file. So instead of:
http://yoursite.com/yourcsvfile.csv
you need something like:
/users/yourlogin/public_html/yourcsvfile.csv
The exact path you need varies from webhost to webhost, and if you are not sure, ask your webhost how to specify a file in your directory tree.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.