-
Notifications
You must be signed in to change notification settings - Fork 5
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
Wrong url for update.php when domain module working. #39
Comments
@izmeez Yes, it is normal behavior, since an update was made, and it will ask to log in again |
I'm not worried about the logging in again, but it does seem like a bug that it goes to the wrong URL and I think this is a problem as it effectively makes it impossible to do updates completely in the UI, which is a key feature of Backdrop. |
Agree: logging in again may be an artifact of changing the settings.php file; the key problem is the wrong url for update. |
@izmeez I can also reproduce this issue. But in the module's upgrade.txt file and also in the install_quickstart file it is written that when we need to update the site we need to remove that line from the settings.php file.
|
@sudipto68 @izmeez @stpaultim @rudy880719 Perhaps we need wider support from people in the community with more expertise on this one? |
does it, accounting for "/core" scripts to auto-detect a base path. Resolves backdrop-contrib#39
@elisseck Thank you for the PR. I have tested it and it works for me. I have updated the labels for the issue. |
@elisseck Thank you for the PR. I have tested it and it works for me too. After adding the changes, If I run the core/update.php path to manually run the update, then it works perfectly and now no need to remove the include bootstrap line from settings.php file. |
Thanks to @izmeez and @sudipto68 for testing. I went ahead and merged this PR and created a beta release of the module to encourage additional testing. |
And special thanks to @elisseck for submitting the PR. |
Thanks @elisseck @stpaultim @izmeez @sudipto68 |
This PR also appears to fix issue #36. |
With the domain module working, when there is a need to run
/core/update.php
such as from Backdrop 1.29.0 to 1.29.1 login to the primary domain, going to the Status Report and clicking the link to run update fails because it is trying to reach the wrong url/core/core/update.php
.Disabling the domain module by commenting the line in settings.php file to include
domain/services.inc
allows the update link to work and uses the correct url.Subsequently, when the line in settings.php is again uncommented and the site refreshed (clear caches), user has to login again. Something to be expected?
The text was updated successfully, but these errors were encountered: