Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 24, 2013

Conversation

jms2win
Copy link
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.
mbabker added a commit that referenced this pull request Aug 24, 2013
Bugtracker #28333: JFTP call "DL" function that sometimes is removed by ...
@mbabker mbabker merged commit d3561dc into joomla:2.5.x Aug 24, 2013
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