-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WYSIWYG editor doesn't open on product admin page #2656
Comments
Cant reproduce with 19.4.x-latest |
I also cannot reproduce this using the tagged
For the other variables, I can't see a reason why they won't exist... |
I tried to reproduce the error in OM 19.4.18 cloned today from the repository, but without success. Below is a screenshot from the Backend. In Console there are no messages and two issues appear related to prototype.js and tiny.mce.js, but they are not related to the reported issue. After any upgrade the OpenMage cache must be cleaned, also the browser cache. In a test environment disable both caches. |
@elidrissidev I did empty Magneto's cache as well as browser's. What additional info can I provide to help debug this? I upgraded my site by extracting the 19.4.18 tar package to my root directory. None of the errors appear pre-upgrade. Everything else seems to work es expected both pre and post upgrade. |
Can you post the content of the first <script type="text/javascript">
var BLANK_URL = 'http://magento.localhost/js/blank.html';
var BLANK_IMG = 'http://magento.localhost/js/spacer.gif';
var BASE_URL = 'http://magento.localhost/index.php/admin/index/index/key/7a18a1ef53f5ed89b706dd61538e420d/';
var SKIN_URL = 'http://magento.localhost/skin/adminhtml/default/default/';
var FORM_KEY = 'QPBwweNxDvA7KaXZ';
var LOADING_TIMEOUT = 200;
</script> All of the errors seem to be related to some of these variables missing. Edit: also wanted to ask are these errors happening in other pages across the admin panel or only this one? |
Looks like this:
I think the FORM_KEY error points to this method in
The BLANK_IMG error points to this script:
|
I am able to reproduce your issue, but only if I make the method Please check the <?php
require_once 'app/Mage.php';
Mage::app();
var_dump((new Mage_Adminhtml_Block_Page_Head)->getLoadingTimeout()); |
@elidrissidev It returns an |
Is there any rewrite for |
@sreichel I don't understand your question. Can you elaborate? |
Can you please add |
@sreichel @elidrissidev Where in Nevermind the above, I figured it out. I get a |
You may wanna keep that extension enabled if you're actually using it, and instead just copy |
It'll be good to create this issue in https://github.com/fooman/speedsteradvanced |
Just wait a minute .... ;) |
Under the admin UI's Catalog > Manage Products > Edit page, the WYSIWYG Editor for the Description or Short Description fields on the General tab doesn't open. Instead I see a series of errors in my browser console (not sure which one's are related to this specifically)
SyntaxError: Unexpected token ';' (this is from a javascript snippet where
var LOADING_TIMEOUT = ;
)ReferenceError: Can't find variable: BLANK_IMG (this is from a javascript snippet where
Ext.BLANK_IMAGE.URL = BLANK_IMG;
)Failed to load resource: the server responded with a status of 404 (Not Found) http://extjs.com/s.gif
Can't find variable FORM_KEY (I think this is the error that pops up when actually trying to open the editor)
I can reproduce this only after upgrading my Openmage 19.4.17 site to 19.4.18.
The text was updated successfully, but these errors were encountered: