-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.0] Fix Update Joomla Using FTP #33281
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
[4.0] Fix Update Joomla Using FTP #33281
Conversation
|
Doesn't the same problem exist in Joomla 3? At least from your description of the reason it would appear so. |
|
Yes, same happens with Joomla 3. I just made the PR here quickly to prove that updates Joomla never works properly (at least for recent release, maybe from the time we added Upload and Update option back, I don't remember the time) So the point here is if update is not working and no-one reports it, can we assume that no-one is using it? We can try to spend time to fix FTP issues, but if no one is using it, it will be a waste of time |
That's what I've been trying to say but people keep sidetracking with conversations about code purity |
|
Hope this PR shows something. If update Joomla not working, if install extensions not working (as I saw somewhere from list of issues which Phil mentioned) and no-one complains, we should not have to spend time to fix it. |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Yes, I think so. |
This comment was marked as abuse.
This comment was marked as abuse.
|
Drone resuscitated 😄 . |
|
Closing because FTP layer will be dropped. |
@joomdonation Who says that? |
Pull Request for Issue # .
Summary of Changes
During update process (using FTP or Hybrid installation method), Joomla! needs to write FTP credentials into restoration.php file so that these data can be used by restore.php on restoration process.
Due to a bug in getting FTP credentials (trying to get directly from input but these fields are not available in the input at all), update Joomla using these two methods never works (or at least it never works in the recent version). Also, the code in restore.php file does not like the path with window style, so I added some code to change it to Linux path style
Tested on my local Joomla 4 using Filezilla server and it worked. Not sure how to give testing instructions because now it is hard to find testers for FTP stuffs.
Testing Instructions