Magento 1.9 – Prototype.js Upload and Browse Not Working v1.9.2.1

javascriptmagento-1.9

The buttons are there, but as with 8788v2 patch they are showing on the left hand side, not the right, they are also not working. Checking in the console:

prototype.js:828 Uncaught ReferenceError: Uploader is not defined
    at eval (eval at <anonymous> (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:612:64), <anonymous>:3:24)
    at eval (eval at <anonymous> (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:612:64), <anonymous>:8:7)
    at http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:612:64
    at http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:865:29
    at http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:825:18
    at Array.forEach (native)
    at Array.each (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:824:12)
    at Array.collect (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:864:10)
    at String.evalScripts (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:612:34)
    at Function.<anonymous> (http://defibshop.yoma-cloud.co.uk/js/prototype/prototype.js:391:23)

However I have copied the original file from the Magento version and replaced it, still not working. I have cleared the cache, reindexed and also tried a number of different browsers.

Any ideas what it could be?

8788 patch has been applied. In the console:

When loading the page, checking the console:

(index):1829 Uncaught ReferenceError: Uploader is not defined(anonymous function) @ (index):1829(anonymous function) @ (index):1834
(index):1846 Uncaught SyntaxError: Unexpected token ,

Best Answer

set js merged to no in System->Configuration->Developer

and

check below js were added or not

lib/uploader/flow.min.js
lib/uploader/fusty-flow.js
lib/uploader/fusty-flow-factory.js 
mage/adminhtml/uploader/instance.js

if those js were not included then include below js files in head and check

If those js file not present in directory then copy from the fresh magento and include this files via below code

<reference name="head">
        <action method="addJs"><file>lib/uploader/flow.min.js</file></action>
        <action method="addJs"><file>lib/uploader/fusty-flow.js</file></action>
        <action method="addJs"><file>lib/uploader/fusty-flow-factory.js</file></action>
        <action method="addJs"><file>mage/adminhtml/uploader/instance.js</file></action>
</reference> 
Related Topic