1. elanto75
  2. RO CSVI
  3. Wednesday, 21 October 2020
  4.  Subscribe via email
Good morning,
after updating to 7.18.0 the scheduled imports with cronjob no longer work

joomla 3.9.22
Attachments (1)
Accepted Answer Pending Moderation
Hello,
There is no change done with RO CSVI 7.18.0 version for cron imports so i don't think update is a problem here. As per the debug log the import has been stopped and there are no records processed. The import file is set to load from FTP, check if the FTP credentials are correct and import file is available in given FTP location. If that is all correct then check your server error logs and see if there is any error for import. You can post the error here so we can check.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
FTP parameters are correct,
if I try to import the file from FTP from the Administrator side everything works correctly if instead I start it with cronjob it stops but these activities have been scheduled for a long time and have never failed. In addition to the component I also updated the RO CSVI - VirtueMart plugin to 7.18.0 could it depend on that?
VirtueMart 3.8.4 10335

my host says no errors are reported at the log level

instead this import always activated with cronjob works correctly
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Cronjob gives me this error:

An error has occurred.
0 syntax error, unexpected '?'
/home/us76ey4x/domains/maglificioliliana.com/public_html/b2b/plugins/csviaddon/virtuemart/com_virtuemart/model/import/product.php:3573
Call stack
# Function Location
1 () JROOT/plugins/csviaddon/virtuemart/com_virtuemart/model/import/product.php:3573
2 JLoader::loadByPsr0()
3 spl_autoload_call() JROOT/administrator/components/com_csvi/rantai/import/model.php:549
4 RantaiImportModel->runImport() JROOT/administrator/components/com_csvi/helper/cron.php:728
5 Csvicron->runImport() JROOT/administrator/components/com_csvi/helper/cron.php:358
6 Csvicron->doExecute() JROOT/libraries/src/Application/CliApplication.php:143
7 Joomla\CMS\Application\CliApplication->execute() JROOT/administrator/components/com_csvi/helper/cron.php:954
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
An error has occurred.
0 syntax error, unexpected '?'
/home/us76ey4x/domains/maglificioliliana.com/public_html/b2b/plugins/csviaddon/virtuemart/com_virtuemart/model/import/product.php:3573

That is the error which is breaking the cron import and that is because of return type set with ? in this line of code. This was introduced with RO CSVI 7.18.0 version. The PHP version you have is 7.0.33 which is an older version and RO CSVI needs minimum of PHP 7.1 version. You need to update your PHP to minimum supported version so cron works.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
But my php version is 7.3.1
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
OK! I got it!
the cronjob path pointed to php 7.0 while the site was set to php 7.3.1.
It was enough for me to change path and everything was solved!
Thank you
  1. more than a month ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!