Question
When listing entries on the frontend, no blog entries show up, only the following error:
No blog section found
Answer
If you get this error the problem is probably that Mamblog can't find the content section that blog entries will be saved in. Read on for further information on how to fix this problem.
When you install Mamblog it should automatically create a content section for the Mamblog entries. If Mamblog cannot find this section it won't run and produce the error message you mention.
In versions earlier than 1.0 RC2 the most common reason for this is that you have changed the title of the Mamblog section or removed it.
In 1.0 RC2 the id of the section is saved in the configuration file when Mamblog is installed, so changing the title of the section shouldn't be a problem. But if the value wasn't saved to the configuration file during the installation for some reason it would also show up. Make sure the following two lines are in your configuration file, and that the numbers correspond to the id's of your Mamblog section and the default Mamblog section category:
$cfg_mamblog['sectionid']='25';
$cfg_mamblog['catid']='85';
You can find the sectionid and catid by running the following two queries in MySQL Control Center, phpMyAdmin or a Joomla DB Query component:
SELECT id FROM mos_sections WHERE title='Mamblog'
SELECT id FROM mos_categories WHERE title='Default Category'
More information on this subject can be found in a thread on the Support Forum.
|