Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

automatic emails are not sent
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: automatic emails are not sent

automatic emails are not sent 10 years, 8 months ago #42984

Hi,

I would like to send my invoices automatically via cronjob. my host has a cronjob manager which demand a php script to process the cronjob.

my php script looks as the following:

<?php
$ch = curl_init("www.kindersport-aus-berlin.de/?option=co...view=vminvoice");
curl_exec($ch);
echo $ch
?>

according to my host, the script is alright. but joomla produces an error 500. What settings do I have to change in order to process the cronjob.

joomla version: 2.5.7, php version: 4.4, 5.2, 5.3 and 5.4, VM invoice version: 2.0.29

before I tried the automatic plug-in for sending the pdf invoices, it worked out but it also produced visible errors when the order button on the checkout page was clicked on.

thanks for help
The topic has been locked.

Re: automatic emails are not sent 10 years, 8 months ago #43037

  • pama
  • OFFLINE
  • Posts: 489
Hello. If your site contains redirect (for example if using some kind of SEF URLs), you need to add
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); //follow redirects
before
curl_exec($ch);
EDIT: This may not be the case. But I see the URL you provided seems working (blank page is ok). So it is fixed already? What was the 500 error?

Side note: Do you remember what were the errors produced on checkout page when plugin was turned on? Thanks.
ARTIO Support Team
Last Edit: 10 years, 8 months ago by pama.
The topic has been locked.

Re: automatic emails are not sent 10 years, 8 months ago #43093

unfortunately, the problem still exists. I added the redirect line but it is still not working.

I dont know what the exact 500 error says. my host said it is procuced by my joomla. do u know how I can receive the exact error reason?

I am using https on the entire page. may this cause the cronjob problem somehow?

thanks for any input!
The topic has been locked.

Re: automatic emails are not sent 10 years, 8 months ago #43257

  • mitk
Dear Thorstonson,

I apologize for so slow support service, we are going to change our way of providing support soon, as our current capacity does not allow us to answer all questions in time as we would like to.
Our operators will answer once they figure out questions of customers who contacted us before you.

Thank you for your patience.
The topic has been locked.

Re: automatic emails are not sent 10 years, 8 months ago #43320

  • pama
  • OFFLINE
  • Posts: 489
Hello. Yes, if you are connectiong to https site, you shoud add also

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty