| Anonymous | Login | Signup for a new account | 2010-09-02 17:30 BST |
| Main | Bug Tracker | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001114 | [CubeCart v4] Admin Control Panel | minor | have not tried | 2008-06-30 23:19 | 2008-08-19 04:22 | ||||
| Reporter | estelle | View Status | public | ||||||
| Assigned To | al | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 4.2.2 | ||||||
| Summary | 0001114: Image Management - images in folders cannot be deleted | ||||||||
| Description |
When trying to delete an image from a folder, the message 'Image was deleted' is displayed, however the image wasn't actually deleted - it still exists in the file system. The image is temporarily removed from the database (i.e. the Manage Images page) but later returns when the buildDatabase() function is run again. Problem is in classes/filemanager.class.php This line: $file = imgPath($result[0]['filename'], false, 'root'); Needs to be this: $file = imgPath($result[0]['filepath'], false, 'root'); Perhaps this line should also be changed in the same way? $thumbnail = imgPath($result[0]['filename'], true, 'root'); |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Browser | N/A | ||||||||
| Install Method | N/A | ||||||||
| MySQL Version | 4.1.x | ||||||||
| PHP Version | 5.2.x | ||||||||
| Server OS | Linux/Unix | ||||||||
| Skin | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
al (administrator) 2008-07-01 06:35 |
Thanks Estelle you were spot on. Thumbnail updated too. |
| Copyright © 2000 - 2008 Mantis Group |