Post by yukicyan » Thu Aug 11, 2016 10:21 am

I'm facing an issue as below when I want to save the edited order (sales-> orders) at opencart 2.2.0.0. May I know what's the error and how to fix it? Thanks in Advance!

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Warning</b>: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "127.0.0.1" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in <b>C:\Program Files (x86)\Ampps\www\system\library\mail.php</b> on line <b>158</b>{"success":"Success: You have modified orders!"}

Newbie

Posts

Joined
Mon Aug 08, 2016 3:31 pm

Post by knowband.plugins » Thu Aug 11, 2016 2:12 pm

It seems that your Mail configuration is incorrect. Are you able to receive email notification after doing registration on your website?

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm


Post by yukicyan » Fri Aug 12, 2016 9:11 am

I didn't receive any email notification. The website is in localhost, using ampps.
Please advise.

Thanks

Newbie

Posts

Joined
Mon Aug 08, 2016 3:31 pm

Post by knowband.plugins » Fri Aug 12, 2016 2:57 pm

You need to configure SMTP to send emails.

Assuming that you have a gmail account, Under AMPPS-ADMIN > Email Settings > Mailing Method

Choose SMTP setting
and set as below
SMTP Server : ssl://smtp.gmail.com
SMTP Port : 465
SMTP Username : Your Gmail Email Address
SMTP Password : Password of your Gmail Account

Make sure that SMTP is enabled in your Gmail account setting.

Regards,
Knowband Team

Opencart Plugins: Knowband Store
Email: support@knowband.com


User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Who is online

Users browsing this forum: No registered users and 32 guests