Home › Forum › Plugin e temi di WP › Newbie in difficoltà con bbPress e Wiki
-
AutorePost
-
-
22 Settembre 2011 alle 20:03 #19227simiwazherePartecipante
ciao a tutti. premetto che sono appena approdata a wordpress.org e che quello su cui ho problemi è il mio primissimo sito.
host: Media Temple (Grid service: MySQL 5.1.26 – PHP 4 e 5 – Apache 2.0.54)
piattaforma: WP 3.2.1 (inglese)
plug-ins per i quali ho bisogno di aiuto: bbPress e Wiki
OS: mac os x 10.7.1
client FTP: Flow
il problema è piuttosto semplice. ho da poco installato WP sul mio dominio e sono ancora in fase di organizzazione e personalizzazione del template. ieri sera ho trovato i due plug-ins sopracitati. non ho alcuna dimestichezza coi database, pertanto, invece che installarli via FTP li ho aggiunti direttamente dalla dashboard e li ho opportunamente collegati al menu del sito.
ora, però, entrambe le pagine mi generano un errore che, a naso, dato che non me intendo, credo facciano riferimento a qualche informazione sbagliata su uno dei file .php del plug-in.
bbPress mi genera il seguente problema:
Catchable fatal error: Object of class WP_Error could not be converted to string in /nfs/c09/h03/mnt/134687/domains/inazione.com/html/wp-content/themes/insomnia/library/functions/extensions.php on line 80
wiki, questo:
Warning: Invalid argument supplied for foreach() in /nfs/c09/h03/mnt/134687/domains/inazione.com/html/wp-content/plugins/wordpress-wiki-plugin/wiki.php on line 630
avete idea di cosa possa aver provocato tali errori? in caso come dovrei procedere?
p.s. avrei un’altra domanda. è possibile fare in modo che gli URL delle pagine collegate ai plug-ins compaiano con una struttura tipo nomedominio/forum e nomedominio/wiki?
-
22 Settembre 2011 alle 21:15 #88356TittiModeratore
Per gli errori nello specifico non so, ma WP 3.2.1 richiede la versione PHP 5.2.4 o superiore, il warning potrebbe avere a che fare con questo.
-
22 Settembre 2011 alle 21:22 #88357simiwazherePartecipante
ciao e grazie. sulle specifiche ho messo php 4 e 5 perché il mio host li supporta entrambi, ma io ho installato wp con il one-click, quindi presumo che si sia auto-configurato con php 5. ripeto, immagino.
-
23 Settembre 2011 alle 7:43 #88362simiwazherePartecipante
ho individuato il problema per bbPress. a questa pagina è spiegato cosa fare per integrarlo in WP ma io non ho capito cosa devo editare nel file php indicato. qualcuno più esperto, please?
-
23 Settembre 2011 alle 8:04 #88363TittiModeratore
Post cancellato perché stavo segnalandoti la stessa pagina, letto tutti gli altri link a destra prima?
@ edit: La funzione a cui ti riferisci tu è opzionale, non credo c’entri con il primo, normale funzionamento.
Comunque dice che devi inserire il comando require_once(dirname(__FILE__) . ‘/../wp-load.php’) mettendo il tuo percorso a wp-load.php, nel file bb-config.php, se il folder di bbPress è direttamente dentro il folder di WP, wp-load.php è nella stessa directory in cui sta il wp-config.php di WP
-
23 Settembre 2011 alle 11:50 #88369TittiModeratore
ma io ho installato wp con il one-click, quindi presumo che si sia auto-configurato con php 5
Se è una versione compresa tra la 5.0.0 e la 5.2.3, non va bene.
-
23 Settembre 2011 alle 18:05 #88374simiwazherePartecipante
parla anche di cookies e di assegnazione dei ruoli utenti. continuo a non capire cosa debba modificare. per il discorso della versione php, ammettendo la mia totale ignoranza in merito, non so quanto c’entri, nel senso che il resto del sito e gli altri plug-ins funzionano a dovere, quindi penso che la release in uso sia corretta. spero, almeno
se riuscissi a spiegarmi meglio cosa modificare esattamente, mi faresti un gran favore. diversamente, grazie mille comunque.
-
24 Settembre 2011 alle 10:12 #88389TittiModeratore
Io se vuoi te lo rispiego, cosଠcome l’ho letto là , ma come detto non credo c’entri, anche se io non ho mai installato bbPress e quindi non posso essere sicura.
Prima, però, dovresti fare le prove per escludere che si tratti di incompatibilità con il tuo tema o con qualche altro plugin, o fra loro due. Quindi dovresti impostare il tema di default di WP e disattivare tutti i plugin. Poi ne attivi uno alla volta, bbPress o wiki prima, e vedi come si comportano da soli e con il tema standard.
Intanto fai queste prove necessarie.
P.S.: Per la versione PHP ho guardato, ho visto che usano la 5.2.17 e quindi va bene, il problema è che è elencato anche il PHP 4.4.9 tra i software usati dal Grid-service, e quindi non riesco a capire quale effettivamente gira sul tuo server: potresti controllare, tanto per escludere.
Molto probabilmente il problema non è quello, dati il tipo di errori e trattandosi di Media temple, però tanto per essere sicuri non costa niente controllare quale delle due versioni gira, o no?
-
24 Settembre 2011 alle 18:40 #88404simiwazherePartecipante
la prima parte della tua risposta, l’avevo già messa in conto ma non va nemmeno coi due temi base. bbpress offre anche una versione specifica del tema ‘twentyten’ ma la situazione non cambia nemmeno in quel modo. ho disinstallato i due plug-ins e li ho reinstallati separatamente via FTP. nulla di fatto. ora wiki non l’ho proprio più ma bbpress da solo continua a generare quell’errore. boh.. non so più che fare.
versione php in uso: 5.2.17.
-
24 Settembre 2011 alle 19:54 #88406TittiModeratore
E io non so che dire, mi dispiace. Questo forum è bbPress (anche se una vecchia versione), e spero che possano aiutarti gli amministratori.
Ho cercato nel forum di bbPress e ho trovato questo. Lo lascio più che altro per conoscenza, perché non so se ti conviene provare, dato che in quel caso è un’installazione MU e poi si tratta di andare vicino al DB.
P.S.: per quanto riguarda quel che chiedevi a proposito del comando require_once… si dice che devi inserirlo nel file bb-config.php.
Tra gli apici ‘ ‘ devi inserire il percorso assoluto al file wp-load.php.
Il percorso lo puoi vedere collegandoti al server ad esempio con Filezilla (o il programma che usi abitualmente).
Si tratta però di una funzione opzionale, e in fondo dice anche che aggiunge peso all’installazione, perché WP dovrà caricarlo nella sua interezza; prova se vuoi ma non credo che risolva il tuo problema.
-
25 Settembre 2011 alle 12:13 #88413simiwazherePartecipante
ok
non preoccuparti. in qualche modo si risolverà . magari andrò avanti col resto, nel frattempo. io, per ora, ti ringrazio per la disponibilità . ciao titti.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.