[Owncloud] Register an admin section

Bernhard Posselt nukeawhale at gmail.com
Sun Jun 9 12:03:04 UTC 2013


Please run this in your apps directory:

grep -r . -ie apptemplate_advanced_index

On 06/09/2013 03:55 PM, Tobia De Koninck wrote:
> Hi
>
> I haven't created the App Template Advanced app, it's a demo app for
> using the App Framework.
> (https://github.com/owncloud/apptemplateadvanced).
> The weird thing is I can access the apptemplate_advanced_index.
>
> Cheers
>
> On 06/09/13 10:07, Bernhard Posselt wrote:
>> Somewhere in your app theres a route apptemplate_advanced_index (most
>> likely appinfo/app.php) that does not exist. You need to fix that. If
>> you need help either send us a link to your repo or drop by on
>> irc.freenode.net #owncloud-dev ;)
>>
>> On 06/09/2013 11:55 AM, Tobia De Koninck wrote:
>>> Hi
>>>
>>> I'm developing the Chat app.
>>> (https://github.com/owncloud/apps/issues/933). A week ago my
>>> development server was running on Debian.
>>> I have reinstalled it using CentOS, and used the iRedMail script to
>>> install a mail server. On my Debian server my App and the App
>>> Template Advanced were working properly.
>>> I also upgraded my owncloud installation from 5.0.5 to 5.0.7, but I
>>> tried to use 5.0.5 again and the problem wasn't solved.
>>>
>>> But since I have reinstalled the server both apps can't register an
>>> admin section (using \OCP\App::registerAdmin('chat',
>>> 'admin/settings');).
>>> There is an error in the log: Route "apptemplate_advanced_index"
>>> does not exist. at
>>> /var/www/cloud.dev/3rdparty/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php#92.
>>>
>>> It appears right after I have enabled the app. But I do can access
>>> the app's route via the navigation on the left.
>>> When I access the admin page there is just a blank page, but no
>>> errors in the log nor in the console.
>>>
>>> The weird thing is that I can access the admin page when I install
>>> e.g. the External app, which also registers a admin section.
>>> When I comment out the code which register the admin sections, I can
>>> access the admin page.
>>>
>>> Maybe there's a problem with the php.ini file?
>>>
>>> I hope we can solve the problem.
>>>
>>> Regards
>>>
>>> P.s. I know a development server and production server should be
>>> separated, but my budget won't allow it :).
>>> _______________________________________________
>>> Owncloud mailing list
>>> Owncloud at kde.org
>>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud




More information about the Owncloud mailing list