heRO-Server Forum

Full Version: Control Panel Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is what I received.

Code:
Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.
Exception Details

Error: Flux_Error

Message: MySQL error (SQLSTATE: 23000, ERROR: 1062): Duplicate entry '0-#VOTEPOINTS-7077486' for key 1

File: /home/pandora/public_html/cp/lib/Flux/Connection/Statement.php:27
File     Line     Function/Method
/home/pandora/public_html/cp/addons/vote_for_credits/lib/cashpoints.php     80     Flux_Connection_Statement::execute()
/home/pandora/public_html/cp/addons/vote_for_credits/lib/cashpoints.php     18     Cashpoints::initCash()
/home/pandora/public_html/cp/addons/vote_for_credits/modules/vote/index.php     44     Cashpoints::getUsed()
/home/pandora/public_html/cp/lib/Flux/Template.php     337     include()
/home/pandora/public_html/cp/lib/Flux/Dispatcher.php     168     Flux_Template::render()
/home/pandora/public_html/cp/index.php     174     Flux_Dispatcher::dispatch()
Exception Trace As String

#0 /home/pandora/public_html/cp/addons/vote_for_credits/lib/cashpoints.php(80): Flux_Connection_Statement->execute(Array)
#1 /home/pandora/public_html/cp/addons/vote_for_credits/lib/cashpoints.php(18): Cashpoints->initCash('7077486')
#2 /home/pandora/public_html/cp/addons/vote_for_credits/modules/vote/index.php(44): Cashpoints->getUsed('7077486')
#3 /home/pandora/public_html/cp/lib/Flux/Template.php(337): include('/home/pandora/p...')
#4 /home/pandora/public_html/cp/lib/Flux/Dispatcher.php(168): Flux_Template->render()
#5 /home/pandora/public_html/cp/index.php(174): Flux_Dispatcher->dispatch(Array)
#6 {main}

I'll post a picture if you need something else from it that isn't shown here. (Copied and pasted everything)
Yeah I'm getting the same thing. Looks like vote for points is broken. It was working a couple of hours ago.
It's working fine for me unless the actual voting is what's breaking it (In which case, I can't check that). Did you try refreshing the page?
Last time this happened, it happened for about 10 minutes.

CP hiccups every now and then.

Let me know if it is still happening?
Yep, it still happens. And no, its not the actual voting, its pressing the link that goes to the vote for points page that triggers it.

Edit: Actually refreshing the page fixed it. Maybe the error was just left in the browser cache or something. Or maybe it happens once per account, before I checked on my main account, this time on my vender account.
Reference URL's