[Release] Dekaron Vote Script

10/14/2009 08:41 bengals#31
Im haven a problem with it saying You can't vote anymore! Try again later.
Its been saying this for people and for me for the past week. Whats wrong with it? And how do i fix it?
10/15/2009 14:56 antondude#32
Indeed, i also have some issues. Either the script is a tiny bit bugy in some areas or, im not 100% sure i think you have to make sure that the mysql database for the vote is open and dont exit it :S not sure though. :(
01/04/2010 19:23 EliteWarrior#33
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\vote.php on line 73

I removed the ; at php.ini file already,got database account called ( vote ) everything should be correct.
EDIT:I got another error When u remove ; u need to restart xamp to take effect(forgot lol )

Any explanation here janvier123? are u still giving support?

error now is:

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 84

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 85
Error: No database selected



if u would mind explain in steps where to put what .
01/05/2010 10:02 janvier123#34
Quote:
No database selected
install mysql and put in the sql file
01/06/2010 03:18 [GM]Force#35
Love it ^^
01/06/2010 03:25 EliteWarrior#36
Quote:
Originally Posted by janvier123 View Post
install mysql and put in the sql file
it is installed already,what i think is i did perhaps wrong info at wrong input.
01/06/2010 04:55 naruto820#37
yep very nice script idk what other ppl had problems with but i think it works nice. Also since im not good at php coding is there a way to have more than 1 vote links in the same script so that I can have like 5 links and all of them will have rewards. 5*25 coins each.

to elitewarrior did u run the vote.sql file

get navicat and make a new mysql database called vote and run the sql there.
01/06/2010 05:21 EliteWarrior#38
I runned the sql file, Navicat hmm dont have i use xampp gonna give it a try thanks!
01/06/2010 06:41 Decima#39
Navicat is like an sql manager but for MySQL
01/06/2010 10:58 janvier123#40
Navicat is just and its not free -> Download [Only registered and activated users can see links. Click Here To Register...]

its made from mysql and it work great !
02/04/2010 20:53 gedimazs#41
janvier123 can you make it check IP, you made check ID, if you try to vote again for e.g. after 1 min it says "You can't vote anymore! Try again later." So can you make that script checks IP too? cause you can vote again with other acc from same IP as many times as you want.
Thanks
12/17/2010 14:54 6shadow6#42
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\WebServ\httpd\vote.php on line 84

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\WebServ\httpd\vote.php on line 85
Error: did not select any database

line 84 $row2 = mysql_fetch_row($result2);
line 85 $count2 = mysql_num_rows($result2);


Some one know how to fix? I use Webserv (xampp is crap and too many bug)
09/08/2013 23:02 rockerkid21#43
i need help i get this Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (MY IP) in C:\xampp\htdocs\banmanagement\connect.php on line 7
Something went wrong while connecting to MSSQL ! I did everything that you told me to ...
09/11/2013 10:08 janvier123#44
Quote:
Originally Posted by rockerkid21 View Post
i need help i get this Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (MY IP) in C:\xampp\htdocs\banmanagement\connect.php on line 7
Something went wrong while connecting to MSSQL ! I did everything that you told me to ...
this is NOT for the vote script !
09/17/2013 23:13 xema786#45
Quote:
Originally Posted by xema786 View Post
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\vote.php on line 81

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 82

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 83

Warning: mysql_fetch_row() expects parameter 1 to be resource, null given in C:\xampp\htdocs\vote.php on line 84

Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\xampp\htdocs\vote.php on line 85

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 88

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 89
Error: Access denied for user 'ODBC'@'localhost' (using password: NO)
I get this