Skip to Content Skip to Menu

Uddeim API Access Using Cron

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 2 months ago #195609 by slabbi
Replied by slabbi on topic Re: Uddeim API Access Using Cron
No, not really.

As I said before: The code I posted has been tested with Joomla 1.5 and "should" work with later versions.

btw: How to you call the API in the cron job? The API uses the Joomla framework, e.g. database queries, so how does it work without Joomla Framework?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

  • drdehart
  • drdehart
  • OFFLINE
  • Posts: 253
  • Thanks: 2
  • Karma: 1
12 years 2 months ago - 12 years 2 months ago #195625 by drdehart
Replied by drdehart on topic Re: Uddeim API Access Using Cron
we were actually using the same code to initiate the framework before. Any ideas where we should look for errors from the api? Or is there a way to force an error for troubleshooting? Can you tell what type of errors we should see - maybe our log isn't logging them all for some reason.
Last edit: 12 years 2 months ago by drdehart.

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 2 months ago - 12 years 2 months ago #195683 by slabbi
Replied by slabbi on topic Re: Uddeim API Access Using Cron
Sorry, currently I have no idea how to fix this issue. When the framework is initialized the API does not throw any error.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Last edit: 12 years 2 months ago by slabbi.

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

  • drdehart
  • drdehart
  • OFFLINE
  • Posts: 253
  • Thanks: 2
  • Karma: 1
12 years 2 months ago #195907 by drdehart
Replied by drdehart on topic Re: Uddeim API Access Using Cron
Maybe these clues will help: when we execute the php script through the cron, the %msglink% variable does not bring the domain name, but the %site% variable does bring domain name.

When we execute the script through a browser, both variables work fine. Using the same API and joomla initialization functions.

Maybe I mentioned before, but we are on J1.5.25 and uddeim 2.6.

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

  • drdehart
  • drdehart
  • OFFLINE
  • Posts: 253
  • Thanks: 2
  • Karma: 1
12 years 2 months ago #196408 by drdehart
Replied by drdehart on topic Re: Uddeim API Access Using Cron
Do those additional facts help to trigger any troubleshooting ideas?

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 2 months ago #196415 by slabbi
Replied by slabbi on topic Re: Uddeim API Access Using Cron
I am still checking but have no idea why it works differently when executed via cron.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum