Support is online

FTP for Source not working #7460

Open Jason Calogeros opened this topic Friday, 10 July 2015 · 5 replies
Author

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/test.mysite.com/files/html/administrator/components/com_csvi/models/process.php on line 341 and defined in
/www/sites/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

Support

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

Author

Joomla! 3.4.0 Stable and CSVI Pro 5.16

Support

You will need to change the file /www/sites/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

Author

*line 341 says $ftp = JFTP::getInstance($ftphost, $ftpport, null, $ftpusername, $ftppass);

Support

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

Log in to reply to this topic.