Skip to content

Bugtracker #28333: JFTP call "DL" function that sometimes is removed by ...#1209

Merged
mbabker merged 1 commit intojoomla:2.5.xfrom
jms2win:patch-4
Aug 24, 2013
Merged

Bugtracker #28333: JFTP call "DL" function that sometimes is removed by ...#1209
mbabker merged 1 commit intojoomla:2.5.xfrom
jms2win:patch-4

Conversation

@jms2win
Copy link
Copy Markdown
Contributor

@jms2win jms2win commented Jun 1, 2013

...hosting environment and cause fatal error without message

The reason of the issue is due to the fact that the "dl" function is called event when FTP layer is not used.
As soon as a jimport load the FTP client somewhere it cause a fatal error that is hide due to the "@dl" that does not report error.

The fix consists in checking that function "dl" exists before calling it.

To reproduce it, you need to setup a server that does not contain the FTP module and that does not include the "dl" function.
Becarefull that most WAMP or similar include the FTP and dl in the core that can not be removed.

…moved by hosting environment and cause fatal error without message

The fix is present in Joomla 2.5 and not present in 3.1

The reason of the issue is due to the fact that the "dl" function is called event when FTP layer is not used.
As soon as a jimport load the FTP client somewhere it cause a fatal error that is hide due to the "@dl" that does not report error.

The fix consists in checking that function "dl" exists before calling it.

To reproduce it, you need to setup a server that does not contain the FTP module and that does not include the "dl" function.
Becarefull that most WAMP or similar include the FTP and dl in the core that can not be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants