Home › Forum › Problemi Vari con WP › Ho fatto una fesseria!!!
-
AutorePost
-
-
12 Giugno 2008 alle 16:34 #6966webmasterworkPartecipante
Smanettando su un mio sito con wp, dotato di un forum phpbb che si poteva raggiungere cliccando sulla pagina forum, ho sostituito:
Indirizzo di WordPress (URL): http://www.miosito.it
Indirizzo del blog (URL): http://www.miosito.it
con
Indirizzo di WordPress (URL): http://www.miosito.it/forum
Indirizzo del blog (URL): http://www.miosito.it/forum
Ora non riesco più ad accedere alla home del blog…
e nemmeno a http://www.miosito.it/wp-admin !!!!!!!!!!!!
Sono disperato! Help me! please!
-
12 Giugno 2008 alle 16:38 #54658SteveAglAmministratore del forum
-
12 Giugno 2008 alle 16:59 #54659webmasterworkPartecipante
Sostituito ma mi da questo errore…
Parse error: syntax error, unexpected T_STRING in /home/mhd-01/www.librieappunti.it/htdocs/wp-config.php on line 4
-
12 Giugno 2008 alle 17:42 #54660SteveAglAmministratore del forum
bhe la riga numero 4 di un file config è:
define(‘DB_USER’, ‘usernamehere’); // Il vostro username MySQL
quindi non è una delle righe inserite ovviamente… oppure hai incollato male.. magari incollare qua la riga 4 aiuterebbe… non avendo le sfere di cristallo…
-
13 Giugno 2008 alle 6:19 #54678webmasterworkPartecipante
Scusa ma forse non ho capito bene…
Io prendo queste stringhe
define(’WP_SITEURL’, ‘http://www.librieappunti.it’);
define(’WP_HOME’, ‘http://www.librieappunti.it’);
e le aggiungo al file wp-config.php.
MA DOVE?
<?php
// ** Impostazioni MySQL ** //
define(‘DB_NAME’, ‘xxxxxxxxxxxxx’); // Nome del database
define(‘DB_USER’, ‘xxxxxxxxxxxxxx’); // Il vostro username MySQL
define(‘DB_PASSWORD’, ‘xxxxxxxxxxx’); // …e la password
define(‘DB_HOST’, ‘xxxxxxxxxxx); // al 99% non dovrebbe esserci necessità di modificare questo valore
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
define(‘WP_SITEURL’, ‘http://www.librieappunti.it’);
define(‘WP_HOME’, ‘http://www.librieappunti.it’);
// Modifica SECRET_KEY in una frase unica. Non la si dovrà ricordare in seguito,
// quindi fatela lunga e complessa. Si può visitare http://api.wordpress.org/secret-key/1.0/
// per avere una frase generata automaticamente oppure crearne una manualmente.
define(‘SECRET_KEY’, ‘inserire una frase univoca’); // cambiare in una frase univoca.
// Se si hanno installazioni multiple su un singolo database dovrete assegnare a ciascuna un prefisso univoco
$table_prefix = ‘wp_’; // Solo numeri, lettere e sottolineature!!
// Modificate questa voce per localizzare WordPress. Occorre che sa presente
// il file .MO della lingua scelta all’interno di wp-content/languages.
// Ad esempio, installare de.mo in wp-content/languages ed impostare WPLANG a ‘de’
// per abilitare il supporto alla lingua Tedesca.
define (‘WPLANG’, ‘it_IT’); // Già impostato per la lingua italiana
/* Niente altro, configurazione terminata! Buon blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
-
13 Giugno 2008 alle 7:59 #54681SteveAglAmministratore del forum
Gli apici diq uelle righe sono diversi all’inzio e alla fin, rimettili tutti uguali.. e hai risolto.
PS: sei lo stesso con cui sto parlando nei commenti dell’articolo? Se si… ti pregherei di dcidere dove scrivere.
-
13 Giugno 2008 alle 8:53 #54682webmasterworkPartecipante
Si scusa…
Comunque nel frattempo devo aver manomesso il database…
Perchè ora mi da un errore:
Parse error: syntax error, unexpected T_STRING in /home/mhd-01/www.librieappunti.it/htdocs/wp-config.php on line 2
-
13 Giugno 2008 alle 9:03 #54683SteveAglAmministratore del forum
continui ad avere errori sul file di config… e direi che sono sempre di sintassi virgolette, punti e virgola etc… prendi una copia di backup è meglio.
-
13 Giugno 2008 alle 9:51 #54684webmasterworkPartecipante
Purtroppo dopo aver incasinato il database, o deciso di rifare dtutto da capo…
Ho già creato un nuovo db, reinstallato wp ed anche phpbb.
Tanto era un sito all’inizio
Grazie comunque per la disponibilità .
Ci risentiremo di sicuro.
Mircko.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.