- Posts: 25
- Thank you received: 0
HikaShop Cron
- info@brachfeld.de
-
Topic Author
- Offline
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : HikaShop Cron ausgelöst am 2021-11-03 15:17
Could not retrieve the CSV file brachfeld.de/Kiran/hika_gesamt.csv
We use Hikashop Products Cron Update Plugin.
Yesteraday we upload new SSl Certificates and now we get this error:
Could not retrieve the CSV file brachfeld.de/Kiran/hika_gesamt.csv
In plugin is adress:
Kiran/hika_gesamt.csv
Please Log in or Create an account to join the conversation.
This seems to indicate that it can't validate the new certificate for some reason (for example, the openssl PHP module is not enabled in the php.ini : faq.miniorange.com/knowledgebase/enable-php-openssl-extension/ ).
Modifying the code of the plugin might help to circumvent this as per www.codegrepper.com/code-examples/php/ph...ts+disable+ssl+check
You can try changing the line:
PS: please do not post your message both by email and in the forum.
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
But it doesn't help.
Please Log in or Create an account to join the conversation.
Then replace the code:
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
If I try in cron in "Create/edit your Cron task" to activate cron I get the message "hikashop connection denied".
Rgds Robert
Please Log in or Create an account to join the conversation.
That should not matter.
The error "Could not retrieve the CSV file brachfeld.de/Kiran/hika_gesamt.csv" indicates that the cron is running, but just that the CSV file cannot be loaded by the plugin trying to import it.
The last code modification I gave completely bypass apache and SSL needs. So I don't see how you could have the exact same error message.
Could you please double check ?
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
HikaShop Cron ausgelöst am 2021-11-09 23:52
Could not find the file /var/www/vhosts/brachfeld.de/httpdocs/Kiran/hika_gesamt.csv
Please Log in or Create an account to join the conversation.
As expected, it's not the same error.
So it says it can't find the file. Can you confirm via FTP that the file is there ? It probably isn't.
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Can you provide a screenshot of your FTP client when you're looking at the folder where that file is located ?
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
But the plugin doesn't update the products.
The file exist in:
brachfeld.de/Kiran/hika_gesamt.csv
Please Log in or Create an account to join the conversation.
I don't see why it wouldn't work.
Could you please provide a backend access and a FTP access via our contact form along with a link to this thread so that we can directly check at the situation ?
www.hikashop.com/support/contact-us.html
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
many thanks for your support, it was something wrong with CSV-file.
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
But in hikashop_price 9.388.208, which is to much.
Can I delete all and upload the new products as csv?
Mass actions or delete in sql?
Please Log in or Create an account to join the conversation.
I would recommend to run that MySQL query in your PHPMyAdmin:
That will delete all the price entries not linked to one of your products.
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
Is't possible to run this code automaticaly every day or week?
We have Linux on our server.
Please Log in or Create an account to join the conversation.
It's possible by setting up your crontab properly.
Here is a tutorial on this:
dsharpdotnet.wordpress.com/2013/07/04/ho...dical-mysql-queries/
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
If I upload the csv file it doesnt impot the prices.
What is the problem?
Please Log in or Create an account to join the conversation.
First run the CSV via the normal import system in Products>Import.
Once it works there, you can automate it with the plugin.
Please Log in or Create an account to join the conversation.
- info@brachfeld.de
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
Please Log in or Create an account to join the conversation.