Banshee
the secure PHP framework

Forum

FAQ module

René
26 october 2010, 17:38
Banshee version: 2.4
PHP version: 5
Webserver: Hiawatha v7.3

Hi.

I have installed Banshee 2.4 but I can't get the faq module to work like the one on your demo site. I added a link to my menu and the faq shows on my local website but I can't administer it. When I click the faq module in website administration I get a blank page...

Thanks

Hugo Leisink
26 october 2010, 18:06
I'm sorry, but with only a message "it doesn't work" I can't do much. Is the DEBUG_MODE set to 'yes' in settings/website.conf? Did you do some debugging yourself?
René
26 october 2010, 20:35
No, its okay. I am not a programmer but I found the error. After I viewed my logs (which I should have done in the first place). I found...

PHP Fatal error: Multiple access type modifiers are not allowed in /usr/local/www/banshee/controllers/admin/faq.php on line 56

... then looking at the code on line 56. The word "public" is coded twice. I removed the first one and now its working.
Hugo Leisink
27 october 2010, 09:41
Thanks for letting me know.
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]