Home › Forum › Problemi Vari con WP › PROBLEMA CON CONTACT FORM 7
-
AutorePost
-
-
6 Giugno 2012 alle 15:18 #21843monalisaPartecipante
Salve io ho installato il plug-in Contact Form 7 di wordpress e ho seguito le istruzioni.
Ho copiato il codice da inserire nella mia pagina e il risultato è questo:
[contact-form-7 404 “Not Found”]
che significa? potete aiutarmi?
Forse il problema è che sto lavorando in locale?
Aiutatemi a risolvere questo dramma per favore!
-
6 Giugno 2012 alle 15:41 #96010TittiModeratore
àˆ evidente che hai usato uno shortcode sbagliato. Leggere le istruzioni dei plugin che s’installano è sempre utile
-
6 Giugno 2012 alle 20:24 #96014monalisaPartecipante
penso sia il mio tema o la versione di wordpress perchè io non ho questo
First, open the ‘Contact’ > ‘Edit’ menu on your WordPress administration panel.
Io non ho i contatti nel pannello amministrativo. Forse è il tema non so… pensi che posso programmarlo io in php?
-
6 Giugno 2012 alle 22:59 #96015TittiModeratore
1) Non posso sapere che tema o versione di WP o di plugin tu abbia, sei tu che devi dirlo. In ogni caso m’interessa relativamente dato che è impossibile far supporto su vecchie versioni, quindi il presupposto di partenza di chi risponde è sempre che il problema si presenta su versioni aggiornate (WP, temi e plugin), salvo diverse indicazioni. àˆ chi chiede che deve fornire le indicazioni necessarie per capire la situazione, cosa che tu non hai fatto, e ti invito a leggere “Usare forum di supporto” in home page. Da quello che (non) hai detto potrebbe anche essere che non hai ancora usato o verificato il funzionamento di WP a livello di default, quindi figurati, tutto può essere.
2) Forse è quella guida a non essere aggiornata, cioè le voci del menu non sono più quelle, ma la sostanza non cambia: lo shortcode da inserire nella pagina dev’essere una cosa tipo [contact-form-7 id=”6008″ title=”Modulo di contatto 1″]
Se hai installato l’ultima vers. del plugin nel menu laterale dell’admin di WP avrai la voce CF7, dalla quale accedi alla pagina in cui preparare il tuo form, lo shortcode si formerà di conseguenza e lo incollerai dove credi.
Ripeto, se ti dà pagina non trovata è quasi certamente perché hai sbagliato shortcode, ma come dicevo in mancanza di altre informazioni non ti si può dire altro. Se davvero ti manca qualsiasi riferimento al settaggio del plugin nel menu, allora significa che non c’è, cioè non è stato correttamente installato.
3) Certamente non hai bisogno del plugin se sai di PHP e jQuery e puoi farlo tu a mano come ti pare, creando un template in cui inserire il codice necessario, che ovviamente oltre a stampare il form dovrà processare i dati, inviare e-mail e prevedere gli errori di inserimento, cioè tutti quei messaggi da mostrare all’utente… ma se lo chiedi ho idea che tu non sia in grado, o perlomeno che tu non sappia ancora come funziona WP.
-
7 Giugno 2012 alle 7:35 #96019monalisaPartecipante
scusate tutte le cose che non ho detto. Rimedio adesso.
La versione di wp che ho installato sul pc è 3.3.2, mentre il tema è Purple Pastels 6.16 di Mel Pedley.
Ho diversi plug-in installati, ma ho provato a disattivarli tutti lasciando solo Contact Form 7, pensando ci fosse qualche conflitto.
Per quanto riguarda lo shortcode, ho copiato nella mia pagina Contatti il codice che mi ha generato Contact Form 7: [contact-form-7 id=”245″ title=”Contattami_copy”], ma l’errore resta sempre questo: [contact-form-7 404 “Not Found”]… sembra come se mancasse qualcosa, ma non riesco a capire cosa!
spero di aver dato tutte le informazioni che servono!
grazie e scusate ancora se non ho scritto prima tutto ciò
-
7 Giugno 2012 alle 8:15 #96020TittiModeratore
Prima prova: Io credo che il tuo shortcode debba essere cosà¬: [contact-form-7 id=”245″ title=”Modulo di contatto 1″]
Da dove lo prende quel Contattami_copy? E controlla che il numero di id corrisponda, lo vedi in alto nella barra degli indirizzi.
Seconda: Riprova a disattivare tutti i plugin e a mettere il tema di default. Pulisci la cache compreso i cookie e controlla. Se funziona, riattiva i plugin uno ad uno fino a trovare quello che causa l’errore. Se non sono i plugin, potrebbe essere il tema, prova quindi a rimettere il tuo. Potrebbero mancare le chiamate <?php wp_head(); ?> in header.php prima della chiusura </head> e <?php wp_footer(); ?> prima della chiusura </body>
-
7 Giugno 2012 alle 11:18 #96021monalisaPartecipante
ho fatto tutto quello che mi hai detto. Ho anche cambiato diversi temi… ma nessuno di loro chiude ha il codice <?php wp_footer(); ?> e non viene chiuso il body.
ho provato ad aggiungere e a chiudere i tag aperti ma niente…
Se dovessi creare il codice devo fare una pagina a parte e poi la inserisco nella pagina? o posso programmare direttamente nella mia pagina contatti e metto tutto li?
-
7 Giugno 2012 alle 11:21 #96022monalisaPartecipante
lo sai cosa fa? se lo pubblico negli articoli me lo fa vedere altrimenti se lo pubblico nelle pagine no…. Come posso fare per averlo in una pagina il form? devo importarmi l’articolo?!
o.o
-
7 Giugno 2012 alle 14:44 #96024TittiModeratore
Controlla se nel template della pagina del tema che usi ci sono quelle chiamate, <?php get_header(); ?> e <?php get_footer(); ?>
Stai dicendo che anche con il tema di default (twentyeleven o twentyten) e a plugin disattivati mettendo lo shortcode giusto in una Pagina il form non si vede?
-
7 Giugno 2012 alle 20:55 #96028monalisaPartecipante
ho provato con diversi temi e nella pagina quel codice non si vede. Poi mi è venuto un dubbio.
Alcuni plug-in funzionano solo negli articoli cosଠho provato a inserire il codice nell’articolo e funziona.
Adesso io mi chiedo, sono strana io o sto plug-in non funge come si deve?!
-
7 Giugno 2012 alle 21:40 #96030TittiModeratore
Il plugin non è il massimo per altri aspetti che non ti sto a dire, ma a me ha sempre funzionato.
Quindi direi che forse sei “strana” tu a non chiarire come va non con “diversi” temi ma con quello di default, e probabilmente sono strani il tuo tema e il template di pagina.
àˆ anche molto strano che non funzioni a plugin disattivati e con il tema twenty-eleven, ma se è cosà¬, cerca un altro plugin per contact form.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.