error: error in [unknown object].fireEvent(): event name: tinymceChange - magento

I want to configurer a product on admin Magento 2.3.0 and an error comes up.
"error: error in [unknown object].fireEvent(): event name: tinymceChange error message: Cannot read property 'createRng' of undefined".
What can i do ?. Thanks in advance.

One of the possible cause of this issue, Sometimes when you create a piece of content and then save and reload it from the database you will see some random characters like  or ? are added to your content. When you see unusual characters like these in your content this is likely a character encoding issue.
One of the Possible solution which I know
Go to path: lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js
Comment out this line: content = decodeURIComponent(content);
I hope this will help, not sure whether it works for you or not but you should try this

Related

reCAPTCHA Error: Invalid API parameter(s). Try reloading the page

i keep getting reCAPTCHA Error: Invalid API parameter(s). Try reloading the page. Whenever i try to "solve" reCAPTCHA V2...
This the only thing i found on internet about it, and it didn't help me a bit:
https://www.reddit.com/r/computers/comments/f4w0wf/recaptcha_error_invalid_api_parameters_try/
I got the same problem... Couldn't even pass the stackoverflow's one. Any help is useful :) Picture of problem
If you are comfortable in the registry:
open run: regedit
and Try this:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
On the right side, you'll find a file named:
"ProxySettingsPerUse" or "Default"
Click it and change its value to "1" (obviously without the " ").
Then you accept.
From:
Gabriel Lobo on https://support.google.com/chrome/thread/34982026?hl=en
A few responses said it worked for them.
It worked for me too

Magento 2: Transactional Email Preview Error

I'm trying to get some transactional email templates working however when I try to preview them, I get redirected to the 'Email Templates' page and get ' An error occurred. The email template can not be opened for preview.'
==============
Debugging
==============
I checked var/log/system.log and get the following whenever I try to preview the email template:
main.INFO: Broken reference: the 'notification.messages' tries to reorder itself towards 'user', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
I also checked the XML files in vendor/magento/module-email and didn't see anything out of the usual.
Any advice would be greatly appreciated!
In case anyone runs into this issue, unlocking the config fixed this for me. The config.php file had multiple settings that were locked so once I reverted this, the previews started to work again.
I'm not sure what specifically caused this however this is what fixed it for me!

Symfony2 - Doctrine:generate:crud - Routing error

I'm using Symfony2 RC3 and I have a NewsBundle that has an Article entity.
I generated crud for it using the command: $ php app/console doctrine:generate:crud (with 'write' set to yes).
Now, every page on my site throws this error:
Fatal error: Label 'not_admin_article_create' already defined in /usr/local/zend/apache2/htdocs/AIEF/app/cache/prod/appprodUrlMatcher.php on line 260
If i get rid of
requirements: { _method: post }
for admin_article_create, admin_article_update and admin_article_delete in the generated routing yml file, everything works fine. Any idea why ?
I came across a similar issue recently, Google search wasn't much help but give me ideas of where to look, anyways enough blah blah.
The error I was getting was as follows:
enter code here`Fatal error: Label 'not _ offering management' already defined in /...
Whats I noticed was that there was a duplicate entry in routing_dev.yml and routing.yml, so basically the issue pops up when you happen to have multiple configurations. I think Symfony2 bundle generation adds mapping, but user probably accidental re-configures mapping else where.

Magento doesn't save my catalog_product_set, what can I do?

I 've installed magento and it seems to work, but if I want to save a new Catalog_product_set with different attributes then I get Internal Error Message with Status Code 500
Does anyone have the same problem?
Thanks in advance
cheers tabaluga
Your screenshot (and from the looks of it Magento's error page) clips the edge of the error off. Seeing the rest of the error message might be important. Regardless, it looks like Magento is trying to load a config file w/ simplexml, and cannot find that file.

NSURLErrorDomain error -3001

I'm trying to download a file from the internet, but I get the error -3001 back. I've been searching through google but the error doesn't appear on any website, so i have no idea what it means.
Can anyone tell me what the error code "NSURLErrorDomain error -3001" means?
Thanks
There's also a full list of all NSURL error codes here. It's very handy when you get cryptic error messages from the URL loading system.
I wrote an applescript awhile back that can search the header files for error codes. You can find the applescript here.
I ran that applescript for your error code and got this from the CFNetworkError.h file.
Error Description:
kCFURLErrorCannotOpenFile
The error comes from the fact that setDestination expects a full path with a filename:
This is wrong:
[fileDl setDestination:#"/Users/ant/ebooks/" allowOverwrite:YES];
This is right:
[fileDl setDestination:#"/Users/ant/ebooks/file.epub" allowOverwrite:YES];
So the explanation is that probably you did something like I did: specify an existing folder where you intended to put the data.
PS: the dash before 3001 prevents Google from returning any results with the request: "NSURLErrorDomain error -3001", it is parsed as: "NSURLErrorDomain and error and not 3001"..

Resources