*

Recent

Author Topic: Demo Site problem  (Read 5533 times)

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Demo Site problem
« on: October 29, 2014, 02:23:06 AM »
I wanted to have a look at something ->

Demo Site - One registers -> logs in -> Memberlist -> AdamLacombe and then the screen goes white-out?

Now can't get past log-in :(

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Demo Site problem
« Reply #1 on: October 29, 2014, 01:47:24 PM »
Not sure what to tell you on this one, I am able to log on with out problems.

Dillon did say when he added the pw and security hash, there would be problems on upgrades, so we will wait to see what he has to say, but the database for the last user looks fine.

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Re: Demo Site problem
« Reply #2 on: October 29, 2014, 04:49:13 PM »
Well, it's still the same this morning. :(

But I'll try registering again under a different handle.

Edit:

Same with 'outlaws' site - Try this and see what happens -> http://www.outlawsgameroom.com/index.php?action=activate&id=430773971
« Last Edit: October 29, 2014, 05:20:31 PM by Frank »

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Demo Site problem
« Reply #3 on: October 29, 2014, 05:56:08 PM »
you should be able to log on to outlaws site now, i see the error and fix it in the database.

soon as i have a fix for this and showprofile play count, i will release v3.0.1 with the other bug fixes.

thanks for finding this ...Frank

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Demo Site problem
« Reply #4 on: October 29, 2014, 08:45:55 PM »
So this seems to be an issue with activating accounts? The new passwords work fine i tested it multiple times however i set them to automatically active and not email confirmation. I will have to do some testing on activating sites. Also what do you mean by white screen after visiting adams profile? i did not get that only the white page when trying to activate.

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Demo Site problem
« Reply #5 on: October 29, 2014, 09:04:44 PM »
So this seems to be an issue with activating accounts? The new passwords work fine i tested it multiple times however i set them to automatically active and not email confirmation. I will have to do some testing on activating sites. Also what do you mean by white screen after visiting adams profile? i did not get that only the white page when trying to activate.

I cant get this to replicate on my site. It activates it without an issue.

EDIT:

i got it fixed. Replace the code on activate_account with this:

Code: [Select]

<?php
function writebody() {
global 
$db$domain$sitename$domain$template$gamesfolder$thumbsfolder$limitboxgames$seo_on$blogentriesshown$enabledcode_on$comments_on$directorypath$autoapprovecomments$gamesonpage$abovegames$belowgames$showwebsitelimit$supportemail$showblog$blogentriesshown$blogcharactersshown$blogcommentpermissions$blogcommentsshown$blogfollowtags$blogcharactersrss$usrdata$userid;

$id=clean($_GET['id']);

$res=mysql_query("SELECT * from fas_users WHERE activation_key='$id'") or die(mysql_error());
$row=mysql_fetch_assoc($res);
$key=clean($row['activation_key']);
if(
$key == $id){
echo 
"<div class='msg'>Your account has been activated, you may now login</div>";
}else{
echo 
"<div class='error'>The activation key was incorrect, please try again</div>";
}

$sql3 ="UPDATE fas_users SET activation_key='0' WHERE activation_key='$id'";
mysql_query($sql3) or die(mysql_error());

};

$pagetitle="Activate Account";
?>


« Last Edit: October 29, 2014, 09:29:32 PM by Dillon »

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Re: Demo Site problem
« Reply #6 on: October 31, 2014, 01:42:13 AM »
Amazing the problems of a missing apostrophe and semi-colon will cause? ;D

But the Demo Site is still broken when I try to log in? :(

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Demo Site problem
« Reply #7 on: October 31, 2014, 11:25:44 AM »
Amazing the problems of a missing apostrophe and semi-colon will cause? ;D

But the Demo Site is still broken when I try to log in? :(

I dont know how to access the demo... am-fs has yet to get me the info that works anyway. So thats up to him on that one.