Problema risolto Client non funziona

Stato
Discussione chiusa ad ulteriori risposte.
Postami il config.php del cms.
<?php

/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/

// ****** MASTER DATABASE SETTINGS ******
// These are the settings required to connect to your MySQL Database.
$sqlhostname = "localhost";
$sqlusername = "root";
$sqlpassword = "123";
$sqldb = "plaza";

// ****** STATUS CHECKS SYSTEM ******
// This option will allow HoloCMS to perform full status checks. This,
// however, slows down your site A LOT. It is therefore disabled by
// default.
$enable_status_image = "0";

// ****** SITE PATH ******
// The full URL to your site; with an slash added on the end.
$path = "
Perfavore, Entra oppure Registrati per vedere i Link!
";

// ****** REFFERAL REWARD ******
// The amount of credits a user recieves upon referring a friend to the
// hotel. Set to '500' by default.
$reward = "50";

// ****** HOLOCMS SYSTEM ADMINISTRATOR ******
// User ID of the System Administrator. Will be granted access to sensitive
// features. Set to '1' by default. This setting will not change your
// ingame priveliges.
$sysadmin = "1";

// ****** HOLOCMS ENCRYPTION SYSTEM ******
// How HoloCMS stores passowrds.
// Do NOT manually change this unless you know what you are doing,
// doing so may corrupt your database.
$encryption = "new";
$hashtext = "";

// ****** BADGES ******
// Where badges are located.
$cimagesurl = "
Perfavore, Entra oppure Registrati per vedere i Link!
";
$badgesurl = "album1584/";

// ****** EMAIL VERIFY ******
// Email verification settings
$email_verify = true;
$email_force_verify = false;
$email_verify_reward = "500";
?>
 
Prova ad inserire la password: admin come password nel box nello staffclient

Inviato dal Meizu M3 Note di #Magnesio utilizzando Tapatalk.
 
Prova ad inserire la password: admin come password nel box nello staffclient

Inviato dal Meizu M3 Note di #Magnesio utilizzando Tapatalk.


In staff client.php o in config perchè in staff client ci stanno un sacco di cose con scritto pass ma niente nemmeno l'user so


Inviato dal mio iPhone utilizzando Tapatalk
 
In staff client.php o in config perchè in staff client ci stanno un sacco di cose con scritto pass ma niente nemmeno l'user so


Inviato dal mio iPhone utilizzando Tapatalk
Quando accedi al client nella schermata staffclient.php inserisci la password: admin

Inviato dal Meizu M3 Note di #Magnesio utilizzando Tapatalk.
 
Quando accedi al client nella schermata staffclient.php inserisci la password: admin

Inviato dal Meizu M3 Note di #Magnesio utilizzando Tapatalk.

Come user il mio nome di come mi sono registrato?


Inviato dal mio iPhone utilizzando Tapatalk
 
Certo, il nickname che hai usato per registrarti.

Inviato dal Meizu M3 Note di #Magnesio utilizzando Tapatalk.
 
connection.info.host nello staff client sostituisci 127.0.0.1 con il tuo IP di Hamachi.
 
Fammi vedere questo file:

Codice:
Perfavore, Entra oppure Registrati per vedere i codici!

ecco a te :emoji_smiley:


<?php
###############################################################
# Page Password Protect 2.13
###############################################################
# Visit
Perfavore, Entra oppure Registrati per vedere i Link!
for updates
###############################################################
#
# Usage:
# Set usernames / passwords below between SETTINGS START and SETTINGS END.
# Open it in browser with "help" parameter to get the code
# to add to all files being protected.
# Example: password_protect.php?help
# Include protection string which it gave you into every file that needs to be protected
#
# Add following HTML code to your page where you want to have logout link
# <a href="
Perfavore, Entra oppure Registrati per vedere i Link!
">Logout</a>
#
###############################################################

/*
-------------------------------------------------------------------
SAMPLE if you only want to request login and password on login form.
Each row represents different user.

$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'test' => 'testpass',
'admin' => 'passwd'
);

--------------------------------------------------------------------
SAMPLE if you only want to request only password on login form.
Note: only passwords are listed

$LOGIN_INFORMATION = array(
'root',
'testpass',
'passwd'
);

--------------------------------------------------------------------
*/

##################################################################
# SETTINGS START
##################################################################

// Add login/password pairs below, like described above
// NOTE: all rows except last must have comma "," at the end of line
$LOGIN_INFORMATION = array(
'nome' => 'pass',
);

// request login? true - show login and password boxes, false - password box only
define('USE_USERNAME', true);

// User will be redirected to this page after logout
define('LOGOUT_URL', '
Perfavore, Entra oppure Registrati per vedere i Link!


// time out after NN minutes of inactivity. Set to 0 to not timeout
define('TIMEOUT_MINUTES', 2);

// This parameter is only useful when TIMEOUT_MINUTES is not zero
// true - timeout time from last activity, false - timeout time from login
define('TIMEOUT_CHECK_ACTIVITY', true);

##################################################################
# SETTINGS END
##################################################################


///////////////////////////////////////////////////////
// do not change code below
///////////////////////////////////////////////////////

// show usage example
if(isset($_GET['help'])) {
die('Include following code into every page you would like to protect, at the very beginning (first line):<br>&lt;?php include("' . str_replace('\\','\\\\',__FILE__) . '"); ?&gt;');
}

// timeout in seconds
$timeout = (TIMEOUT_MINUTES == 0 ? 0 : time() + TIMEOUT_MINUTES * 60);

// logout?
if(isset($_GET['logout'])) {
setcookie("verify", '', $timeout, '/'); // clear password;
header('Location: ' . LOGOUT_URL);
exit();
}

if(!function_exists('showLoginPasswordProtect')) {

// show login form
function showLoginPasswordProtect($error_msg) {
?>
<html>
<head>
<title>Mexico Hotel: Staff Client</title>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</head>
<body bgcolor="white">
<style>
input { border: 3px solid blue; border-radius: 5px }
</style>
<div style="width:500px; margin-left:auto; margin-right:auto; text-align:center">
<form method="post">
<font color="red"><?php echo $error_msg; ?></font>
<br /><br /><br /><br /><br /><br /><br /><br />
<center><table width="480" height="330" align="center" bgcolor="blue" border="5"><tbody>
<tr>
<td width="540" bgcolor="white"><center><img src="./logo.png"/><br><br>
<?php if (USE_USERNAME) echo 'Nome:<br /><input type="input" name="access_login" /><br />Password:<br />'; ?>
<input type="password" name="access_password" /><p></p><input type="submit" name="Entra" value="Entra" /><br></td>
</tr>
</tbody></table></center>
</form>
<br />
</div>
</body>
</html>

<?php
// stop at this point
die();
}
}

// user provided password
if (isset($_POST['access_password'])) {

$login = isset($_POST['access_login']) ? $_POST['access_login'] : '';
$pass = $_POST['access_password'];
if (!USE_USERNAME && !in_array($pass, $LOGIN_INFORMATION)
|| (USE_USERNAME && ( !array_key_exists($login, $LOGIN_INFORMATION) || $LOGIN_INFORMATION[$login] != $pass ) )
) {
showLoginPasswordProtect("ATTENZIONE! Dati inseriti errati.");
}
else {
// set cookie if password was validated
setcookie("verify", md5($login.'%'.$pass), $timeout, '/');

// Some programs (like Form1 Bilder) check $_POST array to see if parameters passed
// So need to clear password protector variables
unset($_POST['access_login']);
unset($_POST['access_password']);
unset($_POST['Submit']);
}

}

else {

// check if password cookie is set
if (!isset($_COOKIE['verify'])) {
showLoginPasswordProtect("");
}

// check if cookie is good
$found = false;
foreach($LOGIN_INFORMATION as $key=>$val) {
$lp = (USE_USERNAME ? $key : '') .'%'.$val;
if ($_COOKIE['verify'] == md5($lp)) {
$found = true;
// prolong timeout
if (TIMEOUT_CHECK_ACTIVITY) {
setcookie("verify", md5($lp), $timeout, '/');
}
break;
}
}
if (!$found) {
showLoginPasswordProtect("");
}

}

?>
 
Sicuro di aver configurato bene i dcr?
Se il problema persiste prova a cambiare pack.
 
Stato
Discussione chiusa ad ulteriori risposte.