Skip to content

ownCloud 8.2.5: No shortening #30

Open

Description

@alve89

I just tried to set up this app but it doesn't work, I still get the original share links from ownCloud itself:

bildschirmfoto 2016-05-20 um 14 05 10

bildschirmfoto 2016-05-20 um 14 03 33

I copied the index.php from REMOTE-HOST to http://shortenerDomain.tld/s, set $owncloud_url = "https://MyPersonalDomain.com" and set $enabled = true.

What did I miss?

Thanks in advance and best regards!

Activity

  1. Jayah commented on Jun 3, 2016

    @Jayah

    Hello,

    I have same problem on OC 8.2.5 with google API.

    Best regards

  2. mygithuber commented on Jun 13, 2016

    @mygithuber

    +1
    No shortening with OC 8.2.5 and internal shortener.

  3. pixelverbieger commented on Oct 24, 2016

    @pixelverbieger

    I had a similar problem - but in the end I got it running (using ownCloud 7.0.4 and internal shortener)

    What I encountered was ownCloud would shorten links only if I logged out and in after having changed something in the 'shorten' config files.
    Having recognized that, I got short URLs as expected. Next thing that occured was a blank page after opening a shortlink. This issue was fixed like this:

    1. problem/mistake: In '/s/index.php' I entered my ownCloud URL with a trailing slash -> removed it. That made the redirect from shortened URLs to complete OC URLs work ✅
    2. problem/mistake: the resulting complete OC URLs wouldn't work. That was because the shortener appends '/download' to the hash - where it has to be '&download' (at least for ownCloud 7.0.4) -> go to '/shorten/lib/code.php' (line 25) and change the '/download' to '&download' -> opening the sharing URL triggers a download window 👍
  4. alve89 commented on Nov 4, 2016

    @alve89
    Author

    I double checked my configuration with a view on your specified problems and get as result: Everything was fine. Then I de- and reactivated the app, tried to share a file, got an error ("Error with sharing" or something like that) and after this message everything's like before (see issue description).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions