PDA

View Full Version : Problem with the Poll Hack


01-26-2001, 10:44 AM
Hello all,

I installed the Poll hack on my board, but when I try to run the makepolltables.php is says there is a slight error in the footer or something.

Anybody know what I did wrong?

I got Version 1.1.4 and also installed the PM hack.

Thankz in advance,

Shims :D

01-26-2001, 10:54 AM
1) Upgrade to 1.1.5. Another versions below 1.1.5 won't be supported (as heard ;)).
I upgraded yesterday. Took me less than 2 hours with 5 hacks (PM, Avatar, Polls, BFC WebLog, NewsFader).

2) Please, run makepolltables.php again and copy, paste, post the error you recieved so we can get the exact info. ;)

01-26-2001, 11:12 AM
Originally posted by PeF
1) Upgrade to 1.1.5. Another versions below 1.1.5 won't be supported (as heard ;)).
I upgraded yesterday. Took me less than 2 hours with 5 hacks (PM, Avatar, Polls, BFC WebLog, NewsFader).

2) Please, run makepolltables.php again and copy, paste, post the error you recieved so we can get the exact info. ;)

I have not tested the hack for 1.1.5 yet, but there should be no changes.

Could you paste the error here?

01-26-2001, 11:23 AM
Originally posted by doron
I have not tested the hack for 1.1.5 yet, but there should be no changes.


I have. Works just fine.

01-26-2001, 01:06 PM
The error is:

Editing post table ...
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

First I got something else, a screen where you good fill in a password and username, but at the bottom of that screen there was an error saying something about the footer. Now I get this message.

Shims

01-26-2001, 01:18 PM
This was in the (error)e-mail I received.

Database error in vBulletin: Invalid SQL: INSERT INTO template
(templateid,title,template) VALUES (NULL,'editpoll','{htmldoctype}

and

$footer
')
mysql error: You have an error in your SQL syntax near 's Game Discussion</A>
&gt; <a href="forumdisplay.php?forumid=">$forumtitle</a><b' at line 1
mysql error number: 1064
Date: Friday 26th of January 2001 12:27:37 PM
Script: /forums/makepolltables.php
Referer:

Can I find the problem in the forumdisplay?

Shims

01-26-2001, 01:21 PM
Looks like syntax error. If you recieved an email with that error description, please, post it here. It'll tell us where you made a mistake.
You may also try to reinstall the hack (repeat installation instructions and you'll find the error, though).

01-26-2001, 01:32 PM
Is it possible that the html code of my hitcounter gives problems in the footer?

01-26-2001, 01:34 PM
Originally posted by Shimsee


VALUES (NULL,'editpoll','

and

$footer
')



that is wierd...try regetting the hack and reapplying

01-26-2001, 01:41 PM
Database error in vBulletin: Invalid SQL: INSERT INTO template
(templateid,title,template) VALUES (NULL,'editpoll','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

$fivelinks

Forum Rules:
$forumrules

Sitename> $forumtitle
$threadtitle Only forum leaders (Administrator, Moderator) or the user who posted the poll may edit it. Only forum leaders are allowed to edit a poll after there have been votes
Edit Poll
Close? To close this poll, check this box.
Note: Closing this poll makes it impossible to vote. It however does not stop people from replying to the thread

Your UserName: Want to register?
Your Password: Forgotten your password?
Question:
Poll to edit:

See Forum Rules (above) for
more information about what
codes you are allowed to use
in your polls.
Originally posted by $postusername on $postdate
$pollbit Additional Fields:
Additional Option 1:
Additional Option 2:




$footer
')
mysql error: You have an error in your SQL syntax near 's Game Discussion</A>
&gt; <a href="forumdisplay.php?forumid=">$forumtitle</a><b' at line 1
mysql error number: 1064
Date: Friday 26th of January 2001 12:27:37 PM
Script: /forums/makepolltables.php
Referer:

This is the e-mail. I checked forumdisplay.php and the footer, but I can't find anything, I also reinstalled the hack but it gives the same error.

Shims

[Edited by Shimsee on 01-26-2001 at 10:44 AM]

01-26-2001, 02:24 PM
Getting an other error e-mail:

Database error in vBulletin: Invalid SQL: ALTER TABLE post ADD pollid MEDIUMINT
(8) UNSIGNED DEFAULT '0' not null
mysql error: Duplicate column name 'pollid'
mysql error number: 1060
Date: Friday 26th of January 2001 12:35:58 PM
Script: /forums/makepolltables.php
Referer:

Hope this helps,

Shims

01-26-2001, 03:55 PM
Originally posted by Shimsee
Getting an other error e-mail:

Database error in vBulletin: Invalid SQL: ALTER TABLE post ADD pollid MEDIUMINT
(8) UNSIGNED DEFAULT '0' not null
mysql error: Duplicate column name 'pollid'
mysql error number: 1060
Date: Friday 26th of January 2001 12:35:58 PM
Script: /forums/makepolltables.php
Referer:

Hope this helps,

Shims

that is because some parts of the scripts worked, so part of the hack is installed. there are some lines that are commented out with a '//' (usually with a DELETE use in the sql), remove the '//'

01-26-2001, 04:58 PM
Damn it, still getting the same old error, can't find out why.
I checked for // but they are allright. Checked all files 5 times. Anybody know anything else?

Shims.

01-26-2001, 05:47 PM
Shimsee - i emailed you, we should use email for this