Thread obsoleto Connessione al database

loled_

Utente Attivo
Autore del topic
9 Luglio 2014
348
30
Miglior risposta
0
Eh si sono ancora qui con sempre le stesse domande :emoji_relieved: xD
_______________________________________________________________
Messaggio da Holo CMS |
Impossibile connettersi al database MySQL |
_______________________________________________________________|
Vi posto la config :emoji_relieved:
<?php
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
Perfavore, Entra oppure Registrati per vedere i Link!

|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+===================================================*/

/*-------------------------------------------------------*\
| ****** 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 = "25.177.46.52";
$sqlusername = "root";
$sqlpassword = "macosx";
$sqldb = "haddo_db";

// ****** 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 = "http://25.177.46.52/";

// ****** 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 = "http://images.habbohotel.com/c_images/";
$badgesurl = "album1584/";

// ****** EMAIL VERIFY ******
// Email verification settings
$email_verify = true;
$email_force_verify = false;
$email_verify_reward = "500";
?>
HADDO CMS
 
Ultima modifica:
Re: Haddo CMS problema D:

Sei sicuro che il database si chiami così: haddo_db?
Hai creato un database?
E' vietato inserire smile nel titolo del topic, stai attento la prossima volta. ;)
Edito il titolo.
 
Sì c'è scritto così su phpmyadmin: "Database haddo_db (93)"
 
Eh si sono ancora qui con sempre le stesse domande :emoji_relieved: xD
_______________________________________________________________
Messaggio da Holo CMS |
Impossibile connettersi al database MySQL |
_______________________________________________________________|
Vi posto la config :emoji_relieved:
<?php
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
Perfavore, Entra oppure Registrati per vedere i Link!

|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+===================================================*/

/*-------------------------------------------------------*\
| ****** 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 = "25.177.46.52";
$sqlusername = "root";
$sqlpassword = "macosx";
$sqldb = "haddo_db";

// ****** 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 = "http://25.177.46.52/";

// ****** 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 = "http://images.habbohotel.com/c_images/";
$badgesurl = "album1584/";

// ****** EMAIL VERIFY ******
// Email verification settings
$email_verify = true;
$email_force_verify = false;
$email_verify_reward = "500";
?>
HADDO CMS
Cerca il file mysql.php e postamelo
 
Eccoti il mysql.php
<?php
/*---------------------------------------------------+
| HoloCMS - Website and Content Management System
+----------------------------------------------------+
| Copyright © 2008 Meth0d
+----------------------------------------------------+
| HoloCMS is provided "as is" and comes without
| warrenty of any kind.
+---------------------------------------------------*/

if (!defined("IN_HOLOCMS")) { header("Location: ../index.php"); exit; }

mysql_connect("$sqllocalhost", "$sqlroot", "$sqlmacosx")or die("<br><font size='2' face='Tahoma'><b>Errore del CMS:</b><br><em>Non Riesco a connettermi al databse MySQL!</em></font>");
mysql_select_db("$sqldb")or die("<br><font size='2' face='Tahoma'><b>Messaggio da HoloCMS</b><br><br>Non connesso al Database MySQL</font>");

?>

Screen:
2m3jmyq.png
 
Eccoti il mysql.php
<?php
/*---------------------------------------------------+
| HoloCMS - Website and Content Management System
+----------------------------------------------------+
| Copyright © 2008 Meth0d
+----------------------------------------------------+
| HoloCMS is provided "as is" and comes without
| warrenty of any kind.
+---------------------------------------------------*/

if (!defined("IN_HOLOCMS")) { header("Location: ../index.php"); exit; }

mysql_connect("$sqllocalhost", "$sqlroot", "$sqlmacosx")or die("<br><font size='2' face='Tahoma'><b>Errore del CMS:</b><br><em>Non Riesco a connettermi al databse MySQL!</em></font>");
mysql_select_db("$sqldb")or die("<br><font size='2' face='Tahoma'><b>Messaggio da HoloCMS</b><br><br>Non connesso al Database MySQL</font>");

?>

Screen:
2m3jmyq.png
PHP:
Perfavore, Entra oppure Registrati per vedere i codici!
Ecco quello buono , configuralo
 
Il problema non si risolve :/
Che ci vuole per fare un retro :emoji_relieved:
 
Neanche funziona :nono:
Quanto vorrei che provaste voi... se mi viene una cosa non mi viene un altra
a questo punto se non ci riesco con HaDDo CMS mi arrendo.
 
Fai una cosa, crea un nuovo database chiamato database, inseriscilo nel config e vedi se ti da errori. :emoji_slight_smile: