Magento CE 1.9.0.0 downloadable product does not open uploader
-
12-12-2019 - |
Domanda
In Magento CE 1.9.0.0 I have the problem that when I add a downloadable product in backend and want to add the file by clicking "Add new row" nothing happens.
The console reports:
SyntaxError: unterminated string literal 'Dieser Inhalt erfordert die neueste Version des Adobe Flash
Does someone know in which file the error occurs?
Soluzione 3
After searching for the answer I came across a hint that was the solution. The Problem is probably caused by a language file:
Altri suggerimenti
The file uploader uses flash, please make sure you have an up to date version of flash installed for your browser.
The root cause for this problem is the file app/locale/de_DE/Mage_Media.csv
which somehow contains an additional line break at the end of the file:
"This content requires last version of Adobe Flash Player. Get Flash","Dieser Inhalt erfordert die neueste Version des Adobe Flash Players. Flash herunterladen
"
Of course this can easily be fixed by removing additional line break or adding a translate.csv to your admin theme and adding the line
"Mage_Media::This content requires last version of Adobe Flash Player. Get Flash","Dieser Inhalt erfordert die neueste Version des Adobe Flash Players. Flash herunterladen"