- Home
- Categorie
- Coding e Sistemistica
- Coding
- [Importante] Problema Login amministrazione
-
[Importante] Problema Login amministrazione
Salve,
Dopo un precedente post di aiuto installazione di un cms, chiedo un nuovo favore dopo che sono riuscito ad installare il cms.Allora, il problema è che non riesco a fare il login all'amministrazione, invece da da utente si ...
Puo servire se posto il file config.php ?
Eccolo :
[php]<?php
defined('_VALID_INCLUDE') or die('Direct access to this file not allowed.');
//------------------- Misc. Settings -------------------//
$stats = "0"; // Enable stats?
$descriptions_enabled = "1"; // Show page descriptions in the admin cp?
$user_system = "ccms"; // User system
$user_system_usertable = ""; // The name of the user table (if you're using the default [ccms] user system leave it blank)
$config_pm_popup = "1"; // Popup window when a new pm arrives? 1 = yes, anything else = no//------------------- Language -------------------//
if ($adminp == '1') {
include "admincp/language/language.php";
include "admincp/language/language_desc.php";
} else {
include "language/language.php";
}//------------------- Change these values to reflect your database -------------------//
$dbhost = 'mysql5.netsons.org'; // db host
$dbusername = 'italianweb'; // db user name
$dbpasswd = '******; // db pasword
$database_name = 'italianweb'; // db name$connection = mysql_connect("$dbhost","$dbusername","$dbpasswd") or die ("Couldn't connect to server.");
$db = mysql_select_db("$database_name", $connection) or die ("Couldn't select database.");?>[/php]
-
Ce comunque un modo che lavorando su un file si possa impostare admin un utente?
-
Come non detto... sistemato tutto...
-
[quote=Smosh;512045]Salve,
Dopo un precedente post di aiuto installazione di un cms, chiedo un nuovo favore dopo che sono riuscito ad installare il cms.Allora, il problema è che non riesco a fare il login all'amministrazione, invece da da utente si ...
Puo servire se posto il file config.php ?
Eccolo :
......................
-
Ciao
Nel giro di venti minuti hai fatto tutto da solo
Di che cms si tratta?
La discussione va spostata nell'area apposita...