View Full Version : Problem with the Poll Hack
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
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. ;)
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?
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.
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
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>
> <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
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).
Is it possible that the html code of my hitcounter gives problems in the footer?
Originally posted by Shimsee
VALUES (NULL,'editpoll','
and
$footer
')
that is wierd...try regetting the hack and reapplying
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>
> <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]
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
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 '//'
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.
Shimsee - i emailed you, we should use email for this
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.