owncloud-archive / apps

Repo for ownCloud apps. Code here is work in progress and not intended for endusers
373 stars 337 forks source link

AppTemplateAdvanced breaks Owncloud (4.5.7) #619

Closed NSMyself closed 11 years ago

NSMyself commented 11 years ago

After installing it, the following error pops up (and Owncloud effectively stops working):

Fatal error: Call to undefined method OC_Helper::linkToRoute() in /var/www/owncloud/apps/apptemplateadvanced/appinfo/app.php on line 40

The line is question is:

    // the route that will be shown on startup
    'href' => \OC_Helper::linkToRoute('apptemplate_advanced_index'),

and commenting it will get Owncloud working again; the app won't work though, obviously

VicDeo commented 11 years ago

@Knight4 How did you installed appTemplate and what is your ownCloud version?

NSMyself commented 11 years ago

Well, I downloaded the repository's zip archive, extracted the apptemplateadvanced folder, placed it on my local test server (running Owncloud 4.5.7), logged in and installed the app using the "Apps" tab.

VicDeo commented 11 years ago

@Knight4 master is 5.0 compatible. Please use stable45 branch for 4.5.7 https://github.com/owncloud/apps/tree/stable45

NSMyself commented 11 years ago

My bad, didn't realize that. Sorry