- Joined
- Dec 27, 2013
- Messages
- 10
- Reaction score
- 0
Hi, I got this problem when trying to vote.
---------
My Vote.php:
---------
My Vote.php:
Hi, I got this problem when trying to vote.
![]()
---------
My Vote.php:
![]()
Look for all the SQL queries, and test them out in your database.
There will be an error somewhere, put it here.
OR
Find in your code, Error - Could not update vote points!
It should be something like
... or die('Error - Could not update vote points!')
replace the die part with
die(mysqli_error())
If the above doesn't work, mysql_error() should work
Paste the error here
I haven't seen the code yet, so not sure.
I did that and the "Could not update vote points" is fixed, but now it shows me blank page
[IMG]https://forum.ragezone.com/images/404_image.png[/IMG] Post your new vote.php
1: [IMG]https://forum.ragezone.com/ima.../QUOTE] What did you change in the Vote.php?
$colvp = ""; // Vote Point Column Name
$colnx = ""; // NX Column Name
$gvp = 1; // How much VP should be given per vote?
$gnx = 10000; // How much NX should be given per vote?
Thank you very much!
it lets me vote without cooldown. Any idea why?
$vtime = 86400;