1. EsSa55
  2. RO CSVI
  3. Tuesday, 14 April 2015
  4.  Subscribe via email
Hello Roland

Yesterday, I transferred by dev site to Live.

Installed:

JM3.4.1
VM3.0.6.4
PHP5.4.37

The jobs which do not run are those using usr/bin/php to call csvi cron.php

e.g.

/usr/bin/php "/home/xxx/public_html/administrator/components/com_csvi/helpers/cron.php" username="xxx" passwd="xxx" task="maintenance" operation="exchangerates"

The resulting email contains:

Status: 303 See other
X-Powered-By: PHP/5.4.37
Set-Cookie: blah...blah; path=/; secure; HttpOnly
Location: http://www.4footyfans.com/.
Content-Type: text/html; charset=utf-8
==========================================
The same applies to the other jobs with the similar structure. Other jobs run correctly.

I am wondering it is connected to ssl?

TIA

Eddie
Accepted Answer Pending Moderation
Hello Eddie,

The jobs which do not run are those using usr/bin/php to call csvi cron.php
Which jobs run correctly?

The one thing that stands out is that there is a 303 See other which means the process is being redirected. It is being redirected to the frontpage of the site. Do you have any htacess block on the administrator part of the site?
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
Good morning Roland

Jobs using /usr/bin/php work ok;

'curl' jobs wok ok;

'php-cli' jobs work ok.

No block so far as I know.

Perhaps I can try the cron.php file from 'jotcache', which does work using 'usr/bin/php'?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Eddie,

It is just the maintenance jobs that don't run or an import/export cron job won't run either?
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. # 3
Accepted Answer Pending Moderation
Hi

Yes, the maintenance jobs + my sitemap (template_id="2";) job.

So, any job using:

'/administrator/components/com_csvi/helpers/cron.php'

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Eddie,

Looking at the email output you get and not seeing CSVI being able to log you out, it tells me that CSVI is not being ran. Before the CSVI cron job starts it fires the system plugins, do you have any particular plugins running that may cause a redirect to happen?
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. # 5
Accepted Answer Pending Moderation
Oops!

I was running a plugin called 'jsecuremysite' which requires an added key to the administrator url

'http://www.yourdomain.com/administrator?securekey=securevalue'

I am wondering if the key can be added as 'cron.php?securekey=securevalue'

In the meantime, I have disabled the plugin and the jobs work fine.

I am sorry for the wasted time.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Ok, this works:

administrator/components/com_csvi/helpers/cron.php" key="xyz" username="xyz" passwd="xyz" template_id="2"

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Thanks for posting your solution Eddie.
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. # 8
  • Page :
  • 1


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