Cron job error - You are not authorized to view this page.

9 years 3 weeks ago #262321 by ricco1
Hi,

I've set up a cron job to access the url in the CBSubs Automation settings and it runs fine, but the result after accessing the url from both the cron job and the backend is the same:

If I'm logged in:

"
You are not authorized to view this page.
No result.
"

If I'm not logged in:

"
You are not authorized to view this page.
You need to log in.
No result.
"

I have a public and published Joomla menu item to CBs profile page and CB Paid Subscriptions is public within CB > Plugin Management.

Please advise?

Thank you

Please Log in to join the conversation.

9 years 1 week ago #262977 by ricco1
Is anyone going to answer me?

Please Log in to join the conversation.

9 years 1 week ago #262978 by nant

ricco1 wrote: Is anyone going to answer me?


Sorry for the delay.

Please give exact version numbers of Joomla/CB/CBSubs.

Also please give the URL (you can hide your domain) you have configured in your Cron job.

Please Log in to join the conversation.

9 years 1 week ago - 9 years 5 days ago #262983 by ricco1
Joomla! 3.3.6 Stable
CB 2.0.7
CBSubs 4.0.0-rc.2

The URL in my cron is: /my/path/to/php /home/myaccount/public_html/cbsubscronjob.php

In cbsubscronjob.php is:
<?php
$result = file_get_contents('http://www.mydomain.com/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=&key=mykey976bla87bla&format=raw');
echo $result;
?>

As I've said the result is the same even if I click the url in the CBSubs Automation settings.

Thank you

Please Log in to join the conversation.

9 years 5 days ago #263211 by ricco1
Still without answer!

Please Log in to join the conversation.

8 years 11 months ago #263839 by ricco1
Hi, what happened with your support? Did you take the summer holiday preliminary? :laugh:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn