Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : Giange 19 Feb 2013, 10:40:14

: Database mysql e configuration.php
: Giange 19 Feb 2013, 10:40:14
Salve a tutti,
Qualche giorno fà ho trasferito un dominio da un XXXX a XXXX.
La versione del cms è la 1.5.26
Volendo aggiornare il cms ed il template, ed essendo il sito strapieno di contenuti,
per velocizzare avevo pensato di passare tutto su un terzo livello (old.miosito.it) per poi
aggiornare il nuovo sito avendo sotto mano i vecchi contenuti ed il vecchio template...
Nel copiare il contenuto però, OVVIAMENTE, non mi collega il vecchio database mysql e per non effettuare modifiche troppo azzardate volevo farvi presente il problema e magari strappare qualche consiglio!
Attualmente il file è cosi configurato:
<?php
class JConfig {
 var $offline = '0';
 var $editor = 'tinymce';
 var $list_limit = '20';
 var $debug = '0';
 var $debug_lang = '0';
 var $sef = '0';
 var $sef_rewrite = '0';
 var $sef_suffix = '0';
 var $feed_limit = '10';
 var $feed_email = 'author';
 var $secret = 'xxxxxxxxxxxxxxx';
 var $gzip = '0';
 var $error_reporting = '-1';
 var $xmlrpc_server = '0';
 var $log_path = '/web/htdocs/miosito.it/home/logs';
 var $tmp_path = '/web/htdocs/miosito.it/home/tmp';
 var $live_site = '';
 var $force_ssl = '0';
 var $offset = '0';
 var $caching = '0';
 var $cachetime = '15';
 var $cache_handler = 'file';
 var $memcache_settings = array();
 var $ftp_enable = '0';
 var $ftp_host = '127.0.0.1';
 var $ftp_port = '21';
 var $ftp_user = '';
 var $ftp_pass = '';
 var $ftp_root = '';
 var $dbtype = 'mysql';
 var $host = 'xx.xxx.xxx.xxx';
 var $user = 'Sqlxxxxxx';
 var $db = 'Sqlxxxxxx_1';
 var $dbprefix = 'jos_';
 var $mailer = 'mail';
 var $mailfrom = 'info@xxxxxxx.com';
 var $fromname = 'miosito.it';
 var $sendmail = '/usr/sbin/sendmail';
 var $smtpauth = '0';
 var $smtpsecure = 'none';
 var $smtpport = '25';
 var $smtpuser = '';
 var $smtppass = '';
 var $smtphost = 'localhost';
 var $MetaAuthor = '1';
 var $MetaTitle = '1';
 var $lifetime = '15';
 var $session_handler = 'database';
 var $password = 'xxxxxxxx';
 var $sitename = 'miosito.it';

quale voce modifico?
: Re:Database mysql e configuration.php
: BelinBelan 19 Feb 2013, 11:46:04
ciao,
innanzitutto, cortesemente, se puoi cancellare dal tuo Topic ogni riferimento commerciale.
 
Poi devi editare i riferimenti al database, il percorso delle cartelle tmp e logs.
Nient'altro, mi pare.
: Re:Database mysql e configuration.php
: Giange 19 Feb 2013, 19:48:12
Ciao e grazie per la risposta...
ho provato a sostituire le voci che mi hai consigliato in :

    var $log_path = '/web/htdocs/old.angelsforest.it/home/logs';
    var $tmp_path = '/web/htdocs/old.angelsforest.it/home/tmp';

ma ancora nulla, continua a darmi questo errore:

Database Error: Unable to connect to the database:Could not connect to MySQL

Per cancellare riferimenti commerciali cosa intendi?


: Re:Database mysql e configuration.php
: BelinBelan 19 Feb 2013, 20:49:13
Ciao,

sono già stati rimossi i riferimenti  ;)

Il could not... è un messaggio che indica, giustamente, che non ci si riesce proprio a collegare, quindi, o lo username o la password o il nome db deve o devono essere non corretti, a mio modesto parere :)