Cron Job

  • Posts: 88
  • Thank you received: 2
  • Hikashop Multisite
2 years 9 months ago #339314

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.4.27

Hi,

We have issue with cron job where it throw some error when we try to run the cron to import our products.



The cron should be importing this file.

File Attachment:

File Name: test_hikashop.csv
File Size:7 KB


Our test site url are : ayam-australia-testinground.cloudaccess.host

Any chance your team can help to check and guide us with this.

Attachments:
Last edit: 2 years 9 months ago by alainz.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 9 months ago #339316

Hi,

Well, I tried to access bb-uat.bizcaps.biz/images/test_hikashop.csv with my browser but that URL doesn't work.
So you need to change the URL in the settings of the plugin to one which works.

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

  • Posts: 88
  • Thank you received: 2
  • Hikashop Multisite
2 years 9 months ago #339319

Hi,

Do you mean this (highlighted attachment) url to this url ( bb-uat.bizcaps.biz/images/test_hikashop.csv ) ? Correct me if i'm wrong.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 9 months ago #339340

Hi,

No. Edit the HikaShop product cron update plugin via the Joomla plugins manager.
There, you have a setting for the path of the CSV file.

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

  • Posts: 88
  • Thank you received: 2
  • Hikashop Multisite
2 years 9 months ago #339347

Hi,

That part already got the link to the csv file.


But still thrown an error when running. It show cannot retreive the file.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 9 months ago #339350

Hi,

If the URL is correct and it can't retrieve it, then the issue can come from the "allow_url_fopen" of your php.ini that you need to enable :
www.a2hosting.com/kb/developer-corner/ph...-url-fopen-directive

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

  • Posts: 88
  • Thank you received: 2
  • Hikashop Multisite
2 years 9 months ago #339354

Hi,

Already enable "allow_url_fopen" in php.ini.

ayam-australia-testinground.cloudaccess.host/phpinfo.php

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 9 months ago #339355

Hi,

Then it could come from the htaccess of that website bb-uat.bizcaps.biz or mod_setenvif or mod_auth z:
serverfault.com/questions/959101/htacces...ock-on-browser-agent
If it has rules based on the user-agent it could refuse the access of the plugin while allowing the access to normal browsers.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum