Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Action '2009' isn't allowed on class BlogHolder_Controller

Go to End

15 Posts   4830 Views


4 August 2009 at 1:01am (Last edited: 4 August 2009 1:02am), Community Member, 14 Posts


we've installed and got running the blog with no problems. However we just discovered that if we click on an archive link we get the following response:

Action '2009' isn't allowed on class BlogHolder_Controller

and the URL is:

Any ideas why this is happening? How does the BlogHolder_Controller pick up that URL (my php is not very good).

many thanks


4 August 2009 at 2:58am Community Member, 68 Posts

Hi wayne,
i had the same and just downloaded newest blog trunk, which solved the problem.
I havent noticed any unstability yet, so i reckon you can do the same.

hope it helps,


5 August 2009 at 6:42pm Community Member, 3 Posts

I had the same problem with Blog Module's Archive Widget (Browse by Date) not working. So I followed the advice to try the latest two trunks and (83720). Same result with both: The Browse by Date function works fine now BUT the categories (Tag Cloud) does not work now (but did befor the update).

Second problem since that update: I use two blogs (two BlogHolder pages) in my page and the categories of both blogs seem to be mixed (meaning one blog reads the categories of the other blog).

Third problem since that update: While the Blog I set up first does show widgets in the sidebar, the second Blog does not. In the backend the blockholder page of the second blog does not accept any widget get draged and dropped into the "Widgets currently used" area.


5 August 2009 at 10:49pm Community Member, 14 Posts

Hi qlex,

thanks for the tip but I'm using the latest version. I did just try it again to make sure and theres no difference


6 August 2009 at 12:04am Community Member, 14 Posts


using the link to trunk that Bernard provided, I just patched my version.
I added this funtion to BlogHolder.php:

function checkAccessAction($action) {
      if (preg_match('/[0-9]{4}/', $action))
         return true;
      return parent::checkAccessAction($action);

this works on the current 2.1 downlaod files.


6 August 2009 at 2:28am Community Member, 323 Posts

Nice! Thank you!


23 September 2009 at 9:25am Community Member, 1 Post

where in the blogholder.php did you put it ?
Could show more code ?
tx in advance


8 October 2009 at 2:02pm Community Member, 55 Posts

Thanks Wayne!

brtlvrs: I put it in the BlogHolder_Controller class and it seems to work.

Go to Top