"This customer email already exists" text error message - magento

Where is "This customer email already exists" text error message(My Account)?
In My account and on form where we try to change the email address. If we are trying to save the already exists email address we saw the error msg above.
I need to change something in that and tried looking around everywhere but could not find it.
I find the form action pointing to form action="<?php echo $this->getUrl('customer/account/editPost')
but editPostAction only seems to be handling the passwords change.
Can anyone please tell me where is it? which file?

yes you can change your error message from locale file of your magento setup
just go throw this path
yourproject\app\locale\en_US
open Mage_Customer.csv file and go to 408 line change second column text what you want to put with your new message
i hope this will solve your problem.
Edit
See below image and change with your message in column b

You can change error message from csv translation file. just go to this location
app\locale\en_US.
Open Mage_Customer.csv file here you can find this error message. change error message here whatever you want.

Related

Prevent "success message checksum content error" when a session is invalid?

I've got an error message that crops up in my logs pretty often, "Success message checksum content error" with an error code of apex.success_msg.checksum_content_error. I'm pretty sure I know exactly what's happening, basically:
User loads page 1, which contains a list of things that can be edited
User clicks a link to page 2, which allows them to edit the thing
Clicking Save Changes redirects them back to page 1 with a success message, "Changes to the thing have been saved."
User bookmarks the version of page 1 with the success message encoded in the URL, like "...&success_msg=..."
Tomorrow, user uses this bookmark, but their session has expired, so the success message is no longer valid and they get an error.
Is there anything I can do in Apex to prevent this from happening? I can go to each user that does this and tell them, "Don't bookmark that, bookmark this other URL instead", but I'd rather prevent the problem from happening at all.
About the only thing that comes to mind is a custom error handler that looks for this particular error and redirects to a version of the URL without the &success_msg in it, but I'm not even sure if you can redirect inside an error handler like that.

Xamarin Essentials Emailattachment

My application needs to attach a text file to email. When I attempt to create an email attachment I throw a "System.InvalidOperationException".
I have permissions set to read/write external storage. I have variously tried storing the attachment in "FileSystem.CacheDirectory" and "System.Environment.SpecialFolder.LocalApplicationData". In both cases I can write/read the file. I went to the page "Xamaein.Essentails: Email" and tried thier example. I can send the email if there is no attachment, but trying the attachment example throws the same exception. Can someone tell me what I have missed??
I finally found the answer. The EmailAttachment class is experimental. Inserting this line
ExperimentalFeatures.Enable("EmailAttachments_Experimental");
before the
"message.Attachments.Add(new EmailAttachment(file));"
line will make it work.

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

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

Laravel 5 Mailing Issue

I seem to be having issues when trying to perform password resets with Laravel 5. The error I keep getting is:
View [layouts] not found.
(View: /var/www/leaptrade/vendor/laravel/framework/src/Illuminate/Mail/resources/views/html/message.blade.php)
(View: /var/www/leaptrade/vendor/laravel/framework/src/Illuminate/Mail/resources/views/html/message.blade.php)
I've checked through all of my views and ensured that they all are correct, but I keep getting this error. It occurs after I click "Send Password Reset Link". The path it redirects to is correct, from /password/reset to /password/email, and it also only causes an error when it's a correct user Email.
Would anybody happen to have any ideas on a solution for this?
Thanks!

Syntax error in Magento when I create an Invoice in the admin

I'm getting Syntax error, Unexpected T-ENDIF error when I create an invoice in the admin of Magento. I can get round it by pressing the back button in the broswer. Then go and see the generated invoice manually.
So how can I fix this error from displaying?
Here is the error displayed:
Here is the code for the page that errors:
Hope someone can help fix this please?
In a first look I'd tell all you need to do is to get rid of the line in the line 38. The error was actually telling you that.
But most likely you actually deleted one line in your code. Look this file on line 32. Yours doesn't have it. You should restore it adding getItemOptions()): ?>.

Resources