Hi, I'm trying my first export with cron job.
COMMAND:
/var/www/vhosts/system/MYNAME/administrator/components/com_csvi/helper/cron.php --key="MYKEY" --template_name="MYNAMETEMPLATE"
ERROR BY EMAIL:
/bin/sh: /var/www/vhosts/system/MYNAME/administrator/components/com_csvi/helper/cron.php: No such file or directory
Help me, please.
I'm using CSV 6.4.3, Virtuemart 3.0.12, Joomla 3.4.5.
- conquist
- RO CSVI
- Wednesday, 06 April 2016
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
Apply the patch attached and your FTP filename should be updated as well. Let me know how it goes.
Apply the patch attached and your FTP filename should be updated as well. Let me know how it goes.
Attachments (1)
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
Accepted Answer
Pending Moderation
Hi Ronald, do you think the next release will be released in this month?
Otherwise I have the problem that, with standard names, the day of the week for the first nine days of the month is created with only one character.
For Example: CSVI_clienti_1-05-2016_22.05.csv
I'd like to have the name: CSVI_clienti_01-05-2016_22.05.csv
Thanks.
Otherwise I have the problem that, with standard names, the day of the week for the first nine days of the month is created with only one character.
For Example: CSVI_clienti_1-05-2016_22.05.csv
I'd like to have the name: CSVI_clienti_01-05-2016_22.05.csv
Thanks.
Accepted Answer
Pending Moderation
Hello,
This is being worked on for the next release, so in CSVI Pro 6.6.0 the FTP export will also be able to use these placeholders.
This is being worked on for the next release, so in CSVI Pro 6.6.0 the FTP export will also be able to use these placeholders.
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
Accepted Answer
Pending Moderation
Hi Roland, are there any news about this problem ?
Ths.
I've put in export file name product_export_[Y]_[m]_[d].csv, if I save on server it's works well but doesn't work in save on ftp.
SAVE ON SERVER: product_export_2016_04_22.csv
FILE FTP: product_export_[Y]_[m]_[d].csv
Ths.
I've put in export file name product_export_[Y]_[m]_[d].csv, if I save on server it's works well but doesn't work in save on ftp.
SAVE ON SERVER: product_export_2016_04_22.csv
FILE FTP: product_export_[Y]_[m]_[d].csv
Accepted Answer
Pending Moderation
Hello,
Not tired yet, been doing this for 10 years now
That may well be a bug, we will look into this.
Not tired yet, been doing this for 10 years now

That may well be a bug, we will look into this.
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
Accepted Answer
Pending Moderation
Hi Roland, I hope that you aren't tired of me.
I've put in export file name product_export_[Y]_[m]_[d].csv, if I save on server it's works well but doesn't work in save on ftp.
SAVE ON SERVER: product_export_2016_04_22.csv
FILE FTP: product_export_[Y]_[m]_[d].csv
I've put in export file name product_export_[Y]_[m]_[d].csv, if I save on server it's works well but doesn't work in save on ftp.
SAVE ON SERVER: product_export_2016_04_22.csv
FILE FTP: product_export_[Y]_[m]_[d].csv
Accepted Answer
Pending Moderation
So this gave me another idea. The option w+ or a+ do work differently but CSVI works on a temporary file which is eventually copied to it's final location.
The copy is done with JFile::copy() function. This function has no append option. So if you want to append you may need to rewrite the whole part where this is handled. This is line 1121 in the exports.php file where you made the other change.
The copy is done with JFile::copy() function. This function has no append option. So if you want to append you may need to rewrite the whole part where this is handled. This is line 1121 in the exports.php file where you made the other change.
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
Accepted Answer
Pending Moderation
Yes, the data are the same both in the first that in the second export.
Accepted Answer
Pending Moderation
Ok, so the data in the file is different for the first and second export?
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
Accepted Answer
Pending Moderation
Does the file have the same name?
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
Accepted Answer
Pending Moderation
Not according to the PHP documentation.I see I should only ask 1 question at a time.
Every time you export you get a new file?
Every time you export you get a new file?
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
Accepted Answer
Pending Moderation
Both w+ and a+ works exactly in the same way.
Every time I export I get a new file.
Every time I export I get a new file.
Accepted Answer
Pending Moderation
Hello,
I did not test appending because it won't be in the core. That is why I said you can check if it works for you. By the way it is not the -a parameter, it is a+. I assume you used that.
Every time you export you get a new file? What happens to the content of the file on export?
I did not test appending because it won't be in the core. That is why I said you can check if it works for you. By the way it is not the -a parameter, it is a+. I assume you used that.
Every time you export you get a new file? What happens to the content of the file on export?
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
Accepted Answer
Pending Moderation
Hi Roland, the filename is OK !! But the other company wants the append !!
But in your website the parameter -a works well ?
But in your website the parameter -a works well ?
Accepted Answer
Pending Moderation
Hello,
The fopen in maintenance has nothing to do with the export.
To change the filename, have a look at the documentation Customizing the export filename. That will do what you are asking.
The fopen in maintenance has nothing to do with the export.
To change the filename, have a look at the documentation Customizing the export filename. That will do what you are asking.
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
Accepted Answer
Pending Moderation
I mean that if I use w+ or use a+ does not change anything, always work as w +: is it possible for you using my user name and password to try yourself?
In attachment export.php ( .txt is only to attach ).
There is onother fopen w+ in com_csvi\addon\com_virtuemart\model\maintenance.php, I don't know if it is necessary to change in a+.
But, Roland, I'm thinking another way to solve my problem.
When I don't put the name of the file to be exported, "CSV IMPROVED" give to the file the name CSVI_TEMPLATENAME_14-04-2016_18.13.csv.
Can I cut the hour and change the name like this: CSVI_TEMPLATENAME_14-04-2016?
In this case I could tell the other companies to open the export files, every day, with the same "name+date.csv" and do not make more the append.
In attachment export.php ( .txt is only to attach ).
There is onother fopen w+ in com_csvi\addon\com_virtuemart\model\maintenance.php, I don't know if it is necessary to change in a+.
But, Roland, I'm thinking another way to solve my problem.
When I don't put the name of the file to be exported, "CSV IMPROVED" give to the file the name CSVI_TEMPLATENAME_14-04-2016_18.13.csv.
Can I cut the hour and change the name like this: CSVI_TEMPLATENAME_14-04-2016?
In this case I could tell the other companies to open the export files, every day, with the same "name+date.csv" and do not make more the append.
Attachments (1)
Accepted Answer
Pending Moderation
Hello,
The only difference between w and a is that w will always empty the file on export or create it if it doesn't exist and a will always append to the file on export or create it if it doesn't exist.
This means if you want to append, you must specify a filename in your template. That you have done as far as I can see. So the question is if data has been appended or not.
You said nothing happened, that is very little info, so with a+ no file, nothing happens?
The only difference between w and a is that w will always empty the file on export or create it if it doesn't exist and a will always append to the file on export or create it if it doesn't exist.
This means if you want to append, you must specify a filename in your template. That you have done as far as I can see. So the question is if data has been appended or not.
You said nothing happened, that is very little info, so with a+ no file, nothing happens?
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
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 »