Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0003235mantisbtotherpublic2003-12-13 04:36
Reporterchrishaff Assigned Toaarjona  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
PlatformIntelOSWindows 2000; Service Pack 3OS Version5.00.2195
Product Version0.18.0a4 
Summary0003235: Can't upload files
Description

Can't upload files from any section of the Mantis application installed on my server. Upload works fine in straight PHP

Steps To Reproduce
  1. Go to DOCS > ADD FILE.
  2. Select a small file form the local drive.
  3. Click upload.
Additional Information

Result ---
ERROR: No file specified

I added some print statements to proj_doc_add.php to see what was going on. Here's the results.
$f_description=Description
$f_file=Array
$v_name=devicetable.log
$v_tmp_name=C:PHPuploadtempphp2DF4.tmp

Any suggestions as to where to start looking would be appreciated.

TagsNo tags attached.

Relationships

duplicate of 0002992 closedvboctor Unable to attach files to bugs 

Activities

chrishaff

chrishaff

2003-07-16 00:18

reporter   ~0004414

This is again on the same system that can upload just fine in PHP.

  1. Open a bug report.
  2. Select a small file form the local drive using the "Browse..." button.
  3. Click upload.

Result ---
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in d:\virtual_html\issuetracker\core\error_api.php on line 96
Mantis - Test Project

APPLICATION ERROR #15: ERROR: File upload failed. PHP file uploads may be disabled. Please ask your admin to run the admin_check script to debug this problem.
(bug_file_add.php: line 33)

chrishaff

chrishaff

2003-07-16 16:13

reporter   ~0004415

Well, it's me again, but it seems that somebody on the discussion boards is having the same problem on NT4/Apache.

http://sourceforge.net/forum/forum.php?thread_id=898566&forum_id=47436

The_HMB

The_HMB

2003-07-21 11:51

reporter   ~0004421

It could be that mantis doesn't like the win-slashes ( \ ).

chrishaff

chrishaff

2003-07-21 17:48

reporter   ~0004424

Well, I don't think it's the win-slashes as I did fool around with that. Even if it were it would be a bug though since you can't expect users to "Browse..." for a file and then expect them to hand edit what the browser generated for them.

luti

luti

2003-07-22 10:33

reporter   ~0004425

I've the same problem on a win XP pro sp1a.
When it try to upload something it doesn't work properly, I think it depends on the browser function that doesn't convert the backslashes in slashes.
Excuse me for my English I hope can you understand what I mean.

aarjona

aarjona

2003-07-28 17:40

reporter   ~0004456

This is a duplicate of bug 0002992, which has been fixed.