View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05050Bug reportsOtherpublic2011-05-04 19:50
Reportersmarthbehl Assigned Totexens  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC5 
Fixed in Version1.91 
Summary05050: FILE UPLOAD EDITING ERROR
Description

When you upload a file and then click on delete button (or image) it shows the following warning message:

Warning: fopen(tmp/upload/) [function.fopen]: failed to open stream: No such file or directory in C:\wamp\www\lime\delete.php on line 55
can't open file

Steps To Reproduce

I have seen the code and did a bit of debugging.I have concluded that:

1.$_GET['file_index'] is not returning anything so in function fopen no file is found.

  1. To supress the warning message change line 55 in file delete.php to
    $fh = @fopen($filename, 'w') or die("can't open file");
    This at least does not show warning message.But simply shows message cant open file
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9907
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6
Database type & versionMySQL 5.1.36
Server OS (if known)VISTA Professional
Webserver software & version (if known)WAMP 2.0
PHP Version5.2.6

Users monitoring this issue

mattias

Activities

texens

texens

2011-04-12 14:28

reporter   ~14797

Issue fixed in r9979

Issue History

Date Modified Username Field Change
2011-03-23 23:59 smarthbehl New Issue
2011-03-26 11:48 c_schmitz Assigned To => texens
2011-03-26 11:48 c_schmitz Status new => assigned
2011-04-12 14:28 texens Note Added: 14797
2011-04-12 14:28 texens Status assigned => resolved
2011-04-12 14:28 texens Resolution open => fixed
2011-04-20 22:56 mattias Issue Monitored: mattias
2011-05-04 19:50 c_schmitz Status resolved => closed
2011-05-04 19:50 c_schmitz Fixed in Version => 1.91
2021-08-03 03:23 guest Bug heat 2 => 4