Risposte nei forum create
-
AutorePost
-
salvomicPartecipante
ok, grazie SteveAgl!
provo
salvomicPartecipanteSviluppi:
non sono il solo ad avere questo problema:
sul forum di supporto: <http://wordpress.org/support/topic/155883>
qualcuno individua problemi nei files /includes/script-loader.php e wp-db.php con alcuni server.
Provato, come si consiglia, a commentare la riga 263 di wp-db.php, ma non cambia nulla.
Si suggerisce anche di sostituire (provvisoriamente) il file script-loader.php della 2.3 all’attuale (2.3.3), ma io non ce l’ho.
Dovrei fare la prova. Ma mi sto demoralizzando un po’, sigh.
ciao
salvo
salvomicPartecipantegrazie!
salvomicPartecipante…continuano le prove (abbiate pazienza):
Provando ad installare sullo stesso server e dominio WP 2.2 (con gli stessi dati del wp-config del WP 2.3.3 che vorrei installare) ottengo la creazione delle tabelle, ma i sottostanti warning, che magari possono aiutarci a capire cosa non va nel mio server o nella sua configurazione PHP.
Spero vogliate aiutarmi a capire, grazie
Ah, i warning compromettono qualcosa?
ciao
—
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in …/blog/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in …/blog/wp-includes/capabilities.php on line 192
Warning: array_keys() [function.array-keys]: The first argument should be an array in …/blog/wp-includes/capabilities.php on line 235
Warning: array_reduce() [function.array-reduce]: The first argument should be an array in …/blog/wp-includes/capabilities.php on line 235
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /…/blog/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in …/blog/wp-includes/capabilities.php on line 192
salvomicPartecipanteSalve,
rispondo ad entrambi, intanto con un grazie per la consulenza.
Per quanto riguarda l’errore suddetto ho anche toppato io, infatti avevo messo la riga “error_reporting(E_ALL);” subito all’inizio del file wp-config.php seguita da un echo, e ovviamente questo genera un header prematuro, scusate la sciocchezza, ehm.
Al momento non posso intervenire in php.ini, quindi penso di mettere l’error_reporting da qualche parte e vedere se spuntano errori (ma in effetti non ne spuntano mica).
Il wp-config.php, escludendo quelle cose, è come tanti altri, niente di più, e niente righe vuote prima e dopo i tags php.
Non voglio mica dare la colpa *ipso facto* a WP, ovvio, ma capire se ci sono idiosincrasie con la nuova versione, nel mio caso, visto che le vecchie funzionano bene (anche con lo stesso wp-config).
grazie, ciao
salvomicPartecipantehola,
mettendo “error_reporting(E_ALL);” nel file di configurazione ho ottenuto questo errore:
Warning: Cannot modify header information – headers already sent by (output started at /home/******/www/blog/wp-config.php:4) in /home/*******/www/blog/wp-includes/pluggable.php on line 390 (
header("Location: $location");
)
riporto sotto il blocco che contiene la riga 390 di pluggable.php
intanto, che ne pensate?
salvo
---
// Cookie safe redirect. Works around IIS Set-Cookie bug.
// http://support.microsoft.com/kb/q176113/
if ( !function_exists('wp_redirect') ) :
function wp_redirect($location, $status = 302) {
global $is_IIS;
$location = apply_filters('wp_redirect', $location, $status);
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;
$location = wp_sanitize_redirect($location);
if ( $is_IIS ) {
header("Refresh: 0;url=$location");
} else {
if ( php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location");
}
}
endif;
salvomicPartecipanteProvato oggi, ma non cambia. Però proverò di nuovo, chissà …
A quanto pare non sono il solo ad avere avuto questi problemi: guardate qui
<http://wordpress.org/support/topic/154648>
problemi connessi non solo a PHP5, ma anche a MySQL5 (ed è questo il mio caso)
però uno dice di averli avuti con la 2.3.1 e 2.3.2 e …risolti con la 2.3.3 (quella che non va qui…)
grrrr, che mistero!
salvo
salvomicPartecipanteD’accordo, farò la prova, appena risistemo mySQL sul mio Mac.
Intanto ho fatto anche questa prova: installata la versione 2.2 di WP con gli stessi dati, e funziona, l’installazione parte, ecc…
Dunque???
Che c’è di nuovo in 2.3.3 che non va, con la stessa configurazione?
Capita solo a me questo problema?
Ah, ho preso ovviamente qui la distribuzione: <http://www.wpitaly.it/wiki/Main/WordPressInItaliano>
ciao
salvo
salvomicPartecipantethanks mrbrown, potrei pure fare cosଠ(e forse lo farò pure), ma mi interessa capire come fare a installare il blog direttamente sul server, visto che ne devo installare anche altri, poi.
Perché le versioni precedenti si sono installate (non ho mica cambiato nulla, intanto) e questa no?
Qualcosa che interagisce male? Tornerei a pensare a qualche configurazione di PHP5…
@ wolly
abbiamo aumentato memory_limit a 32 mb, ma non cambia nulla
salvo
salvomicPartecipanteAggiungo altri elementi.
Tanto per essere precisi, ho creato – sempre dentro la cartella del blog – un piccolo script per creare una tabella nel database (con gli stessi dati, utente, password, ecc…). Tutto ok: l’utente ha i permessi giusti, crea la tabella ecc…
Allora perché non funziona con gli script di WP?
Escluso, quindi, che utente, password, database (e quindi configurazione di wp-config.php) siano errati, esclusa la mancanza dei permessi dell’utente per il DB.
Sono dunque problemi di WP? Spero di no
salvo
-
AutorePost