Avatar not saved in signup convert to html

Issues related to forms.
Post Reply
Markoc
 
 
Posts: 47
Joined: Tue May 29, 2018 12:19 am

Avatar not saved in signup convert to html

Post by Markoc » Wed Jun 27, 2018 12:28 pm

Hi,

I've been trying to get my signup new user form from the Login Tools to save the avatar after I convert the form to html. If I do not convert the form it saves the avatar fine. Is anyone else having this issue? I need to expand a couple of the fields into text areas so more information can be added, hence the reason to convert the form.
Thanks

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Avatar not saved in signup convert to html

Post by Pablo » Wed Jun 27, 2018 1:22 pm


User avatar
BaconFries
 
 
Posts: 4167
Joined: Thu Aug 16, 2007 7:32 pm

Re: Avatar not saved in signup convert to html

Post by BaconFries » Wed Jun 27, 2018 1:26 pm

Was about to ask the very same....

Markoc
 
 
Posts: 47
Joined: Tue May 29, 2018 12:19 am

Re: Avatar not saved in signup convert to html

Post by Markoc » Wed Jun 27, 2018 1:40 pm

At that time I was trying to save a new avatar to an existing user from the edit profile using convert to html. That still does not work. I made a workaround by having the user click on a separate link to edit the avatar without using a convert to html form.

Now I am trying to use a sign up form using convert to html.

It seems that convert to html will display the existing avatar but not able to save any avatars.
Thanks

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Avatar not saved in signup convert to html

Post by Pablo » Wed Jun 27, 2018 1:57 pm

Did you convert the form with the the latest update (14.0.5)?
What does the code look like, before and after the conversion?

Markoc
 
 
Posts: 47
Joined: Tue May 29, 2018 12:19 am

Re: Avatar not saved in signup convert to html

Post by Markoc » Wed Jun 27, 2018 4:49 pm

I did the conversion with ver 14.0.4. Would that make any difference? Thanks

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Avatar not saved in signup convert to html

Post by Pablo » Wed Jun 27, 2018 6:55 pm

Would that make any difference?
Please always make sure you have the latest update, before asking for support.
Updates always have many improvements.

Markoc
 
 
Posts: 47
Joined: Tue May 29, 2018 12:19 am

Re: Avatar not saved in signup convert to html

Post by Markoc » Wed Jun 27, 2018 7:47 pm

Ok, so I rebuilt the forms and now they sort of appear to work. It saves everything but I am unable to login using the username and password I entered. If I go to my admin panel and open that user record and resave it then I can login fine. Totally stumped!

Signup page with convert to html:

<?php
$mysql_server = 'ppocc_members.db.3698662.hostedresource.com';
$mysql_username = 'ppocc_members';
$mysql_password = 'xxxxxxxxxx';
$mysql_database = 'ppocc_members';
$mysql_table = 'ppocc_members2018';
$success_page = '';
$error_message = "";
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['form_name']) && $_POST['form_name'] == 'signupform')
{
$newusername = $_POST['username'];
$newemail = $_POST['email'];
$newpassword = $_POST['password'];
$confirmpassword = $_POST['confirmpassword'];
$newfullname = $_POST['fullname'];
$extra1 = $_POST['extra1'];
$extra2 = $_POST['extra2'];
$extra3 = $_POST['extra3'];
$extra4 = $_POST['extra4'];
$extra5 = $_POST['extra5'];
$extra6 = $_POST['extra6'];
$extra7 = $_POST['extra7'];
$extra8 = $_POST['extra8'];
$extra9 = $_POST['extra9'];
$extra10 = $_POST['extra10'];
$extra11 = $_POST['extra11'];
$extra12 = $_POST['extra12'];
$extra13 = $_POST['extra13'];
$code = 'NA';
if ($newpassword != $confirmpassword)
{
$error_message = 'Password and Confirm Password are not the same!';
}
else
if (!preg_match("/^[A-Za-z0-9_!@$]{1,50}$/", $newusername))
{
$error_message = 'Username is not valid, please check and try again!';
}
else
if (!preg_match("/^[A-Za-z0-9_!@$]{1,50}$/", $newpassword))
{
$error_message = 'Password is not valid, please check and try again!';
}
else
if (!preg_match("/^[A-Za-z0-9_!@$.' &]{1,50}$/", $newfullname))
{
$error_message = 'Fullname is not valid, please check and try again!';
}
else
if (!preg_match("/^.+@.+\..+$/", $newemail))
{
$error_message = 'Email is not a valid email address. Please check and try again.';
}
$avatar_folder = 'avatars';
$avatar_max_width = 256;
$avatar_max_height = 256;
$newavatar = '';
if (isset($_FILES['avatar']) && $_FILES['avatar']['name'] != "")
{
if (!file_exists($avatar_folder))
{
if (!mkdir($avatar_folder, 0777))
{
die("Failed to create images directory.");
}
}
switch ($_FILES['avatar']['error'])
{
case UPLOAD_ERR_OK:
if ($_FILES['avatar']['type'] == 'image/gif' || $_FILES['avatar']['type'] == 'image/jpeg' || $_FILES['avatar']['type'] == 'image/pjpeg' || $_FILES['avatar']['type'] == 'image/png' || $_FILES['avatar']['type'] == 'image/x-png')
{
list($width, $height) = getimagesize($_FILES['avatar']['tmp_name']);
if ($width <= $avatar_max_width && $height <= $avatar_max_height)
{
$prefix = rand(111111, 999999);
$newavatar = $prefix . "_" . str_replace(" ", "_", $_FILES['avatar']['name']);
if (!move_uploaded_file($_FILES['avatar']['tmp_name'], $avatar_folder . "/" . $newavatar))
{
$error_message = "Upload failed, please verify the folder's permissions.";
}
}
else
{
$error_message = "The image is too big.";
}
}
else
{
$error_message = "Wrong file type, please only use jpg, gif or png images.";
}
break;
case UPLOAD_ERR_INI_SIZE:
$error_message = "The uploaded file exceeds the 'upload_max_filesize' directive.";
break;
case UPLOAD_ERR_FORM_SIZE:
$error_message = "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.";
break;
case UPLOAD_ERR_PARTIAL:
$error_message = "The uploaded file was only partially uploaded.";
break;
case UPLOAD_ERR_NO_FILE:
$error_message = "No file was uploaded.";
break;
case UPLOAD_ERR_NO_TMP_DIR:
$error_message = "Missing a temporary folder.";
break;
case UPLOAD_ERR_CANT_WRITE:
$error_message = "Failed to write file to disk.";
break;
case UPLOAD_ERR_EXTENSION:
$error_message = "File upload stopped by extension.";
break;
}
}
if (empty($error_message))
{
$db = mysqli_connect($mysql_server, $mysql_username, $mysql_password);
if (!$db)
{
die('Failed to connect to database server!<br>'.mysqli_error($db));
}
mysqli_select_db($db, $mysql_database) or die('Failed to select database<br>'.mysqli_error($db));
mysqli_set_charset($db, 'utf8');
$sql = "SELECT username FROM ".$mysql_table." WHERE username = '".$newusername."'";
$result = mysqli_query($db, $sql);
if ($data = mysqli_fetch_array($result))
{
$error_message = 'Username already used. Please select another username.';
}
}
if (empty($error_message))
{
$crypt_pass = md5($newpassword);
$newusername = mysqli_real_escape_string($db, $newusername);
$newemail = mysqli_real_escape_string($db, $newemail);
$newfullname = mysqli_real_escape_string($db, $newfullname);
$extra1 = mysqli_real_escape_string($db, $extra1);
$extra2 = mysqli_real_escape_string($db, $extra2);
$extra3 = mysqli_real_escape_string($db, $extra3);
$extra4 = mysqli_real_escape_string($db, $extra4);
$extra5 = mysqli_real_escape_string($db, $extra5);
$extra6 = mysqli_real_escape_string($db, $extra6);
$extra7 = mysqli_real_escape_string($db, $extra7);
$extra8 = mysqli_real_escape_string($db, $extra8);
$extra9 = mysqli_real_escape_string($db, $extra9);
$extra10 = mysqli_real_escape_string($db, $extra10);
$extra11 = mysqli_real_escape_string($db, $extra11);
$extra12 = mysqli_real_escape_string($db, $extra12);
$extra13 = mysqli_real_escape_string($db, $extra13);
$sql = "INSERT `".$mysql_table."` (`username`, `password`, `fullname`, `email`, `avatar`, `active`, `code`, `role`, `extra1`, `extra2`, `extra3`, `extra4`, `extra5`, `extra6`, `extra7`, `extra8`, `extra9`, `extra10`, `extra11`, `extra12`, `extra13`) VALUES ('$newusername', '$crypt_pass', '$newfullname', '$newemail', '$newavatar', 1, '$code', '', '$extra1', '$extra2', '$extra3', '$extra4', '$extra5', '$extra6', '$extra7', '$extra8', '$extra9', '$extra10', '$extra11', '$extra12', '$extra13')";
$result = mysqli_query($db, $sql);
mysqli_close($db);
$subject = 'Your new account';
$message = 'A new account has been setup.';
$message .= "\r\nUsername: ";
$message .= $newusername;
$message .= "\r\nPassword: ";
$message .= $newpassword;
$message .= "\r\n";
$header = "From: webmaster@ppocc.org"."\r\n";
$header .= "Reply-To: webmaster@ppocc.org"."\r\n";
$header .= "MIME-Version: 1.0"."\r\n";
$header .= "Content-Type: text/plain; charset=utf-8"."\r\n";
$header .= "Content-Transfer-Encoding: 8bit"."\r\n";
$header .= "X-Mailer: PHP v".phpversion();
mail($newemail, $subject, $message, $header);
header('Location: '.$success_page);
exit;
}
}
?>



**************************************************************

SIGNUP PAGE with Login TOOLS:

**************************************************************

<?php

$mysql_server = 'ppocc_members.db.3698662.hostedresource.com';

$mysql_username = 'ppocc_members';

$mysql_password = 'Xxxxxxxxxx';

$mysql_database = 'ppocc_members';

$mysql_table = 'ppocc_members2018';

$success_page = '';

$error_message = "";

if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['form_name']) && $_POST['form_name'] == 'signupform')

{

$newusername = $_POST['username'];

$newemail = $_POST['email'];

$newpassword = $_POST['password'];

$confirmpassword = $_POST['confirmpassword'];

$newfullname = $_POST['fullname'];

$extra1 = $_POST['extra1'];

$extra2 = $_POST['extra2'];

$extra3 = $_POST['extra3'];

$extra4 = $_POST['extra4'];

$extra5 = $_POST['extra5'];

$extra6 = $_POST['extra6'];

$extra7 = $_POST['extra7'];

$extra8 = $_POST['extra8'];

$extra9 = $_POST['extra9'];

$extra10 = $_POST['extra10'];

$extra11 = $_POST['extra11'];

$extra12 = $_POST['extra12'];

$extra13 = $_POST['extra13'];

$code = 'NA';

if ($newpassword != $confirmpassword)

{

$error_message = 'Password and Confirm Password are not the same!';

}

else

if (!preg_match("/^[A-Za-z0-9_!@$]{1,50}$/", $newusername))

{

$error_message = 'Username is not valid, please check and try again!';

}

else

if (!preg_match("/^[A-Za-z0-9_!@$]{1,50}$/", $newpassword))

{

$error_message = 'Password is not valid, please check and try again!';

}

else

if (!preg_match("/^[A-Za-z0-9_!@$.' &]{1,50}$/", $newfullname))

{

$error_message = 'Fullname is not valid, please check and try again!';

}

else

if (!preg_match("/^.+@.+\..+$/", $newemail))

{

$error_message = 'Email is not a valid email address. Please check and try again.';

}

$avatar_folder = 'avatars';

$avatar_max_width = 256;

$avatar_max_height = 256;

$newavatar = '';

if (isset($_FILES['avatar']) && $_FILES['avatar']['name'] != "")

{

if (!file_exists($avatar_folder))

{

if (!mkdir($avatar_folder, 0777))

{

die("Failed to create images directory.");

}

}

switch ($_FILES['avatar']['error'])

{

case UPLOAD_ERR_OK:

if ($_FILES['avatar']['type'] == 'image/gif' || $_FILES['avatar']['type'] == 'image/jpeg' || $_FILES['avatar']['type'] == 'image/pjpeg' || $_FILES['avatar']['type'] == 'image/png' || $_FILES['avatar']['type'] == 'image/x-png')

{

list($width, $height) = getimagesize($_FILES['avatar']['tmp_name']);

if ($width <= $avatar_max_width && $height <= $avatar_max_height)

{

$prefix = rand(111111, 999999);

$newavatar = $prefix . "_" . str_replace(" ", "_", $_FILES['avatar']['name']);

if (!move_uploaded_file($_FILES['avatar']['tmp_name'], $avatar_folder . "/" . $newavatar))

{

$error_message = "Upload failed, please verify the folder's permissions.";

}

}

else

{

$error_message = "The image is too big.";

}

}

else

{

$error_message = "Wrong file type, please only use jpg, gif or png images.";

}

break;

case UPLOAD_ERR_INI_SIZE:

$error_message = "The uploaded file exceeds the 'upload_max_filesize' directive.";

break;

case UPLOAD_ERR_FORM_SIZE:

$error_message = "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.";

break;

case UPLOAD_ERR_PARTIAL:

$error_message = "The uploaded file was only partially uploaded.";

break;

case UPLOAD_ERR_NO_FILE:

$error_message = "No file was uploaded.";

break;

case UPLOAD_ERR_NO_TMP_DIR:

$error_message = "Missing a temporary folder.";

break;

case UPLOAD_ERR_CANT_WRITE:

$error_message = "Failed to write file to disk.";

break;

case UPLOAD_ERR_EXTENSION:

$error_message = "File upload stopped by extension.";

break;

}

}

if (empty($error_message))

{

$db = mysqli_connect($mysql_server, $mysql_username, $mysql_password);

if (!$db)

{

die('Failed to connect to database server!<br>'.mysqli_error($db));

}

mysqli_select_db($db, $mysql_database) or die('Failed to select database<br>'.mysqli_error($db));

mysqli_set_charset($db, 'utf8');

$sql = "SELECT username FROM ".$mysql_table." WHERE username = '".$newusername."'";

$result = mysqli_query($db, $sql);

if ($data = mysqli_fetch_array($result))

{

$error_message = 'Username already used. Please select another username.';

}

}

if (empty($error_message))

{

$crypt_pass = md5($newpassword);

$newusername = mysqli_real_escape_string($db, $newusername);

$newemail = mysqli_real_escape_string($db, $newemail);

$newfullname = mysqli_real_escape_string($db, $newfullname);

$extra1 = mysqli_real_escape_string($db, $extra1);

$extra2 = mysqli_real_escape_string($db, $extra2);

$extra3 = mysqli_real_escape_string($db, $extra3);

$extra4 = mysqli_real_escape_string($db, $extra4);

$extra5 = mysqli_real_escape_string($db, $extra5);

$extra6 = mysqli_real_escape_string($db, $extra6);

$extra7 = mysqli_real_escape_string($db, $extra7);

$extra8 = mysqli_real_escape_string($db, $extra8);

$extra9 = mysqli_real_escape_string($db, $extra9);

$extra10 = mysqli_real_escape_string($db, $extra10);

$extra11 = mysqli_real_escape_string($db, $extra11);

$extra12 = mysqli_real_escape_string($db, $extra12);

$extra13 = mysqli_real_escape_string($db, $extra13);

$sql = "INSERT `".$mysql_table."` (`username`, `password`, `fullname`, `email`, `avatar`, `active`, `code`, `role`, `extra1`, `extra2`, `extra3`, `extra4`, `extra5`, `extra6`, `extra7`, `extra8`, `extra9`, `extra10`, `extra11`, `extra12`, `extra13`) VALUES ('$newusername', '$crypt_pass', '$newfullname', '$newemail', '$newavatar', 1, '$code', '', '$extra1', '$extra2', '$extra3', '$extra4', '$extra5', '$extra6', '$extra7', '$extra8', '$extra9', '$extra10', '$extra11', '$extra12', '$extra13')";

$result = mysqli_query($db, $sql);

mysqli_close($db);

$subject = 'Your new account';

$message = 'A new account has been setup.';

$message .= "\r\nUsername: ";

$message .= $newusername;

$message .= "\r\nPassword: ";

$message .= $newpassword;

$message .= "\r\n";

$header = "From: webmaster@ppocc.org"."\r\n";

$header .= "Reply-To: webmaster@ppocc.org"."\r\n";

$header .= "MIME-Version: 1.0"."\r\n";

$header .= "Content-Type: text/plain; charset=utf-8"."\r\n";

$header .= "Content-Transfer-Encoding: 8bit"."\r\n";

$header .= "X-Mailer: PHP v".phpversion();

mail($newemail, $subject, $message, $header);

header('Location: '.$success_page);

exit;

}

}

?>

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Untitled Page</title>

<meta name="generator" content="WYSIWYG Web Builder 14 - http://www.wysiwygwebbuilder.com">

<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">

<link href="ppocc_members2018.css" rel="stylesheet">

<link href="signuptesthtml.css" rel="stylesheet">

<script src="jquery-1.12.4.min.js"></script>

<script>

$(document).ready(function()

{

$("#avatar :file").on('change', function()

{

var input = $(this).parents('.input-group').find(':text');

input.val($(this).val());

});

});

</script>

</head>

<body>

<div id="container">

<div id="wb_Text1" style="position:absolute;left:328px;top:137px;width:545px;height:48px;text-align:center;z-index:41;">

<span style="color:#000000;">Test sign up with convert form to html.<br> Does it save Avatar?</span></div>

<div id="wb_signupform" style="position:absolute;left:328px;top:210px;width:543px;height:1288px;z-index:42;">

<form name="signupform" method="post" action="<?php echo basename(__FILE__); ?>" enctype="multipart/form-data" accept-charset="UTF-8" id="signupform">

<input type="hidden" name="form_name" value="signupform">

<label for="" id="Label1" style="position:absolute;left:6px;top:6px;width:523px;height:16px;line-height:16px;z-index:0;">Sign up for a new account</label>

<label for="fullname" id="Label2" style="position:absolute;left:6px;top:40px;width:523px;height:16px;line-height:16px;z-index:1;">Full Name</label>

<input type="text" id="fullname" style="position:absolute;left:7px;top:59px;width:519px;height:18px;z-index:2;" name="fullname" value="" spellcheck="false">

<label for="username" id="Label3" style="position:absolute;left:6px;top:98px;width:523px;height:16px;line-height:16px;z-index:3;">User Name</label>

<input type="text" id="username" style="position:absolute;left:7px;top:117px;width:519px;height:18px;z-index:4;" name="username" value="" spellcheck="false">

<label for="password" id="Label4" style="position:absolute;left:6px;top:156px;width:523px;height:16px;line-height:16px;z-index:5;">Password</label>

<input type="password" id="password" style="position:absolute;left:7px;top:175px;width:519px;height:18px;z-index:6;" name="password" value="" spellcheck="false">

<label for="confirmpassword" id="Label5" style="position:absolute;left:6px;top:214px;width:523px;height:16px;line-height:16px;z-index:7;">Confirm Password</label>

<input type="password" id="confirmpassword" style="position:absolute;left:7px;top:233px;width:519px;height:18px;z-index:8;" name="confirmpassword" value="" spellcheck="false">

<label for="email" id="Label6" style="position:absolute;left:6px;top:272px;width:523px;height:16px;line-height:16px;z-index:9;">E-mail</label>

<input type="text" id="email" style="position:absolute;left:7px;top:291px;width:519px;height:18px;z-index:10;" name="email" value="" spellcheck="false">

<label for="avatar" id="Label7" style="position:absolute;left:6px;top:326px;width:523px;height:16px;line-height:16px;z-index:11;">Profile Photo for Referral/Member Page - 180px x 180px max</label>

<div id="avatar" class="input-group" style="position:absolute;left:7px;top:349px;width:529px;height:28px;z-index:12;">

<input class="form-control" type="text" readonly="">

<label class="input-group-btn">

<input type="file" name="avatar" id="avatar-file" style="display:none;"><span class="btn">Browse...</span>

</label>

</div>

<label for="extra1" id="Label8" style="position:absolute;left:6px;top:384px;width:523px;height:16px;line-height:16px;z-index:13;">Studio Name</label>

<input type="text" id="extra1" style="position:absolute;left:7px;top:407px;width:519px;height:18px;z-index:14;" name="extra1" value="" spellcheck="false">

<label for="extra2" id="Label9" style="position:absolute;left:6px;top:442px;width:523px;height:16px;line-height:16px;z-index:15;">Contact Name</label>

<input type="text" id="extra2" style="position:absolute;left:7px;top:465px;width:519px;height:18px;z-index:16;" name="extra2" value="" spellcheck="false">

<label for="extra3" id="Label10" style="position:absolute;left:6px;top:500px;width:523px;height:16px;line-height:16px;z-index:17;">Address</label>

<input type="text" id="extra3" style="position:absolute;left:7px;top:523px;width:519px;height:18px;z-index:18;" name="extra3" value="" spellcheck="false">

<label for="extra4" id="Label11" style="position:absolute;left:6px;top:558px;width:523px;height:16px;line-height:16px;z-index:19;">City</label>

<input type="text" id="extra4" style="position:absolute;left:7px;top:581px;width:519px;height:18px;z-index:20;" name="extra4" value="" spellcheck="false">

<label for="extra5" id="Label12" style="position:absolute;left:6px;top:616px;width:523px;height:16px;line-height:16px;z-index:21;">State</label>

<input type="text" id="extra5" style="position:absolute;left:7px;top:639px;width:519px;height:18px;z-index:22;" name="extra5" value="" spellcheck="false">

<label for="extra6" id="Label13" style="position:absolute;left:6px;top:674px;width:523px;height:16px;line-height:16px;z-index:23;">Zip</label>

<input type="text" id="extra6" style="position:absolute;left:7px;top:697px;width:519px;height:18px;z-index:24;" name="extra6" value="" spellcheck="false">

<label for="extra7" id="Label14" style="position:absolute;left:6px;top:732px;width:523px;height:16px;line-height:16px;z-index:25;">Business Phone 1</label>

<input type="text" id="extra7" style="position:absolute;left:7px;top:755px;width:519px;height:18px;z-index:26;" name="extra7" value="" spellcheck="false">

<label for="extra8" id="Label15" style="position:absolute;left:6px;top:790px;width:523px;height:16px;line-height:16px;z-index:27;">Business Phone 2</label>

<input type="text" id="extra8" style="position:absolute;left:7px;top:813px;width:519px;height:18px;z-index:28;" name="extra8" value="" spellcheck="false">

<label for="extra9" id="Label16" style="position:absolute;left:6px;top:848px;width:523px;height:16px;line-height:16px;z-index:29;">Home Phone</label>

<input type="text" id="extra9" style="position:absolute;left:7px;top:871px;width:519px;height:18px;z-index:30;" name="extra9" value="" spellcheck="false">

<label for="extra10" id="Label17" style="position:absolute;left:6px;top:906px;width:523px;height:16px;line-height:16px;z-index:31;">Cell Phone</label>

<input type="text" id="extra10" style="position:absolute;left:7px;top:929px;width:519px;height:18px;z-index:32;" name="extra10" value="" spellcheck="false">

<label for="extra11" id="Label18" style="position:absolute;left:6px;top:964px;width:523px;height:16px;line-height:16px;z-index:33;">Specialities</label>

<input type="text" id="extra11" style="position:absolute;left:7px;top:987px;width:519px;height:18px;z-index:34;" name="extra11" value="" spellcheck="false">

<label for="extra12" id="Label19" style="position:absolute;left:6px;top:1022px;width:523px;height:16px;line-height:16px;z-index:35;">Description</label>

<input type="text" id="extra12" style="position:absolute;left:7px;top:1045px;width:519px;height:18px;z-index:36;" name="extra12" value="" spellcheck="false">

<label for="extra13" id="Label20" style="position:absolute;left:6px;top:1080px;width:523px;height:16px;line-height:16px;z-index:37;">Web Address</label>

<input type="text" id="extra13" style="position:absolute;left:7px;top:1103px;width:519px;height:18px;z-index:38;" name="extra13" value="" spellcheck="false">

<input type="text" id="error" style="position:absolute;left:252px;top:1138px;width:142px;height:16px;z-index:39;" name="error" value="<?php echo $error_message; ?>" spellcheck="false">

<input type="submit" id="signup" name="signup" value="Create User" style="position:absolute;left:223px;top:1176px;width:97px;height:24px;z-index:40;">

</form>

</div>



</div>

</body>

</html>
Last edited by Markoc on Wed Jun 27, 2018 10:59 pm, edited 1 time in total.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Avatar not saved in signup convert to html

Post by Pablo » Wed Jun 27, 2018 8:08 pm

It saves everything but I am unable to login using the username and password I entered.
Usually this indicates a problem with PHP sessions on the server.
Only your web host can solve that.

Markoc
 
 
Posts: 47
Joined: Tue May 29, 2018 12:19 am

Re: Avatar not saved in signup convert to html

Post by Markoc » Fri Jun 29, 2018 11:20 am

i'll look into it. thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests