New Install, error in database

a complete ready to use php survey system

New Install, error in database

Postby jmueller » Sun Feb 08, 2004 6:23 pm

Everything appears to be functional.

Created a survey-- question and answers.
Checked db, confirmed that it did populate.

Tried:
http://www.site.com/poll/vote.php?surv=1

And...

http://www.site.com/poll/vote_1page.php?surv=1

Launching the above URL's displays the following error: "error in database"

Ideas? Thanks.
jmueller
 
Posts: 5
Joined: Sun Feb 08, 2004 6:18 pm

Postby jmueller » Mon Feb 09, 2004 10:10 pm

BUMP Anyone?
jmueller
 
Posts: 5
Joined: Sun Feb 08, 2004 6:18 pm

Postby nabocorp » Tue Feb 10, 2004 10:15 am

Is everything fine when you display the admin interface?

nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby jmueller » Tue Feb 10, 2004 10:09 pm

Yes. The admin looks and behaves normally.
jmueller
 
Posts: 5
Joined: Sun Feb 08, 2004 6:18 pm

Postby nabocorp » Wed Feb 11, 2004 9:22 am

You may have a question without answers.

nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm

Postby jmueller » Thu Feb 12, 2004 3:17 pm

Please see my original post.
There are questions-- and I confirmed that the questions ARE in the db.
jmueller
 
Posts: 5
Joined: Sun Feb 08, 2004 6:18 pm

Postby jmueller » Wed Feb 18, 2004 3:46 pm

BUMP :?
jmueller
 
Posts: 5
Joined: Sun Feb 08, 2004 6:18 pm

Solution: Nabopoll nests questions within surveys

Postby aegilops » Fri Aug 13, 2004 1:14 pm

Hi Jmueller

I had exactly the same problem, and hunted around in MySQL as I suspect you did and saw the tables getting entries written. The solution I found was this:

Nabopoll nests ANSWERS within QUESTIONS within SURVEYS

I had mistakenly assumed the admin screen went straight to entering QUESTIONS but in fact it wants you to create a SURVEY. So I was adding what I thought were 'answers' - but in fact they were QUESTIONS within the survey.

So I went back and changed my first 'QUESTION' to be what it truly was - my first SURVEY. Then I created my single real question within that, and then added my true answers underneath THAT... and now it works.

Hope this works for you - although I note your question has been dormant for 6 months.

Cheers

Aegilops
aegilops
 
Posts: 1
Joined: Fri Aug 13, 2004 1:08 pm


Return to nabopoll

Who is online

Users browsing this forum: No registered users and 19 guests

cron