Home › Forum › Problemi Vari con WP › Division by zero in /template-functions-links.php
-
AutorePost
-
-
22 Gennaio 2007 alle 9:40 #2985FraniusPartecipante
Ciao a tutti,
sono nuovo da queste parti e ho da poco scoperto WP.
La mia intenzione e’ di usarlo come CM per il mio sito dedicato a Gundam (o meglio per la v2 di tale sito).
Ho un hosting “doppio” windows/linux su aruba e ho installato WP (ho appena fatto l’aggiornamento alla 2.0.7).
Dopo aver cominciato a popolare il sito (e assegnato le diverse categorie ai diversi articoli) ho provato a effettuare qualche ricerca sia inserendo una parola chiave nel form apposito, sia “navigando” nelle categorie.
Il problema e’ questo: nell’elenco delle categorie (nella sidebar a destra) mi mostra il numero di articoli presenti per ciascuan categoria, ma la ricerca non fornisce nessun risultato.
Ho disattivato tutti i plug-ing e rimesso il tema di default, ma niente, il problema rimane.
A seconda del tema utilizzato mi da l’errore:
Warning: Division by zero in /web/htdocs/www.universalcentury.it/home/WP/wp-includes/template-functions-links.php on line 513
oppure semplicemente la ricerca non fornisce nessun risultato.
Ho gia’ provato a reinstallare WP, ma anche questo non e’ servito a niente.
Il sito (in costruzione) si trova http://lnx.universalcentury.it/
In pratica il mio obiettivo e’ di trasportare il sito “standard” (in HTML tanto per capirci) che si trova http://www.universalcentury.it “dentro” WP sfruttando la possibilita’ di assegnare una o piu’ categorie agli aerticoli…
Grazie in anticipo per tutti i suggerimenti/consigli che saprete darmi.
Francesco
-
22 Gennaio 2007 alle 10:30 #42963wollyAmministratore del forum
Prova ad andare in opzione ->lettura e guarda quanti post per pagina mostri.
Se hai 0 forse potrebbe essere quello il problema.
Ho provato a mettere 0 ma non mi accetta il valore , potrebbe quindi essere un problema su db.
ciao
wolly
-
22 Gennaio 2007 alle 10:49 #42964wollyAmministratore del forum
Altra prova , forse più efficace :
scaricati di nuovo da questo sito wp.
Cancella il file template-function.php in wp-include
e poi riuploda lo il file scaricato.
Se tutto va ok, altrimenti cancella tutti i files di wp (eccetto quelli modificati , plugins e temi) e riuploada tutto .
Mi raccomando di cancellare prima NON di sovrascrivere.
ciao
wolly
-
22 Gennaio 2007 alle 10:55 #42965FraniusPartecipante
Ok, a quanto pare era proprio quello!
Grazie mille!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.