- Posts: 48
- Thank you received: 5
cron task No file path specified
- aromamassage
-
Topic Author
- Offline
Less
More
2 years 3 weeks ago #363510
by aromamassage
cron task No file path specified was created by aromamassage
hi all,
I activated the cron task and it worked, I then activated the google product plugin and it worked, it generated the xml file in the chosen path.
the problem is that it worked only the first time, from the following times it always gave the error No file path specified (it is set every 15 min),
then I thought it was a path error, because in the path I had written "miosito/public_html/file.xml"
but in reality the plugin generated a path like "miosito/public_html/miosito/public_html/file.xml" (did he mess up the ftp routes?)
then I tried to change the path but nothing changed
so I tried to disable the plugin to see if the cron task worked but even with the plugin disabled it continues to give the same error.
what happened? any help would be really appreciated
I activated the cron task and it worked, I then activated the google product plugin and it worked, it generated the xml file in the chosen path.
the problem is that it worked only the first time, from the following times it always gave the error No file path specified (it is set every 15 min),
then I thought it was a path error, because in the path I had written "miosito/public_html/file.xml"
but in reality the plugin generated a path like "miosito/public_html/miosito/public_html/file.xml" (did he mess up the ftp routes?)
then I tried to change the path but nothing changed
so I tried to disable the plugin to see if the cron task worked but even with the plugin disabled it continues to give the same error.
what happened? any help would be really appreciated
Please Log in or Create an account to join the conversation.
2 years 3 weeks ago #363511
by nicolas
Replied by nicolas on topic cron task No file path specified
Hi,
I suppose that your server runs on linux. In that case the root of the disk is "/"
So, based on what you're saying, I suppose that the root folder of your website is /miosito/public_html and not miosito/public_html
It's important to start with / because if you don't, the plugin interprets it as the relative folder from the root folder of the website.
And so, if you enter miosito/public_html/file.xml it will add the file in /miosito/public_html/miosito/public_html/file.xml
You should thus use instead /miosito/public_html/file.xml
On Linux it's a bit more confusing than on Windows. On windows the root of the disk is C:\ so users are less likely to not add it at the beginning.
I suppose that your server runs on linux. In that case the root of the disk is "/"
So, based on what you're saying, I suppose that the root folder of your website is /miosito/public_html and not miosito/public_html
It's important to start with / because if you don't, the plugin interprets it as the relative folder from the root folder of the website.
And so, if you enter miosito/public_html/file.xml it will add the file in /miosito/public_html/miosito/public_html/file.xml
You should thus use instead /miosito/public_html/file.xml
On Linux it's a bit more confusing than on Windows. On windows the root of the disk is C:\ so users are less likely to not add it at the beginning.
Please Log in or Create an account to join the conversation.
- aromamassage
-
Topic Author
- Offline
Less
More
- Posts: 48
- Thank you received: 5
2 years 3 weeks ago #363523
by aromamassage
Replied by aromamassage on topic cron task No file path specified
so yes in fact by putting / it worked but still it did not insert the file.xml where I wanted but it recreated another path again, probably I am not clear how to specify correct file path to ensure that it is added to an existing folder.
However it continues to give the error no file path specified but I believe at this point that it depends on the fact that the cron is set every 15 minutes while the google plugin is set to 1 day.
I inserted the following path in the plugin:
/miosito.it/public_html/feed/feedprodotti.xml
and the plugin created a new folder
Google Merchant file written to /xxxxx/xxxxx/domains/miosito.it/public_html//miosito.it/public_html/feed/feedprodotti.xml
Be patient, help me
However it continues to give the error no file path specified but I believe at this point that it depends on the fact that the cron is set every 15 minutes while the google plugin is set to 1 day.
I inserted the following path in the plugin:
/miosito.it/public_html/feed/feedprodotti.xml
and the plugin created a new folder
Google Merchant file written to /xxxxx/xxxxx/domains/miosito.it/public_html//miosito.it/public_html/feed/feedprodotti.xml
Be patient, help me
Please Log in or Create an account to join the conversation.
- aromamassage
-
Topic Author
- Offline
Less
More
- Posts: 48
- Thank you received: 5
2 years 3 weeks ago #363527
by aromamassage
Replied by aromamassage on topic cron task No file path specified
ok I solved it by just inserting the folder in the path:
/feed/feedprodotti.xml
/feed/feedprodotti.xml
Please Log in or Create an account to join the conversation.
2 years 3 weeks ago - 2 years 3 weeks ago #363525
by nicolas
Replied by nicolas on topic cron task No file path specified
Hi,
Ok, so the root file of the website is not /miosito.it/public_html/ it's /xxxxx/xxxxx/domains/miosito.it/public_html/
So you want to provide the path /xxxxx/xxxxx/domains/miosito.it/public_html/feed/feedprodotti.xml in that setting.
That way, the file feedprodotti.xml will be in the feed folder of your website.
Or, as you found out, you can also provide the relative path feed/feedprodotti.xml from the root folder, and the plugin will put it at the same place.
Ok, so the root file of the website is not /miosito.it/public_html/ it's /xxxxx/xxxxx/domains/miosito.it/public_html/
So you want to provide the path /xxxxx/xxxxx/domains/miosito.it/public_html/feed/feedprodotti.xml in that setting.
That way, the file feedprodotti.xml will be in the feed folder of your website.
Or, as you found out, you can also provide the relative path feed/feedprodotti.xml from the root folder, and the plugin will put it at the same place.
Last edit: 2 years 3 weeks ago by nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds