Hello! I have a import template set up that works if run manually, but I want to use cron. I have this as my file: web/content/administrator/components/com_csvi/helper/cron.php --key=xxx --template_id=3 --file=/mnt/stor13-wc2-dfw1/561654/2014420/http://www.cloyes.com/web/inventory/ACES.xml
The error I get is
Processing started...
Template ACES_New
No folder found to process for import
No log is generated since the import stops.
Joomla 3.8.10
CSVI 7.6.2
Accepted Answer
Accepted Answer
Pending Moderation
Hello,
Thank you for posting your solution.
What the error is trying to tell you is that it did not find any files in the folder you have given. As to why it works without the trailing slash I think it has to do with the particular FTP server as both work for me. If the trailing slash is missing CSV Improved will add it, so that is why it is odd it works without it and not with it.
Most of all, it works for you and that is what counts.
Thank you for posting your solution.
why is it appending the file name and then calling it a folder?That is an interesting question and I had to look it up. It actually isn't looking for that particular folder shown in the message but it is a value constructed during import of both the folder and the filename. It is more a matter of the message not being entirely correct. I will have a look at that to improve the message.
What the error is trying to tell you is that it did not find any files in the folder you have given. As to why it works without the trailing slash I think it has to do with the particular FTP server as both work for me. If the trailing slash is missing CSV Improved will add it, so that is why it is odd it works without it and not with it.
Most of all, it works for you and that is what counts.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- more than a month ago
- RO CSVI
- # Permalink
Accepted Answer
Pending Moderation
Hello,
The error says that CSVI is not able to find the folder for the import file. Check the path of folder and file in your file parameter /mnt/stor13-wc2-dfw1/561654/2014420/http://www.cloyes.com/web/inventory/ACES.xml.
You can also try setting the Source in your template to Load from server and set the path of the file in Load from server field. Click on Test Path button to check if the path is valid. You can then run the cron by using web/content/administrator/components/com_csvi/helper/cron.php --key=xxx --template_id=3 and no file parameter required. See if your cron runs after that.
The error says that CSVI is not able to find the folder for the import file. Check the path of folder and file in your file parameter /mnt/stor13-wc2-dfw1/561654/2014420/http://www.cloyes.com/web/inventory/ACES.xml.
You can also try setting the Source in your template to Load from server and set the path of the file in Load from server field. Click on Test Path button to check if the path is valid. You can then run the cron by using web/content/administrator/components/com_csvi/helper/cron.php --key=xxx --template_id=3 and no file parameter required. See if your cron runs after that.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello! Thank you so much for answering!
I triple checked the paths and filenames yesterday before making the ticket. I also had the file initially set with FTP in the template, and the test path button works like a charm. But the cron then has the very same error "No folder found to process for import". So I am convinced something else is causing the error.
I saw in another post that PHP version can cause some issues with the cron so I asked and I have been told the servers run PHP 5.6 for crons (the site itself is on 7.2) and that can't change until February 2019.
What else can we try to resolve this?
I triple checked the paths and filenames yesterday before making the ticket. I also had the file initially set with FTP in the template, and the test path button works like a charm. But the cron then has the very same error "No folder found to process for import". So I am convinced something else is causing the error.
I saw in another post that PHP version can cause some issues with the cron so I asked and I have been told the servers run PHP 5.6 for crons (the site itself is on 7.2) and that can't change until February 2019.
What else can we try to resolve this?
Accepted Answer
Pending Moderation
I may have uncovered at least a part of the issue. I wanted to proceed with the rest of the site development so I need some data in the tables, so I edited the file name in the template to a smaller file that would run in the time allowed and saved it and this is the error I get
×
Error
No files found to process in folder /mnt/stor13-wc2-dfw1/561654/2014420/http://www.cloyes.com/web/inventory/ACES.xml
You can see from the screenshot that that file is the old one and that I replaced it in the template AND why is it appending the file name and then calling it a folder?
×
Error
No files found to process in folder /mnt/stor13-wc2-dfw1/561654/2014420/http://www.cloyes.com/web/inventory/ACES.xml
You can see from the screenshot that that file is the old one and that I replaced it in the template AND why is it appending the file name and then calling it a folder?
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »