Post by drbyte » Mon Sep 22, 2014 5:08 pm

We have a strange issue

Suddenly we stooped receiving order emails and called the hosting company without any luck. So I decided to look closely at the php.ini file and I discovered by renaming that file to something like php.ini.somethingelase we get order emails back.

The hosting company said that we have to make the php.ini recursive

suPHP_ConfigPath /home/username/public_html, i changed the usename off course

But that did not work. The only way to get our orders emails if by renaming that file.

But with that, the site does not seem to be 100%, the backend is kinda slow or not stable. Not sure if the memory is the problem.

Has anybody encountered this issue?

We have

Opencart 1.5.6.4
inmotionhosting
PHP version 5.4.32
MySQL version 5.6.17

Thank you

New member

Posts

Joined
Sun Jan 01, 2012 7:20 pm

Post by SXGuy » Tue Sep 23, 2014 1:51 am

Yes had the same problem recently. The root ini file was conflicting with hosts ini file and causing emails to not be sent. Only happend when payment methods were used. Free checkouts were fine. Seemed the issue was with cURL libraries.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by mab213 » Tue Oct 21, 2014 8:38 am

Since September we have been having the same issues with Inmotionhosting. When we renamed the php.ini files we are getting order and new customer registrant emails with the PHP mail function BUT we cannot send any Sales > Mail emails out.

The really strange part is that if I put in SMTP settings with the server localhost, go into Sales > Mail, select 1 customer it works fine. It will not let us send any mass mails out to all customers. Also, SMTP won't send out any notification emails, only the Sales>Mail emails. I might have to look into moving hosting.

Newbie

Posts

Joined
Thu Jul 04, 2013 4:53 am

Post by mab213 » Tue Oct 21, 2014 10:59 pm

drbyte,

Found a solution to the problem.

php.ini under public_html needs to be changed from:

Code: Select all

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = "/usr/sbin/sendmail -t -i"
to

Code: Select all

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

Newbie

Posts

Joined
Thu Jul 04, 2013 4:53 am

Post by heebgb » Thu Oct 23, 2014 3:49 am

Thanks mab213 for posting this solution! I was having the exact same issues since mid Sept with InMotion and was not able to resolve the issue until we tried your solution. Thank-you!

Newbie

Posts

Joined
Tue Sep 13, 2011 12:32 pm
Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 103 guests