Skip to main content

Cron Job

More
4 years 7 months ago - 4 years 7 months ago #339314 by alainz
Cron Job was created by alainz
-- 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.

This attachment is hidden for guests.
Please log in or register to see it.


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

Any chance your team can help to check and guide us with this.
Last edit: 4 years 7 months ago by alainz.

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

More
4 years 7 months ago #339316 by nicolas
Replied by nicolas on topic Cron Job
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.

More
4 years 7 months ago #339319 by alainz
Replied by alainz on topic Cron Job
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.

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

More
4 years 7 months ago #339340 by nicolas
Replied by nicolas on topic Cron Job
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.

More
4 years 7 months ago #339347 by alainz
Replied by alainz on topic Cron Job
Hi,

That part already got the link to the csv file.

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

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

More
4 years 7 months ago #339350 by nicolas
Replied by nicolas on topic Cron Job
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.

More
4 years 7 months ago #339354 by alainz
Replied by alainz on topic Cron Job
Hi,

Already enable "allow_url_fopen" in php.ini.

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

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

More
4 years 7 months ago #339355 by nicolas
Replied by nicolas on topic Cron Job
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.262 seconds
Powered by Kunena Forum