opengovfoundation / the-madison-project

The Madison Project - An open source document editing tool supporting commenting, sharing, and collaboration.
GNU General Public License v3.0
87 stars 13 forks source link

Blank Navigation Menu #21

Open christopherritter opened 11 years ago

christopherritter commented 11 years ago

My installation was initially experiencing multiple issues because of a blank navigation menu in the database, or specifically the following query:

SELECT meta_value FROM site_info WHERE meta_key = "nav_menu"

I've since narrowed it down to one warning, but I'm still unable to populate the navigation menu with an about page or a bill.

Is there a missing step in the setup on how to add your first bill/page?

christopherritter commented 11 years ago

It might be related to this query on line 61 of the init file:

$firstId = mysql_query("SELECT id from " . DB_TBL_BILLS . " limit 1");
$firstId = mysql_result($firstId, 0);

MySQL is unable to jump to row 0 and I'm not sure what DB_TBL_BILLS is.

christopherritter commented 11 years ago

I put something into the BILLS table and got rid of a few errors at the top of the page, but my navigation still isn't loading and I've got a new error message on the page which just appeared below the nav bar.

cmbirk commented 11 years ago

Hey @christopherritter , If you go into the admin area, you should be able to add links to the nav bar. What error are you getting below the nav bar?