View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002444 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2011-01-25 16:22 | 2011-10-04 13:20 |
Reporter | kickiss | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.4.1 revision 28950 | ||||
Summary | 0002444: Malformed URL delete path - does not delete any files | ||||
Description | oxmediaurl.php function delete() $sFilePath - invalid formed | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0003185 | resolved | Linas Kukulskis | 404 after calling media data in frontend with https url |
|
I also noticed this some days ago and want to offer a solution. Inside of function delete() replace this: $sFilePath = $this->getConfig()->getConfigParam('sShopDir') . "/out/media/" . $this->oxmediaurls__oxurl->value; with this: $sFilePath = $this->getConfig()->getConfigParam('sShopDir') . str_replace($this->getConfig()->getShopUrl(), '', $this->oxmediaurls__oxurl->value); and all product media files can be deleted again without problems! :-) |
|
@developers: check if such issue still exist and if offered solution can be useful |
|
Could someone please change the priority of this issue to high/major? (because the problem still exists in version 4.5.2!) I wonder if nobody else has noticed this problem or simply don't use media files? ;) |
|
This problem should be solved with a fix of bug 0003185 |