If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll - "1046 No Database Selected"  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi there,

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?

Cheers!
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Moogie wrote:


Well going by the code it looks like you haven't specified a database or put in an incorrect one in include/config.inc.php.

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum