csv import is a very basic linear script, which should be easy to
debug.
If you find something, let us know here …
Thanks for the response, Ralf. Here’s what I found:
The import proceeds fine with with a minimal test CSV file
with two rows and three columns. My file, which is 12M and has
many rows and columns, triggers the issue.
I first suspected a max file-upload size, and up’ed both the local & global
values to 100M. (This server only does eGroupware). I used the built-in
phpinfo() script to check that the new max upload sizes were in effect and
tried again. Same result.
I traced the failure point to this line in infolog/csv_import.php:
if (isset($_FILES[‘csvfile’][‘tmp_name’]))
This is not getting set when it should be. I tried checking the error code after
this line, but it was not set:
debugging added
error_log("got? ".$_FILES[‘csvfile’][‘error’]);
My PHP could be stronger, but it appears there is some fundamental issue before
things even really get started, and some additional error checking is needed.
I thought checking for the “error” code above would be the thing to add, but
apparently something else is needed.
Further ideas?
I appreciate your help.
Mark
–
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
mark@summersault.com Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don’t miss this year’s exciting event. There’s still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers