Home › Forum › Questo Forum › SOLUZIONE PER L’ERRORE NELLA 2.3 WP_POST2CAT DOESN’T EXIST
-
AutorePost
-
-
26 Settembre 2007 alle 8:30 #4653wollyAmministratore del forum
Se hai un database error come questo:
WordPress database error: [Table ‘wp_post2cat’ doesn’t exist]
SELECT p2c.category_id AS cat_id, COUNT(p2c.rel_id) AS numposts, UNIX_TIMESTAMP(max(posts.post_date_gmt)) + ‘8’ AS last_post_date, UNIX_TIMESTAMP(max(posts.post_date_gmt)) AS last_post_date_gmt FROM wp_post2cat p2c INNER JOIN wp_posts posts ON p2c.post_id=posts.id WHERE 1 = 1 AND posts.post_type = ‘post’ AND posts.post_status = ‘publish’ AND posts.post_date_gmt <= ‘2007-09-19 12:08:25’ GROUP BY p2c.category_id ORDER BY numposts DESC
o come questo:
WordPress database error: [Table ‘wordpress.wp_post2cat’ doesn’t exist]
SELECT c.cat_name FROM wp_post2cat p2c INNER JOIN wp_categories c ON p2c.category_id = c.cat_id WHERE p2c.post_id = 218
o come questo:
WordPress database error: [Table ‘wordpress.wp_post2cat’ doesn’t exist]
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = ‘publish’ GROUP BY cat_ID
o qualsiasi altro database error che indica wp_post2cat o wp_categories, stai usando un plugin o un tema che NON E’ compatibile con WordPress 2.3.
Prima di postare , per favore controlla più volte che i tuoi plugin e i tuoi temi siano compatibili.
-
26 Settembre 2007 alle 18:29 #46914ilmatte81Partecipante
A me da questo errore…
WordPress database error: [Table ‘NOMEMIODATABASE.wp_categories’ doesn’t exist]
SELECT SQL_CALC_FOUND_ROWS * FROM wp_categories WHERE category_parent = ‘0’ ORDER BY cat_name LIMIT 0, 50
Tema di default e tutti i plugin a posto e aggiornati. Cosa devo fare? Ho provato a creare (vuota) una nuova tabella wp_categories ma poi mi da un altro errore…
-
26 Settembre 2007 alle 18:59 #46918wollyAmministratore del forum
Utilizzi o un plugin o un tag nel tema non compatibile , perchè richiama la tabella wp-categories che è stata eliminata.
Probabilmente è una visulaizzazione nella sidebar delle categorie che non usa le API ma una query diretta al database.
ciao
-
26 Settembre 2007 alle 19:04 #46919ilmatte81Partecipante
Ho trovato ora che il maledetto plugin category overload che mi ero scordato esistesse era attivo…
Mea culpa!! Anche se ora ho perso tutte le categorie e le associazioni con i post, me misero!!!
-
26 Settembre 2007 alle 19:16 #46921wollyAmministratore del forum
In teoria con l’aggiornamento le categorie e le associazioni non dovresti averle perse, sul mio blog , fortunatamente, non è successo
-
26 Settembre 2007 alle 19:23 #46922ilmatte81Partecipante
Associazioni categorie-post perse, tag-post invece son rimaste… Infatti ora ho abbandonato completamente le categorie per i tag!
-
30 Settembre 2007 alle 1:31 #47020TraffykPartecipante
Ragazzi suggerirei a tutti di provare a modificare le chiamate via query preferendo invece quelle tramite api di wordpress dei plugin che proprio non ne vorreste fare a meno. Il codex di wordpress.org è molto utile ed lo consiglio a tutti, naturalmente per una modifica di questo genere non posso assicurarvi il successo tutto dipenderà dalla vostra abilità di coder e fattibilità della soluzione..
Detto questo Wolly e Brown ho fatto un UP più bello del vostro TIè!!! ehehehhee
LOOOL
-
30 Settembre 2007 alle 15:10 #47035SteveAglAmministratore del forum
Ragazzi suggerirei a tutti di provare a modificare le chiamate via query preferendo invece quelle tramite api di wordpress dei plugin che proprio non ne vorreste fare a meno.
non ho capito, puoi fare un esempio?
-
4 Ottobre 2007 alle 14:01 #47140abumixPartecipante
Ho il seguente errore
WordPress database error: [Table ‘Sql…….wp_categories’ doesn’t exist]
SELECT * FROM wp_categories
Se disattivo tutti i plugin e metto il template standard il problema rimane
-
4 Ottobre 2007 alle 14:27 #47144wollyAmministratore del forum
metti un link al tuo blog perchè se tutti i plugn sono disattivati e c’è il tema standard la cosa è impossile
-
22 Ottobre 2007 alle 21:40 #47505alekos72Partecipante
bingo! il plugin che mi va in conflitto è, udite udite, Google site map 2.7.1 ( che dovrebbe essere l’ultima versione )
che faccio? mi sparo o mi impicco?
-
22 Ottobre 2007 alle 22:05 #47506wollyAmministratore del forum
la 3.0 è l’ultima versione ed è compatibile
-
23 Ottobre 2007 alle 7:11 #47508alekos72Partecipante
grazie!!!!!
-
4 Novembre 2007 alle 11:05 #47723lupos99Partecipante
io ho per il plugin google sitemap la versione 3.0b ma continua a darmi errore quando l’attivo
-
4 Novembre 2007 alle 17:25 #47725wollyAmministratore del forum
che errore ti da ?
-
18 Novembre 2007 alle 0:06 #47995TraffykPartecipante
http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/
è alla versione 3.0.1, ma comunque anche con le precedenti non mi è parso mai di avere qualche problema, sicuro che è un problema di questo plugin davvero strana la cosa.
-
26 Novembre 2007 alle 18:10 #48256MartinBkPartecipante
Ho lo stesso errore ma solo nella pagina di ricerca (search.php): problema di tema non compatibile?
Non ci sono plugin particolari solo per la ricerca…
-
26 Novembre 2007 alle 19:28 #48258wollyAmministratore del forum
metti un link al blog.
possono essere molti i motivi, di base c’è qualcosa nel tuo tema o nei tuoi plugin che richiamano le tabelle che non esistono più
-
26 Novembre 2007 alle 19:45 #48260SteveAglAmministratore del forum
Ho lo stesso errore ma solo nella pagina di ricerca (search.php): problema di tema non compatibile?
Non ci sono plugin particolari solo per la ricerca…
Visto che i richiami alla tabella post2cat in WP 2.3 non ve ne sono poiché la tabella è stata eliminata, si tratta per forza o di una funzione del tema o di qualche plugin, quindi si inizia a mettere il tema standard, si prova, se il problema scompare è il tema (vedere sul sito dello sviluppatore del tema se ne esiste una versione aggiornata o segnalare la cosa per vedere se ha una soluzione, per noi è impossibile conoscere e/o provare tutti i temi).
Se il problema persiste, rimettere il tema originale e disattivare un plugin alla volta e verificare se il problema sparisce, una volta identificato il plugin “colpevole” comportarsi come per il tema.
WordPress NON può essere al 2000%
-
27 Novembre 2007 alle 23:12 #48290frese2000Partecipante
Anche io avevo un msg di errore come nel primo post …
Ho risolto installando la versione 3.0.2 di Google XML Sitemaps Generator for WordPress
ciao
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.