1. liedtke,k
  2. RO CSVI
  3. Monday, 18 January 2016
  4.  Subscribe via email
Hi Roland,


I try to set a cron-job.
This is my string:

/bin/php ./administrator/components/com_csvi/helper/cron.php --key=’mysecretword’ --template_name=’Import_Artikel’

This is the protocol:

Status: 404 Not Found
X-Powered-By: PHP/5.3.29
Content-type: text/html

No input file specified.

In the template under source is the importfile defined. The manuel Import works fine.

What is wrong ?

Thanks for help.
Accepted Answer Pending Moderation
they say the don't have a cli version.
  1. more than a month ago
  2. RO CSVI
  3. # 21
Accepted Answer Pending Moderation
they say the don't have a cli version.
:blink:

That means you can't run a cron job then with them. You can see this is not a CSVI only issue, by running PHP with one of the Joomla provided CLI scripts.

If you run
php cli/finder_indexer.php
it returns
Content-type: text/html

This is a command line only application.


Another one you can see as well is the deletefiles.php script. It will just return the HTML message as you see with CSVI.
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. # 22
Accepted Answer Pending Moderation
answer:
Status: 404 Not Found
X-Powered-By: PHP/5.6.17
Content-type: text/html

No input file specified.
  1. more than a month ago
  2. RO CSVI
  3. # 23
Accepted Answer Pending Moderation
That is PHP telling you that no filename has been given. This is the CLI version of PHP?
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. # 24
Accepted Answer Pending Moderation
if i enter this:
php cli/finder_indexer.php
Answer:
Status: 404 Not Found
X-Powered-By: PHP/5.6.17
Content-type: text/html
No input file specified.

They don't have a CLI-Version.
Asked other Host-Providers.
Nobody has an CLI executeable.
Regards
Klaus
  1. more than a month ago
  2. RO CSVI
  3. # 25
Accepted Answer Pending Moderation
Hello Klaus,

Nobody has an CLI executeable.
That is not true. The CLI I showed you is from SiteGround, so I guess you didn't ask them. Many people run cron jobs without a problem.

As you can see, you can't even run the Joomla CLI scripts either.

I was thinking something else. PHP itself comes with both the CLI and CGI versions. Shouldn't it be somewhere on the server?
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. # 26
Accepted Answer Pending Moderation
Klaus,

I am rewriting the cron script so it can be used on a server like yours. Once it is done, I will let you know.
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. # 27
Accepted Answer Pending Moderation
u are my hero
  1. more than a month ago
  2. RO CSVI
  3. # 28
Accepted Answer Pending Moderation
Klaus,

Attached is the patch for the cron, you can load the patch file via the maintenance menu. After that see if you can run the cron command.
Attachments (1)
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. # 29
Accepted Answer Pending Moderation
Hi Roland,

Here the answer:
Processing started...
Template Import_Artikel
Fatal error: Call to undefined method CsviHelperTemplate::getEnabled() in /mnt/webm/d3/31/52727531/htdocs/NEU/administrator/components/com_csvi/helper/cron.php on line 366 PHP Fatal error: Call to undefined method CsviHelperTemplate::getEnabled() in /mnt/webm/d3/31/52727531/htdocs/NEU/administrator/components/com_csvi/helper/cron.php on line 366
  1. more than a month ago
  2. RO CSVI
  3. # 30
Accepted Answer Pending Moderation
Hello Klaus,

It seems to show a sign of life. The error is because I sent you the cron file for the upcoming CSVI 6.5.0. Attached is the altered one for your version.
Attachments (1)
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. # 31
Accepted Answer Pending Moderation
Hi Roland,
I can't believe it.
Use --help to see the help information
Processing started...
Template Import_Artikel
Import has finished

Thank you so much for your great support.

Regards
  1. more than a month ago
  2. RO CSVI
  3. # 32
  • Page :
  • 1
  • 2


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