Got errors when tried to create new application

Hello Team,

I have installed Nextcloud application (Version 19.0.0) in my local machine. Its was working fine. URL: http://localhost/nextcloud/index.php

I am trying to create a new App for handle the registration using username and password. I have created the app skeleton using Generate app option. Then paste the skeleton in apps directory and enable it from admin side. I got the welcome page.

But I need to know more about the Routes. I have created a new route named register#index ([‘name’ => ‘register#index’, ‘url’ => ‘/’, ‘verb’ => ‘GET’],) and created a new controller named registercontroller.php (class RegisterController extends Controller {) in the lib/controller folder. But its not working.

Also let me know more about the OCP and OCA? I didn’t find out any documentation regarding this


Perhaps you can first create a simple test app. Please use this manual and post your code and errors. Perhaps you must use another url because of your subdir /nextcloud .