Why are this files created in root folder by hika cron job?

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 years 8 months ago #340117

-- HikaShop version -- : 4.5.0
-- PHP version -- : 8

This are in the public folder
index.php?option=com_hikashop&ctrl=cron.10
But many, like.. 100+

You do not have permissions to access this page.


And also, this think is showing up when I press "Create / Edit your cron task"
You do not have permissions to access this page.

It load's some data from another view or so, I can all see some categories there.

Attachments:
Last edit: 2 years 8 months ago by oxido.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 8 months ago #340121

Hi,

I don't know why it would do that.
What is in these files ?
Can you edit one with notepad and check the content ?
The javascript code in the screenshot screenshot seems to be linked to your Joomla template.
So maybe it is linked to a system plugin of your template which would run in the backend and mess with the cron task system ?

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

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 years 8 months ago #340170

In each file, is the message that show up after each cron job

<div id="hikashop_messages_info" class="hikashop_messages hikashop_info"><ul><li>HikaShop Triggered at 08-03-2022 05:45</li></ul></div><div id="hikashop_messages_info" class="hikashop_messages hikashop_info"><ul><li>THE MESSAGE FROM REMINDER PLUGIN</li></ul></div>
<div id="hikashop_messages_info" class="hikashop_messages hikashop_info"><ul><li>HikaShop Triggered at 08-03-2022 05:30</li></ul></div>

I trigger Hikashop Cron URL from my server after each 15 minutes
So, this files are not in the public_html folder, they are in root: /home/myuser/

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

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 years 8 months ago #340171

Can this be generated by the server cron job and not by hikashop?

wget "https://domain.ro/index.php?option=com_hikashop&ctrl=cron" > /dev/null 2>&1

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 8 months ago #340172

Hi,

It's probably this yes.
Try removing the "2>&1" in your cron job.
Or maybe check with your hosting if there is something special that should be done on your server to trigger a specific URL.

The following user(s) said Thank You: oxido

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

Time to create page: 0.068 seconds
Powered by Kunena Forum