1. Jason Calogeros
  2. RO CSVI
  3. Friday, 10 July 2015
  4.  Subscribe via email
When testing the FTP settings I get an error stating "Internal Server Error".

Looking at the error logs I get the following error:

Thu Jul 09 15:09:41 2015] [error] [client 12.50.42.13] PHP Catchable fatal error:

Argument 3 passed to JClientFtp::getInstance() must be an array, null given, called in /www/sites/http://test.mysite.com/files/html/administrator/components/com_csvi/models/process.php on line 341 and defined in
/www/sites/http://test.mysite.com/files/html/libraries/joomla/client/ftp.php on line 194, referer: http://test.mysite.com/administrator/index.php?option=com_csvi&view=process&template_id=1
Accepted Answer Pending Moderation
Hello Jason,

Which version of CSVI and Joomla are you using?
Kind regards,

RolandD

=========================
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
Joomla! 3.4.0 Stable and CSVI Pro 5.16
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
You will need to change the file /www/sites/http://test.mysite.com/files/html/administrator/components/com_csvi/models/process.php and on line 341 you will see the word
array()
and replace that with the word
null
. Save the file and the error should be gone.

The error happened because Joomla changed the signature and you have a newer PHP version that triggers it as fatal.
Kind regards,

RolandD

=========================
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. # 3
Accepted Answer Pending Moderation
*line 341 says $ftp = JFTP::getInstance($ftphost, $ftpport, null, $ftpusername, $ftppass);
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Oh, I was looking at a newer version of CSVI where it is already fixed. So the change is the same but turn it around and replace the null with array().
Kind regards,

RolandD

=========================
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. # 5
  • Page :
  • 1


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