Home › Forum › Installazione WP › Parse error in wp-admin/index.php
-
AutorePost
-
-
19 Febbraio 2015 alle 10:49 #29020albros88Partecipante
Salve ho tentato di migrare un sito e alla fine della procedura, quando tento di accedere a wp-admin, mi compare questo errore:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/vinokkyy/public_html/wp-admin/index.php on line 103
La riga 103 di quel file è questa:
$hide = 0 == $option || ( 2 == $option && wp_get_current_user()->user_email != get_option( ‘admin_email’ ) );
Qualcuno può aiutarmi? Grazie!
Albe
-
19 Febbraio 2015 alle 11:05 #116132SteveAglAmministratore del forum
ricaricare TUTTI i file di WP tramite FTP è il primo passo.
-
19 Febbraio 2015 alle 11:32 #116133albros88Partecipante
Grazie Steve, sto procedendo.
Intanto che carico i file, una domanda: potrebbe anche dipendere dalla versione di PHP che ho sull’hosting server? Ho controllato, ed è la 5.3.27
-
19 Febbraio 2015 alle 12:48 #116135albros88Partecipante
Ho ricaricato tutti i file di WP (ah, prima non ho detto che avevo già disattivato tutti i plugin e attivato il tema standard): niente da fare, stesso errore di prima.
Sono nei guai….
Albe
-
19 Febbraio 2015 alle 13:17 #116136albros88Partecipante
…ora mi dà questo errore:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 311296 bytes) in /home/vinokkyy/public_html/wp-content/themes/dt-the7/inc/shortcodes/js_composer_bridge.php on line 925
Contattato l’hosting, mi dice che hanno una politica restrittiva sugli spazi a disposizione e qui c’è un problema di risorse.
Che fare? Mi sa che devo cambiare hosting…
-
19 Febbraio 2015 alle 14:00 #116137SteveAglAmministratore del forum
avranno 32MByte di massimo spazio per esecuzione PHP che mi pare un pochino ridicolo… e ovviamente NON è un problema di WP eo rnci a qualch plugin o si cambi hosting, magari questo costa poco, ora sai perchè.
-
19 Febbraio 2015 alle 14:21 #116140albros88Partecipante
sà¬, ho la conferma del perché costava poco (anche se comunque nella media…): 32 mb di memoria.
Grazie di tutto.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.