We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SOLVED (?) ---> Server error '404 Not Found' on 'index' route | Forum

Marco Giaccaglini
Marco Giaccaglini Apr 23 '19


Hi all, ArtMedia,


summary of the workaround done:


1) INITIAL PROBLEM: the MAIN tab in the main menu (standard fresh installation of OxWall v1.8.4 but also 1.8.x) was not working (Menu Item: 'main_menu_index' configured with routePath 'base_index' in TABLE  'ow_base_menu_item' 


E.G. --> when requesting the 'Main' (or 'index') page I had the following error:


---------------------

404 Not Found

The requested URL /oxwall/index was not found on this server.

---------------------


2) WORKAROUND (thanks ArtMedia!):


NOTE: routePath 'base_default_index'  ...  works


SO workaround is: configure in TABLE  'ow_base_menu_item'

Menu Item: 'main_menu_index' from routePath 'base_index' to 'base_default_index'


RESULT: click to main_menu_index (menu display MAIN) will open a page, no error 404 


+--------------------------- IMPORTANT

BUT TO BE CONFIRMED/DEFINED: is that the right routePath? It opens the User Dashboard ... so (apparently) is equivalent to routePath 'base_member_dashboard'

+-------------------------------


IS THAT CORRECT? Is really  routePath 'base_member_dashboard' SAME as 'base_index'/'base_default_index' ??


If YES problem completely solved, if NOT, the fresh OxWall v1.8.4/1.8.x installation has initial configuration problems ...




+----------- TABLE  'ow_base_menu_item' ... OxWall 1.8.x fresh install


Menu Item (key)......................routePath................................generated URL/URI

main_menu_index....................base_default_index................$sitename/oxwall/

users_main_menu_item............users....................................$sitename/oxwall/users

base_join_menu_item...............base_join..............................$sitename/oxwall/join

dashboard...............................base_member_dashboard........$sitename/oxwall/dashboard

photo......................................view_photo_list......................$sitename/oxwall/photo/viewlist/latest

video.......................................video_list_index.....................$sitename/oxwall/video


routePath................................generates.......................goes to page (Page Name)

base_default_index...................oxwall/.........................."My Dashboard"

users......................................oxwall/users..................."Members"

base_member_dashboard........oxwall/dashboard.............."My Dashboard"


In addition (FAILING)

routePath........................generates....................goes to page

base_index......................oxwall/index............***FAIL (404 Page Not Found)***