Hi, I am running Owncloud on a Ubuntu 16.04 on Apache. I have updated from 9.1 to 10.0 via the web updater. Since then most of the paths in the web app start with a double slash (not all). I can open the login page but essentially nothing else is possible - since the browser can’t reach the references. So I cannot login etc.
File sync with the desktop or mobile apps, however, still work completely fine.
So my index.php source code right now looks like this…
<link rel="stylesheet" href="/apps/firstrunwizard/css/colorbox.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="/apps/firstrunwizard/css/firstrunwizard.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="/core/css/jquery.ocdialog.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="//core/css/styles.css?v=bfd00bcae1c391824a4f344d69725e20">
...
<link rel="stylesheet" href="//apps/firstrunwizard/css/firstrunwizard.css?v=bfd00bcae1c391824a4f344d69725e20">
...
<link rel="stylesheet" href="//core/css/jquery.ocdialog.css?v=bfd00bcae1c391824a4f344d69725e20">
<script src="/index.php/core/js/oc.js?v=bfd00bcae1c391824a4f344d69725e20"></script>
Notice, how some references start with a single slash, others incorrectly with double slashes.
Any help is highly appreciated! Not really sure, what more info you would need, just let me know and I’ll provide it!
Thanks so much!
If stuff like this happens after an update/upgrade then please always report those to the developers at GitHub · Where software is built
alright, will do. Thanks!
1 Like
Thanks, here is the reference:
opened 08:55PM - 03 May 17 UTC
closed 04:01PM - 06 May 17 UTC
status/STALE
Hi, I am running Owncloud on a Ubuntu 16.04 on Apache. I tried PHP 5.6 as well a… s 7.0. I have updated from 9.1 to 10.0 via the web updater. Since then *most* of the paths in the web app start with a double slash (not all). I can open the login page but essentially nothing else is possible - since the browser can't reach the references. So I cannot login etc.
File sync with the desktop or mobile apps, however, still work completely fine.
**Steps to reproduce**
No idea.
**Actual behaviour**
So my index.php source code right now looks like this..
<link rel="stylesheet" href="/apps/firstrunwizard/css/colorbox.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="/apps/firstrunwizard/css/firstrunwizard.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="/core/css/jquery.ocdialog.css?v=bfd00bcae1c391824a4f344d69725e20">
<link rel="stylesheet" href="//core/css/styles.css?v=bfd00bcae1c391824a4f344d69725e20">
...
<link rel="stylesheet" href="//apps/firstrunwizard/css/firstrunwizard.css?v=bfd00bcae1c391824a4f344d69725e20">
...
<link rel="stylesheet" href="//core/css/jquery.ocdialog.css?v=bfd00bcae1c391824a4f344d69725e20">
<script src="/index.php/core/js/oc.js?v=bfd00bcae1c391824a4f344d69725e20"></script>
**Server configuration**
Operating system: Ubuntu 16.04
Web server: Apache
Database: MySql
PHP version: 5.6 (also tried 7.0)
ownCloud version: 10.0.07
Updated from an older ownCloud or fresh install: Updated from 9.1
Where did you install ownCloud from: Update through web updater
Notice, how some references start with a single slash, others incorrectly with double slashes.
Any help is highly appreciated! Not really sure, what more info you would need, just let me know and I'll provide it!
Just as a reference. This was already fixed in the final release of ownCloud 10.0.0 [1] but the OP has upgraded to an older testing version of oC 10.0.0 which doesn’t contain that fix.
[1]
master
← fix-resource-loading-bug
opened 09:48AM - 19 Apr 17 UTC
…e slashes and one where resources would be loaded twice if no theme is set
#… # Description
Whenever no theme is set, some resources could be loaded twice, because the check for a theme was faulty. Also CSS and JS files are provided differently to the append method, which led to double prepended slashes for scripts.
## Related Issue
#27670
## How Has This Been Tested?
Tested with and without themes, in a root deployment and subdir deployment.
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.
1 Like