View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003002 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2011-06-23 12:26 | 2012-11-16 09:56 |
Reporter | Arunas | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.5.0 revision 34568 | ||||
Summary | 0003002: When adding a picture to a Promotion Banner while the directory 'out/pictures/promo' is deleted / renamed you get an error | ||||
Description | When you upload a picture in the admin -> promotions -> banner, while the directory 'out/pictures/promo' is missing or renamed, you get a PHP Warning "Warning: copy(/var/www/testshops/out/pictures/promo/graphicupload_promo.png): failed to open stream: No such file or directory in /var/www/testshops/core/oxutilsfile.php on line 454". It tries to move the file from TMP to the directory and fails (because the directory doesnt exist), but still shows that you can remove the picture (tho its not even uploaded) It should have somekind of System health check if the filesystem is not full, or create the needed directory before the upload | ||||
Steps To Reproduce | 1) Rename out/pictures/promo 2) Go to admin -> promotions 3) Create a new promotion with the type of "BANNER" 4) Browse to and image and press save | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||