Skip to Content Skip to Menu

๐Ÿ•’ Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
๐ŸŽ Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

CBSubs Cron URL...

  • mikerotec
  • mikerotec
  • OFFLINE
  • Posts: 346
  • Thanks: 28
  • Karma: 2
7 years 11 months ago #291206 by mikerotec
CBSubs Cron URL... was created by mikerotec
I just noticed this oddity in the logs:
Code:
--2017-02-07 11:15:01-- http://[url-redacted]/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&cbpact=cbsubsclass&cbpclass=mailer&user=[userid-redacted]&cbpmailerdo=cronprocesssendmailqueue&key=[redacted]&format=raw Resolving [url-redacted]... [ip-redacted] Connecting to [url-redacted]|[ip-redacted]|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://[url-redacted]/en/?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&cbpact=cbsubsclass&cbpclass=mailer&user=[userid-redacted]&cbpmailerdo=cronprocesssendmailqueue&key=[redacted]&format=raw [following] --2017-02-07 11:15:02-- http://[url-redacted]/en/?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&cbpact=cbsubsclass&cbpclass=mailer&user=[userid-redacted]&cbpmailerdo=cronprocesssendmailqueue&key=[redacted]&format=raw Connecting to [url-redacted]|[ip-redacted]|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 74 [text/html] Saving to: โ€œindex.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&cbpact=cbsubsclass&cbpclass=mailer&user=[userid-redacted]&cbpmailerdo=cronprocesssendmailqueue&key=[redacted]&format=raw.19โ€ 0K 100% 4.87M=0s

My actual CBSUBs cron URL ("Url of cron task") is:

http://[url-redacted]/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=autopayments&key=[redacted]&format=raw

Seems a bit odd having that 301 redirect, is that normal behavior?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago #291232 by krileon
Replied by krileon on topic CBSubs Cron URL...
The redirect is due to Joomla and its language filter plugin. Notice it's redirecting with /en added. You can change your URL to include /en and it shouldn't redirect anymore. Also note &task is deprecated and suggest changing your URL from &task to &view.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: mikerotec

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

  • mikerotec
  • mikerotec
  • OFFLINE
  • Posts: 346
  • Thanks: 28
  • Karma: 2
7 years 11 months ago #291241 by mikerotec
Replied by mikerotec on topic CBSubs Cron URL...
Thanks! but I do not see anywhere in the CBSubs control panel where I can actually edit the URL.

I can see it 'preset' in CB Paid Subscriptions: Edit Mailer Menu [CB Paid Subscriptions] (/administrator/index.php?option=com_comprofiler&view=editPlugin&cid=500&action=showtable&table=mailersendmail) - I can't change it there.

And in the 'Global' tab of CB Paid Subscriptions: General plugin settings (/administrator/index.php?option=com_comprofiler&view=editPlugin&cid=500&action=showparams ) it is also displayed, but not editable...

Where can I edit that?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago - 7 years 11 months ago #291243 by krileon
Replied by krileon on topic CBSubs Cron URL...
You don't edit it from there. You edit what you've stored in your CRON task. Based off the URL you've supplied make the following changes.

FROM:
Code:
http://[url-redacted]/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=autopayments&key=[redacted]&format=raw
TO:
Code:
http://[url-redacted]/en/?option=com_comprofiler&view=pluginclass&plugin=cbpaidsubscriptions&do=autopayments&key=[redacted]&format=raw

This is based off what the 301 is redirecting the from URL to.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 7 years 11 months ago by krileon.
The following user(s) said Thank You: mikerotec

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

Moderators: beatnantkrileon
Powered by Kunena Forum