Skip to Content Skip to Menu

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

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months 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 or Create an account to join the conversation.

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months ago #262977 by ricco1
Is anyone going to answer me?

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 7 months 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 or Create an account to join the conversation.

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months ago - 9 years 6 months 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:
Code:
<?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
Last edit: 9 years 6 months ago by ricco1.

Please Log in or Create an account to join the conversation.

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 6 months ago #263211 by ricco1
Still without answer!

Please Log in or Create an account to join the conversation.

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 6 months ago #263839 by ricco1
Hi, what happened with your support? Did you take the summer holiday preliminary? :laugh:

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum