Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

libcurl error on host move sending emails Rate Topic   - - - - -

  • dansmithpm
  • Newbie
  • Members
  • Join Date: 08-Feb 12
  • 4 posts

Posted 27 November 2012 - 01:50 AM #1

I've recently moved a client's site (professional edition, v3 latest) from my test server to their production server. All went fine until they tried to make an order. They get to the end of step 4 where they submit the order and it then takes a good few minutes to get the order confirmation.

Looking at the logs, I'm getting errors similar to that below which I reckon is due to the // after the domain name which is causing a timeout on libcurl which I assume is being used to collect the images etc.

URL: http://www.creditapp.../calogoonly.jpg
Request: array ( )
Response: HTTPS: libcurl error(7): couldn't connect to host

Does anyone have any idea why this is happening? I've been through all the posts I can find nothing to suggest how to fix/bypass this.

The email logo has been updated in the normal way via design\logos in the admin panel.

Any suggestions more than welcomed!!

  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 27 November 2012 - 02:13 AM #2

Is cURL bundled with Apache on their server? In Administration>Database>PHP Information

You should be seeing cURL: Enabled, a CS-Cart requirement.

If cURL is enabled, in the root of the site, in config.local.php, what have you got set for http_host, like so:

"$config['http_host'] = 'www.domain.com';"

None of my stores have a trailing slash, perhaps yours does which may be causing the problem?

PS. Why don't you install the SEO addon?
Hire StellarBytes for CS-Cart Design & Development Services