Welcome to Geeklog Sunday, October 24 2021 @ 01:57 pm EDT

Geeklog Forums

Album blocks cause error... cannot redeclare com_getblocktemplate()


Brian

Anonymous
hey all,

Tried 2 or 3 different album blocks, recently updated, etc..
I keep getting this error.

Fatal error: Cannot redeclare com_getblocktemplate() (previously declared in C:apachefriendsxampphtdocsgeeklogpublic_htmllib-common.php:382) in c:apachefriendsxampphtdocsgeeklogpublic_htmllib-common.php on line 435

seems to happen because the phpblock code calls gallery/init.php
which in the geeklog embed part calls lib-common
All of them use require_once, so it seems a bit weird.

Gallery still works fine, just as soon as I put the block on, I get that error on the front page.
I thought I fixed it somehow on another geeklog install, but not sure how I did...
any help?
thanks,
Brian
 Quote

Brian

Anonymous
oops, more info...

installed with Xampp on Win2k Server
(as you can see)

newest gallery and geeklog installs.

using php5... could that be the problem?

 Quote

All times are EDT. The time is now 01:57 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content