Jump to content
  • 0

Flux Donation & Vote For Points issue.


Question

Posted (edited)

Hello everyone!

It came to my notice, that the flux Control panel returns 'proxy is not allowed' every time, with anyone. I tried to disable the proxy check(changing it from true to false), but it still didn't work. Afterwards I tried to alter the code, simply commenting the part which does the IP check, that works, but I rather have the IP check :P.

Same thing happens for the donation thing, when people donate, and return to the website, they get a blank page and the donation is not processed (had to do it manually). Does anyone have experience with this issue? this started about a few weeks ago.

Solved the donation issue

cheers!

jeroen

edit:

Error log, returns the following:

[22-Oct-2012 19:57:56 UTC] PHP Notice: Undefined offset: 0 in /home/notanot1/public_html/addons/Voteforpoints/modules/voteforpoints/index.php on line 44

[22-Oct-2012 19:57:56 UTC] PHP Notice: Trying to get property of non-object in /home/notanot1/public_html/addons/Voteforpoints/modules/voteforpoints/index.php on line 44

if($ip_address!=0)

{

$sql = "SELECT `rtid`,`unblock_time`,`ip_address` FROM {$serverLogDB}.{$vp_logs} WHERE f_site_id=? AND unblock_time>? AND ip_address=? ORDER BY unblock_time ASC LIMIT 1";

$sth = $serverObj->getStatement($sql);

$sth->execute(array($site_id,$current_time,$ip_address));

$ip_check = $sth->fetchAll();

$diff_time = strtotime($ip_check[0]->unblock_time)-strtotime(date("Y-m-d G:i:s",time())); < Line 44

if(!empty($ip_check))

return strtotime($ip_check[0]->unblock_time);

}

Edited by garet999

5 answers to this question

Recommended Posts

Posted (edited)

No, hence I'm asking support.

Edit:

Cleared browser cache, used a different browser REINSTALLED SQL & VOTE FOR POINTS ADDON . All did not work unfortunatly. This started happening about two days ago.

any suggestions?

Edited by garet999
Posted (edited)

Bumperdy bump

Now having a different error, I didn't touch it.

[26-Oct-2012 09:41:32 UTC] PHP Notice: Undefined variable: account_id in x/addons/Voteforpoints/themes/default/voteforpoints/index.php on line 29

[26-Oct-2012 09:41:32 UTC] PHP Notice: Undefined variable: session in x/addons/Voteforpoints/modules/voteforpoints/index.php on line 31

[26-Oct-2012 09:41:32 UTC] PHP Notice: Trying to get property of non-object x/addons/Voteforpoints/modules/voteforpoints/index.php on line 31

[26-Oct-2012 09:41:32 UTC] PHP Notice: Trying to get property of non-object in x/addons/Voteforpoints/modules/voteforpoints/index.php on line 31

line 29 to 31

$sql = "SELECT `unblock_time` FROM {$serverLogDB}.{$vp_logs} WHERE account_id=? AND f_site_id=?";		
$sth = $serverObj->getStatement($sql);		
$sth->execute(array($session->account->account_id,$site_id));  

Issue has been resolved. A proxy was used at the hosts end.

Edited by garet999
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...