Skip to content

old preview endpoint returns a 500 Error #30253

Closed

Description

@individual-it

after #29319 the old preview endpoint returns a 500 Error.

Steps to reproduce

  1. install core from master branch
  2. access old preview endpoint e.g index.php/core/preview.png?file=lorem.txt&x=128&y=128&forceIcon=0

Expected behaviour

consequent would be to redirect to the files page as on any other invalid endpoint

Actual behaviour

Error 500 returned

Logs

ownCloud log (data/owncloud.log)

{"reqId":"l4YTaQEq7WK8fiMJU7sd","level":3,"time":"2018-01-24T11:26:35+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/owncloud-core\/index.php\/core\/preview.png?file=lorem.txt&x=128&y=128&forceIcon=0","message":"require_once(): Failed opening required 'core\/ajax\/preview.php' (include_path='\/home\/artur\/www\/owncloud-core\/apps') at \/home\/artur\/www\/owncloud-core\/lib\/private\/Route\/Route.php#155"}

Activity

  1. added this to the development milestone on Jan 24, 2018
  2. lock commented on Jul 31, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  3. locked as resolved and limited conversation to collaborators on Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions