From: Kevin <ke...@dr...> - 2006-07-23 21:33:00
|
Miles Beck wrote: > Could someone try the following? > > On a test database delete all your categories, then click on "add > feeds" or "edit feed" and see if you get the below error. > > Fatal error: Call to a member function on a non-object in > /var/www/fofreduxtest/lib/view_helper.php on line 272 > > If I add a category back into the database the error does not happen. > I was able to get my working copy of FoFRedux able to add/edit feeds > again after I exported and then re-imported the database. > > Then I was able to add a category and now adding and editing feeds > works again. Though the new feed is automatically assigned the first > category that's available. And you are unable to remove the category > from the feed unless you delete the category. There is no category > option of None when editing the feed. > > So it appears there is still a few problems with categories. > > 1. With no category in the database you will get the above fatal error. > 2. You are unable to have no category assigned to a feed. > > Also I did drop fr_categories in the database and then I ran > install.php. This did not help in regards to the fatal error. > A category table with no rows is a case that FOFR is not coded to work with. There should always be a "None" category. The install page creates it and it should not be possible to delete it. -Kevin |