Jump to content
  • 0

Flux Donation & Vote For Points issue.


Ajjwidjdneidjenw

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

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
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  69
  • Reputation:   2
  • Joined:  10/03/12
  • Last Seen:  

I am also having the same issue same as yours about V4P, did you fix this issue you edited above?

Edited by mightyryan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

Hi, can you please detail out how you solved this problem?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  528
  • Reputation:   18
  • Joined:  09/11/12
  • Last Seen:  

V4P is outdated use a newer Addon.

Link to comment
Share on other sites

×
×
  • Create New...