Risposte nei forum create
-
AutorePost
-
mariellaPartecipante
Grazie je92.
Ma non capisco dove.
Ti riporto di seguito il file index.php contenuto nella cartella wp-content/themes/twentyten (il tema che uso):
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
get_header(); ?>
<div id=”container”>
<div id=”content” role=”main”>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( ‘loop’, ‘index’ );
?>
</div><!– #content –>
</div><!– #container –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Grazie per l’aiuto
mariellaPartecipanteCiao ilsaro,
posso esporTi il modo in cui io ho risolto il problema ieri sera, col prezioso aiuto di wolly e DarkWolf.
Ho esploso il file compresso “wordpress_it_IT_3_0” in una cartella con lo stesso nome (ma puoi chiamarla come vuoi, per esempio la indichiamo col nome “mio_nuovo_WP”).
Nella cartella “wp-content” presente in “mio_nuovo_WP” ho aggiunto la subcartella “UPLOADS” del mio sito, già esistente in quanto realizzata con wordpress 2.9.2 ed archiviata per sicurezza sul mio pc (questa operazione è fondamentale, UPLOADS deve essere quella del tuo sito, con tutti i dati e gli allegati); ho inserito su “themes” il tema da me utilizzato e non presente nella cartella proveniente dal file originario “wordpress_it_IT_3_0”; analogamente per la cartella “plugins”.
In “mio_nuovo_WP” ho rinominato “wp-config-sample.php” come “wp-config.php”; vi ho sostituito le righe seguenti:
// ** Impostazioni MySQL – E’ possibile ottenere le impostazioni MySQL ** //
// ** dal proprio fornitore di hosting ** //
/** Il nome del database utilizzato per WordPress */
define(‘DB_NAME’, ‘database_name_here’);
/** Nome utente database MySQL */
define(‘DB_USER’, ‘username_here’);
/** Password database MySQL */
define(‘DB_PASSWORD’, ‘password_here’);
/** Nome host MySQL */
define(‘DB_HOST’, ‘localhost’);
/** Charset del database da utilizzare nella creazione delle tabelle. */
define(‘DB_CHARSET’, ‘utf8’);
/** Il tipo di Collazione de Database. Da non modificare se si hanno dei dubbi. */
define(‘DB_COLLATE’, ”);
con quelle presenti nel vecchio “wp-config.php” già realizzato con WP 2.9.2;
ho aperto la pagina indicata: https://api.wordpress.org/secret-key/1.1/salt/
ho selezionato tutto ed ho sostituito il contenuto al posto delle righe seguenti:
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
define(‘AUTH_SALT’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘NONCE_SALT’, ‘put your unique phrase here’);
più in basso, al di sotto di: define (‘WPLANG’, ‘it_IT’);
ho aggiunto le seguenti righe:
/**
* Riparazione permessi
*/
define(‘FS_CHMOD_FILE’,0755);
define(‘FS_CHMOD_DIR’,0755);
A questo punto, tramite Filezilla (o qualsiasi altro programma FTP analogo), ho cancellato quanto presente sul server Aruba e lo ho sostituito con l’intero contenuto della cartella “mio_nuovo_WP”, modificata come sopra descritto.
Alla fine, aggiornerai il database andando alla pagina:
http://www.TUOSITO.XXX/wp-admin/upgrade.php
E’ una operazione interamente manuale, certamente non la più breve o la più canonica, ma in questo modo tutto mi è funzionato alla grande.
Puoi anche vedere i problemi da me in precedenza riscontrati al post:
http://www.wpitaly.it/forum/topic/15208?replies=6
Ciao
mariellaPartecipanteGrazie.
Anche oggi ho appena verificato che il sito funziona perfettamente e posso accedervi da …/wp-login.php per le eventuali modifiche alle pagine.
Problema definitivamente risolto …!!!
mariellaPartecipantePerfetto!
Ho appena rieseguito un aggiornamento manuale, dopo aver preparato in locale tutto il materiale, la cartella wp-content con tema utilizzato e allegati vari, nonchè dopo aver modificato wp-config come da Voi indicato.
Pare che funzioni tutto a meraviglia! Grazie
Un’altra curiosità , o dubbio se preferite:
scaricando con Filezilla tutti i dati dal server al pc (giusto per avere sempre una copia “di scorta”), ho notato che non esiste più la cartella “cgi-bin” che ritrovavo ancora con WP 2.9.2.
Avrete capito che non sono un grande esperto (mi limito a tenere aggiornato un sito realizzato all’origine non da me), ma Vi chiedo: è normale o c’è da preoccuparsi?
Grazie ancora per il Vs. aiuto, prezioso e che è poco definire veloce!
-
AutorePost