when i try to use small route then i change the init.php file add these line
OW::getRouter()->addRoute(new OW_Route('register.index', 'regdetails', "REGISTER_CTRL_regdetails", 'index'));
activate.php :
OW::getNavigation()->addMenuItem(OW_Navigation::BOTTOM, 'register.index', 'register', 'bottom_menu_item', OW_Navigation::VISIBLE_FOR_ALL);
deactivate.php:
OW::getNavigation()->deleteMenuItem('register', 'bottom_menu_item');
after that i add a form in side views/controllers/regdetails_index.html
Error details:
Type:
Exception
Message:
Can't add package pointer `REGISTER_CMP`! Duplicated package pointer!
File:
/home/freephps/public_html/oxwall/ow_core/autoload.php
Line:
260
Trace:
#0
/home/freephps/public_html/oxwall/ow_core/plugin_manager.php(130):
OW_Autoload->addPackagePointer('REGISTER_CMP', '/home/freephps/...')
#1
/home/freephps/public_html/oxwall/ow_system_plugins/base/bol/plugin_service.php(660):
OW_PluginManager->addPackagePointers(Object(BOL_Plugin))
#2
/home/freephps/public_html/oxwall/ow_system_plugins/admin/controllers/plugins.php(357):
BOL_PluginService->activate('register')
#3 [internal function]: ADMIN_CTRL_Plugins->activate(Array)
#4 /home/freephps/public_html/oxwall/ow_core/request_handler.php(266):
call_user_func_array(Array, Array)
#5 /home/freephps/public_html/oxwall/ow_core/application.php(329):
OW_RequestHandler->dispatch()
#6 /home/freephps/public_html/oxwall/index.php(73):
OW_Application->handleRequest()
#7 {main}