Unhandled Error!

Fgetcsv() expects parameter 1 to be resource, boolean given

Document Debug
Document type CMS page
Line 17
Exception class Cms_ExecutionException

Code Highlight

	$handle = @fopen($path, "r");
 
	$bind = array();
	$column_map = array();
	$line_number = 0;
	$first_row_found = false;
    while (($row = fgetcsv($handle, 2000000, $delimeter)) !== FALSE)
    {
        $line_number++;
 
        if (Phpr_Files::csvRowIsEmpty($row))
            continue;
 
# Document Type
1 Debug CMS page