I've been using the non-DB version of the Advanced Poll on my site for some time now... however, I'm currently redesigning my site to make the whole thing DB driven, and as such decided to change to the DB version of Advanced Poll.
Now, here's where the odd problem comes in, which I've thus far not found a fix for -
My pages are constructed using various php includes, and the one containing the current poll works just fine as a file in it's own right - but when included in the overall layout, it gives the following error:
(some bits starred-out for privacy - the redesign is not ready for people to visit yet )
I've tried removing some of the other includes (particularly those which utilise the database) but haven't yet found a way to make this work... and ideally, I don't want to have to remove my other includes, the page kinda needs them
This is the code I'm using to display the poll:
The page I'm including the full poll archive on works just fine.
Any tips? Anyone also had this problem and know a fix?