X Tutup
Skip to content

old preview endpoint returns a 500 Error #30253

@individual-it

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"}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup