Project

General

Profile

Bug #444

Updated by Pierre-Louis Bonicoli over 4 years ago

Owncould: documents shared by links are unavailable for 'logged-but-not-administrator' users, unavailable, an error message is displayed:
<pre>
Unable to generate a URL for the named route "ocsms.sms.index" as such route does not exist.
</pre>

Logs checked:
* /var/log/owncloud.log contains the error displayed to the end-user:
<pre>
{"app":"remote","message":"Unable to generate a URL for the named route \"ocsms.sms.index\" as such route does not exist.","level":4,"time":"2015-02-26T00:13:12+00:00"}
</pre>
* /var/log/apache2/milkypond/error.log
* /var/log/apache2/error.log

This backtrace is displayed when @/etc/owncloud/config.php@ contains @define( "DEBUG", 1);@:
<pre>
Unable to generate a URL for the named route "ocsms.sms.index" as such route does not exist.
#0 /usr/share/owncloud/lib/private/route/router.php(258): Symfony\Component\Routing\Generator\UrlGenerator->generate('ocsms.sms.index', Array, false)
#1 /usr/share/owncloud/lib/private/route/cachingrouter.php(39): OC\Route\Router->generate('ocsms.sms.index', Array, false)
#2 /usr/share/owncloud/lib/private/urlgenerator.php(41): OC\Route\CachingRouter->generate('ocsms.sms.index', Array)
#3 /usr/share/owncloud/lib/private/helper.php(44): OC\URLGenerator->linkToRoute('ocsms.sms.index', Array)
#4 /usr/share/owncloud/lib/public/util.php(221): OC_Helper::linkToRoute('ocsms.sms.index', Array)
#5 /usr/share/owncloud/apps/ocsms/appinfo/app.php(24): OCP\Util::linkToRoute('ocsms.sms.index')
#6 /usr/share/owncloud/lib/private/app.php(113): require_once('/usr/share/ownc...')
#7 /usr/share/owncloud/lib/private/app.php(95): OC_App::requireAppFile('ocsms')
#8 /usr/share/owncloud/lib/private/app.php(75): OC_App::loadApp('ocsms')
#9 /usr/share/owncloud/apps/files_sharing/public.php(5): OC_App::loadApps()
#10 /usr/share/owncloud/public.php(46): require_once('/usr/share/ownc...')
#11 {main}
</pre>

Back