Page 1 of 1

leads error

PostPosted: Thu Nov 27, 2008 3:37 am
by walex
hello good guys, whenever click on submit on add new lead modules , it give out this error.
Warning: fopen(/tmp/vicidial_temp_file.txt) [function.fopen]: failed to open stream: No such file or directory in /usr/src/astguiclient/www/vicidial/new_listloader_superL.php on line 786

Warning: fgets(): supplied argument is not a valid stream resource in /usr/src/astguiclient/www/vicidial/new_listloader_superL.php on line 790
ERROR: The file does not have the required number of fields to process it.
and to furtherask can leads be any file or a file related to vicidial?

this is my new_listloader_superL.php on line 786

{
copy($LF_path, "/tmp/vicidial_temp_file.txt");
$lead_file = "/tmp/vicidial_temp_file.txt";
}
$file=fopen("$lead_file", "r");
if ($WeBRooTWritablE > 0)
{$stmt_file=fopen("$WeBServeRRooT/vicidial/listloader_stmts.txt", "w");}

$buffer=fgets($file, 4096);
$tab_count=substr_count($buffer, "\t");
$pipe_count=substr_count($buffer, "|");
thanks

PostPosted: Thu Nov 27, 2008 9:07 am
by mflorell
How exactly did you install VICIDIAL?

I don't know why you would be running it out of /usr/src