Ciao a tutti,
ho bisogno del vostro aiuto, vi spiego il problema.
Ho trasferito il dominio presso altro fornitore, quando sono andato a caricare i file e il database nel nuovo hosting ho ottenuto un errore di questo tipo:
Error
The website encountered an unexpected error. Please try again later.
Error messagePDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'premioar_prove.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of /home/premioar/public_html/includes/lock.inc).
Uncaught exception thrown in shutdown function.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'premioar_prove.semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 82008730252ee0008b61206.44629329 ) in lock_release_all() (line 269 of /home/premioar/public_html/includes/lock.inc).
Qualcuno mi può aiutare, ho il sito bloccato :(
grazie!!!
Ciao,
ho risolto il primo problema in questo modo, ho aggiunto tramite phpmysql una tabella:
CREATE TABLE semaphore ( `name` VARCHAR(255) NOT NULL DEFAULT '', `value` VARCHAR(255) NOT NULL DEFAULT '', `expire` DOUBLE NOT NULL, PRIMARY KEY (name), INDEX expire (expire) ) /*!40100 DEFAULT CHARACTER SET UTF8 */
Però adesso ho ancora il sito bloccato e con questo errore:
Error
The website encountered an unexpected error. Please try again later.
Error messagePDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'premioar_prove.variable' doesn't exist: SELECT name, value FROM {variable}; Array ( ) in variable_initialize() (line 920 of /home/premioar/public_html/includes/bootstrap.inc).
lucasanna.eu
poi ho aggiunto la tabella mancante e ottengo un nuovo errore:
Error
The website encountered an unexpected error. Please try again later.
Error messagePDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'filename' in 'field list': SELECT name, filename FROM {system} WHERE status = 1 AND bootstrap = 1 AND type = 'module' ORDER BY weight ASC, name ASC; Array ( ) in system_list() (line 136 of /home/premioar/public_html/includes/module.inc).
Per favore qualcuno mi aiuti!
lucasanna.eu
Sei sicuro che l backup del DB non sia parziale? Non ne hai un'altra copia?
Sei sicuro che l'import del BD sia andato bene?
Vedi un po' se questo link può aiutarti.
Ciao
Ciao,
grazie per la risposta, nel frattempo ho risolto, manca un prefisso nel file settings.php che invece nel precedente era presente ( una svista) poi però ho divuto modificare anche il file .htaccess ed eliminare alcune parti che erano state aggiunte dal precedente fornitore hosting.
Grazie!
lucasanna.eu