Pagina 1 di 2 12 UltimaUltima
Risultati da 1 a 10 di 15

Discussione: config.php - sicuramente c'è un errore

  1. #1

    config.php - sicuramente c'è un errore

    Temo di essermi arenato con l'installazione di vB.
    Credevo di aver configurato bene il file config.php in quanto porto a termine l'installazione ed il forum sembra funzionare, ma ... ho l'impressione di aver fatto qualche errore in quanto anche a forum appena installato vado nel mio profilo e clicco su visualizza tutti i post o tutti i threads aperti si verifica questo errore nel database:

    Database error in vBulletin 3.6.4:

    Invalid SQL:

    REPLACE INTO vb3_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash, completed)
    VALUES (1, '82.53.24.47', 1, 'Pippo', '', 'post.dateline', 'DESC', 0.00061, 1, '1', 1164491834, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1;s:9:\" Pippo\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s :11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s :6:\"action\";s:7:\"process\";}}', '1bf65ca1474d7aea0824fd1d5bbaeb85', 1);

    MySQL Error : Unknown column 'completed' in 'field list'
    Error Number : 1054
    Date : Saturday, November 25th 2006 @ 10:57:15 PM
    Script : http://www.miosito.net/forum/search.php?do=finduser&u=1
    Referrer : http://www.miosito.net/forum/member.php?u=1
    IP Address : 82.**.**.47
    Username : Pippo
    Classname : vb_database
    Perdonatemi se mi permetto di postare anche il file config.php ma non so più cosa fare.

    // ****** DATABASE TYPE ******
    // This is the type of the database server on which your vBulletin database will be located.
    // Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    $config['Database']['dbtype'] = 'mysql';

    // ****** DATABASE NAME ******
    // This is the name of the database where your vBulletin will be located.
    // This must be created by your webhost.
    $config['Database']['dbname'] = 'Sql****_1';

    // ****** TABLE PREFIX ******
    // Prefix that your vBulletin tables have in the database.
    $config['Database']['tableprefix'] = 'vb3_';

    // ****** TECHNICAL EMAIL ADDRESS ******
    // If any database errors occur, they will be emailed to the address specified here.
    // Leave this blank to not send any emails when there is a database error.
    $config['Database']['technicalemail'] = 'admin@miosito.it';

    // ****** FORCE EMPTY SQL MODE ******
    // New versions of MySQL (4.1+) have introduced some behaviors that are
    // incompatible with vBulletin. Setting this value to "true" disables those
    // behaviors. You only need to modify this value if vBulletin recommends it.
    $config['Database']['force_sql_mode'] = false;



    // ****** MASTER DATABASE SERVER NAME AND PORT ******
    // This is the hostname or IP address and port of the database server.
    // If you are unsure of what to put here, leave the default values.
    $config['MasterServer']['servername'] = '62.***.***.38';
    $config['MasterServer']['port'] = 3306;

    // ****** MASTER DATABASE USERNAME & PASSWORD ******
    // This is the username and password you use to access MySQL.
    // These must be obtained through your webhost.
    $config['MasterServer']['username'] = 'Sql****';
    $config['MasterServer']['password'] = '********';

    // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
    // This option allows you to turn persistent connections to MySQL on or off.
    // The difference in performance is negligible for all but the largest boards.
    // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
    $config['MasterServer']['usepconnect'] = 0;



    // ****** SLAVE DATABASE CONFIGURATION ******
    // If you have multiple database backends, this is the information for your slave
    // server. If you are not 100% sure you need to fill in this information,
    // do not change any of the values here.
    $config['SlaveServer']['servername'] = '';
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = '';
    $config['SlaveServer']['password'] = '';
    $config['SlaveServer']['usepconnect'] = 0;



    // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
    // This setting allows you to change the name of the folders that the admin and
    // moderator control panels reside in. You may wish to do this for security purposes.
    // Please note that if you change the name of the directory here, you will still need
    // to manually change the name of the directory on the server.
    $config['Misc']['admincpdir'] = 'admincp';
    $config['Misc']['modcpdir'] = 'modcp';

    // Prefix that all vBulletin cookies will have
    // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
    $config['Misc']['cookieprefix'] = 'bb';

    // ******** FULL PATH TO FORUMS DIRECTORY ******
    // On a few systems it may be necessary to input the full path to your forums directory
    // for vBulletin to function normally. You can ignore this setting unless vBulletin
    // tells you to fill this in. Do not include a trailing slash!
    // Example Unix:
    // $config['Misc']['forumpath'] = '/home/users/public_html/forums';
    // Example Win32:
    // $config['Misc']['forumpath'] = '/web/htdocs/www.miosito.net/home/forum';
    $config['Misc']['forumpath'] = '';



    // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
    // The users specified here will be allowed to view the admin log in the control panel.
    // Users must be specified by *ID number* here. To obtain a user's ID number,
    // view their profile via the control panel. If this is a new installation, leave
    // the first user created will have a user ID of 1. Seperate each userid with a comma.
    $config['SpecialUsers']['canviewadminlog'] = '1';

    // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
    // The users specified here will be allowed to remove ("prune") entries from the admin
    // log. See the above entry for more information on the format.
    $config['SpecialUsers']['canpruneadminlog'] = '1';

    // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
    // The users specified here will be allowed to run queries from the control panel.
    // See the above entries for more information on the format.
    // Please note that the ability to run queries is quite powerful. You may wish
    // to remove all user IDs from this list for security reasons.
    $config['SpecialUsers']['canrunqueries'] = '';

    // ****** UNDELETABLE / UNALTERABLE USERS ******
    // The users specified here will not be deletable or alterable from the control panel by any users.
    // To specify more than one user, separate userids with commas.
    $config['SpecialUsers']['undeletableusers'] = '';

    // ****** SUPER ADMINISTRATORS ******
    // The users specified below will have permission to access the administrator permissions
    // page, which controls the permissions of other administrators
    $config['SpecialUsers']['superadministrators'] = '1';

    // ****** DATASTORE CACHE CONFIGURATION *****
    // Here you can configure different methods for caching datastore items.
    // vB_Datastore_Filecache - for using a cache file
    // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
    // vB_Datastore_Memcached - for using a Memcache server
    // It is also necessary to specify the hostname or IP address and the port the server is listening on
    // $config['Datastore']['class'] = 'vB_Datastore_Memcached';
    // $config['Misc']['memcacheserver'] = '127.0.0.1';
    // $config['Misc']['memcacheport'] = '11211';

    // ****** The following options are only needed in special cases ******

    // ****** MySQLI OPTIONS *****
    // When using MySQL 4.1+, MySQLi should be used to connect to the database.
    // If you need to set the default connection charset because your database
    // is using a charset other than latin1, you can set the charset here.
    // If you don't set the charset to be the same as your database, you
    // may receive collation errors. Ignore this setting unless you
    // are sure you need to use it.
    // $config['Mysqli']['charset'] = 'utf8';

    // Optionally, PHP can be instructed to set connection parameters by reading from the
    // file named in 'ini_file'. Please use a full path to the file.
    // Example:
    // $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
    $config['Mysqli']['ini_file'] = '';

    // Image Processing Options
    // Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
    $config['Misc']['maxwidth'] = 2592;
    $config['Misc']['maxheight'] = 1944;
    Se può essere utile sono su server windows di Aruba con MySql 4.0.27

    Questo errore è già presente subito dopo l'installazione e continua a verificarsi anche con gli altri utenti importati con Impex col database del vecchio forum. A volte si verifica anche cliccando sul link: Nuove discussioni.

    Scusandomi per essere stato troppo prolisso vi porgo un cordiale saluto

  2. #2
    Account disattivato
    Data Registrazione
    Jul 2006
    Messaggi
    226
    Ciao Menhir

    Occhio soprattutto a queste voci:

    $config['Database']['dbname'] = 'Nome Database';
    $config['MasterServer']['servername'] = 'Qual'è l'indirizzo del tuo Host?';
    $config['MasterServer']['username'] = 'Nome Database';
    $config['MasterServer']['password'] = 'Password';
    Le altre lasciale invariate...:smile:

    Bye

  3. #3
    Ciao White.
    Le voci che mi hai segnalato le ho indicate giuste.
    Riesco a portare a termine l'installazione di vBulletin senza problemi, però ad installazione terminata o anche dopo aver importato con Impex il database del forum phpBB, se vado nel mio profilo personale, dove c'è scritto:

    MessaggiMessaggi totali: 17 (1.26 messaggi per giorno)
    Trova tutti i messaggi di menhir
    Cerca tutte le discussioni iniziate da menhir
    e clicco su trova tutti i messaggi o su tutte le discussioni, compare l'errore di MySql segnalato sopra. Non mi sembra per niente normale che compaia questo errore, sia a forum appena installato, quando c'è un unico utente, l'amministratore, sia in seguito dopo aver importato il database del forum phpBB e fatto le varie manutenzioni e sincronizzazioni.
    Sono bloccato.

  4. #4
    Ho fatto una prova.
    Ho cancellato tutto il forum, tanto sto facendo ancora pratica, ed ho reinstallato la versione 3.6.3 Risultato: l'errore del database è sparito.
    Ho fatto diverse prove. Errore sparito.

    Ho ri-cancellato la 3.6.3 ed installato ex-novo la 3.6.4
    Risultato: c'è di nuovo l'errore.

    A questo punto incomincio a pensare che non dipenda da un mio errore di configurazione, ma da un vero e proprio BUG.
    Invito quanti sono già passati alla versione 3.6.4 ad andare nel proprio profilo personale e cliccare su:

    MessaggiMessaggi totali: 17 (1.26 messaggi per giorno)
    Trova tutti i messaggi di User
    Cerca tutte le discussioni iniziate da User
    L'errore a me compare quando clicco su: Cerca tutte le discussioni iniziate da.

    Un cordiale saluto a tutti.

  5. #5
    Senior Member
    Data Registrazione
    Dec 2005
    Località
    Rome, Italy, Italy
    Messaggi
    945
    nessun bug io ho la 3.6.4 sia sul forum publico che su quello dove faccio prove e' va una meraviglia ciao


    quando di da l'errore clikka con il tasto dx del mouse e' vedi su quale table e' l'errore ciao

  6. #6
    Ciao Colin.
    Ho installato diverse volte la 3.6.4 portando a termine l'installazione.
    Il forum funziona in tutto, tranne ciò che richiede i permessi CHMOD 0777 non possibili su server windows.
    Però la versione 3.6.4 nonostante diverse installazioni mi da sempre errori quando clicco su: Nuovi Messaggi o Trova tutti i messaggi di ... o Tutte le discussioni iniziate da ... .
    L'errore è questo:

    Database error in vBulletin 3.6.4:

    Invalid SQL:

    REPLACE INTO vb3_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash, completed)
    VALUES (1, '82.53.24.47', 1, 'Pippo', '', 'post.dateline', 'DESC', 0.00061, 1, '1', 1164491834, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1;s:9:\" Pippo\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s :11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s :6:\"action\";s:7:\"process\";}}', '1bf65ca1474d7aea0824fd1d5bbaeb85', 1);

    MySQL Error : Unknown column 'completed' in 'field list'
    Error Number : 1054
    Date : Saturday, November 25th 2006 @ 10:57:15 PM
    Script : http://www.miosito.net/forum/search.php?do=finduser&u=1
    Referrer : http://www.miosito.net/forum/member.php?u=1
    IP Address : 82.**.**.47
    Username : Pippo
    Classname : vb_database
    La versione 3.6.3 installata e rimossa diverse volte, sullo stesso dominio e sullo stesso database, sembra essere immune da questo problema.
    Ringrazio anticipatamente chi riuscirà a svelare questo fastidioso mistero.
    Un cordiale saluto.

  7. #7
    Senior Member
    Data Registrazione
    Dec 2005
    Località
    Rome, Italy, Italy
    Messaggi
    945
    Errore di MySQL: La colonna sconosciuta “ha completato„ “nella lista del campo„

    secondo me non fa' l'upgrade in modo corretto prova dico prova a fare upgrade 3.6.4 al posto di upgrade.php solo per prova ripeto, qui deve intervenire il guru' y2ksw ciao

  8. #8
    No, non è un problema di upgrade. Io nelle prove sono sempre passato alla 3.6.4 con una installazione diretta, cioè cancellando completamente la 3.6.3 , cancellando completamente il database e procedendo ad una nuova installazione con la 3.6.4 .
    Ho ripetuto questo esperimento diverse volte, anche perchè devo fare pratica con questo forum che per me è del tutto nuovo.
    Prima di fare una migrazione definitiva dal phpBB voglio fare un po di pratica con vB e questa stranezza non la so spiegare.

  9. #9
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Potrebbe trattarsi di un problema di versione MySQL, che deve essere almeno 4.1.8 per funzionare (credo, vedi pagina download da vBulletin/members).

    Se non mi ricordo male avevo un problema del genere alla prima installazione delle versione 3.6.0.
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  10. #10
    La versione 3.6.3 l'ho installata e rimossa diverse volte, sullo stesso dominio e sullo stesso database MySql 4.0.27, in cui la 3.6.4 invece manifesta il problema. Come già detto ho ripetuto diverse volte e con molta attenzione l'installazione delle due versioni, cancellando sempre tutto prima della nuova installazione ex-novo. Non so più cosa pensare. Per il momento continuo a fare pratica del forum con quella con la versione 3.6.3 .
    Un cordiale saluto.

Pagina 1 di 2 12 UltimaUltima

Discussioni Simili

  1. vBulletin 3.6.x Messaggio di errore new post
    Di Asterix nel forum VBulletin 3
    Risposte: 4
    Ultimo Messaggio: 21-10-2006, 12:37
  2. vBulletin 3.5.x errore di trasferimento con impex
    Di baccaro nel forum VBulletin 3
    Risposte: 11
    Ultimo Messaggio: 19-10-2006, 11:19
  3. vBulletin 3.0.x Errore installazione
    Di Gamescircuits nel forum VBulletin 3
    Risposte: 1
    Ultimo Messaggio: 23-01-2005, 11:10
  4. errore ora/data nel portale vB.it
    Di mossss nel forum Agorà di vBulletin
    Risposte: 3
    Ultimo Messaggio: 04-01-2005, 19:42
  5. vBulletin 3.0.x Errore nell'installazione
    Di -DarkJ- nel forum VBulletin 3
    Risposte: 2
    Ultimo Messaggio: 13-12-2004, 13:46

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •