1. barracuda69
  2. RO CSVI
  3. Tuesday, 06 December 2016
  4.  Subscribe via email
Hi,

I'm using the following command for importing an xml. The source file is on the server:

/home/httpd/cgi-bin/php56-fcgi-starter.fcgi /usr/home/audios/public_html/administrator/components/com_csvi/helper/cron.php --key="audios" --template_id="11"

I'm getting this:

Set-Cookie: f5cb68fc6cdd884d7a6fadb5f65c1d10=cbcafba57574ca26e015dc7e63944751; path=/; HttpOnly

Content-type: text/html; charset=UTF-8

Use --help to see the help information
No template has been specified

Even if I execute:

/home/httpd/cgi-bin/php56-fcgi-starter.fcgi /usr/home/audios/public_html/administrator/components/com_csvi/helper/cron.php --help

I'm getting the same error.

What have I done wrong?

Thanks!
Accepted Answer Pending Moderation
Hello,

Are you sure the command /home/httpd/cgi-bin/php56-fcgi-starter.fcgi is correct? I have never seen anything like that, usually it would be something like /home/httpd/cgi-bin/php56.

The main reason that CSVI is telling you that there is no template found, is because the arguments you have supplied are not passed on to the script. Sometimes the -f switch need to be supplied after the php command, so you get this /home/httpd/cgi-bin/php56-fcgi-starter.fcgi -f /usr/home/audios/public_html/administrator/components/com_csvi/helper/cron.php --help.

First you may want to check if the name of the PHP executable is correct.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
You were right (as always)!

The right syntax is /home/httpd/cgi-bin/php56

Unfortunately the host gave me the wrong syntax ;-)

Thanks again!
  1. more than a month ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!