Problemas tras actualizar Wordpress: categorías y tags incompletos

  • Autor Autor Alevsk
  • Fecha de inicio Fecha de inicio
A

Alevsk

Gamma
Programador
Hola amigo, en esta ocacion recurro a usuarios con experiencia en wordpress, hace como 2 semanas actualize mi blog a la ultima version via el panel de administr, pero al parecer ocurrio un error por cuestiones de permisos que dejo mi blog des habilitado, lo arregle y actualize manualmente, actualize la base de datos y restaure mi backup, todo parecia bien, sin embargo me he dado cuenta que las categorias, búsqueda la pagina de cada tag aparece incompleta, el fin de semana planeo repararlo de una vez por todas, pero queria ver si ha alguien le ha sucedido algo similar y lo ha podido reparar para este sábado saber donde esta el problema exactamente 🙂

Ejemplo de pagina que se ve incompleta

salu2
 
Por qué no activas el mode debug en tu archivo de configuración. Algo impide que WP siga creando la página. Puede ser un plugin o la falta de una tabla...

Activa el debug y verás todos los errores y advertencias, eso te dará mas luz para saber que arreglar.
 
Gracias a los 2 por responder, voy a ver lo del archivo de configuracion en un momento, por lo pronto aqui esta el contenido del single.php

Insertar CODE, HTML o PHP:
    <?php get_header(); ?>
		<div id="content">	
                <?php include_once(TEMPLATEPATH . '/topbanner.php'); ?>	
					<?php if (have_posts()) : ?>	
						<?php while (have_posts()) : the_post(); ?>
						<div <?php post_class('clearfix') ?> id="post-<?php the_ID(); ?>">
							<h1 class="title"><?php the_title(); ?></h1>
							<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:400px; height:40px"></iframe>	
							<div class="postdate">
                                <span class="calendar"><?php the_time('F jS, Y') ?></span> 
                                <span class="comment"><?php comments_popup_link('No hay comentarios', '1 Comentario', '% Comentarios'); ?></span> <?php edit_post_link('Editar', '', ' '); ?>
                            </div>
<p style="text-align:center ;">
<!-- Adsense -->
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8908312169158059";
/* Anuncio en alevsk 1 */
google_ad_slot = "9646686344";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
			
							<div class="entry">
                                <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
								<?php the_content('Leer el resto de este Post &raquo;'); ?>
								<?php wp_link_pages(array('before' => '<p><strong>Pagina:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
							</div>
<p style="text-align:center ;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8908312169158059";
/* Anuncio en Alevsk 3 */
google_ad_slot = "1895701150";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>	
							<div class="demobox" style="margin-top: 10px; height:auto;overflow:auto;">
								<div class="autor"><img src="http://www.alevsk.com/wp-content/themes/ModernStyle/images/alevsk.jpg" alt="alevsk"/></div>
								<div class="acerca">
									<h3>Escrito por Alevsk</h3>
									Tengo 19 años, Trabajo como desarrollador web en una empresa Latinoamáricana llamada <a href="http://iq-zone.com" alt="iq-zone">IQ-Zone</a> cuando no voy a la escuela,
									Soy autodidacta, me interesan temas como la ingeniería inversa, el mundo Linux, las auditorías de seguridad en redes, la seguridad web, las tecnologías inalámbricas, la programación y el underground Informático ... Algunos dicen que soy un Geek frustrado. Sigueme en <a href="http://twitter.com/Alevsk" title="Twitter Alevsk" target="_blank">@Alevsk</a>
								</div>
								
							</div>
							<div class="postmeta">Categoria: <?php the_category(', ') ?> | <?php the_tags('Tags: ', ', ', ''); ?> </div>
						
							<div class="navigation clearfix">
								<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
								<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
							</div>
							
							<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
								// Both Comments and Pings are open ?>
								Puedes <a href="#respond">Comentar</a>, o <a href="<?php trackback_url(); ?>" rel="trackback"> hacer un trackback</a> de tu propio sitio.
	
							<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
								// Only Pings are Open ?>
								Los comentarios estan cerrados, pero puedes <a href="<?php trackback_url(); ?> " rel="trackback"> hacer trackback</a> de tu propio sitio.
	
							<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
								// Comments are open, Pings are not ?>
								Puedes ir directamente a los comentarios y dejar tu aportacion. El pinging no esta permitido.
	
							<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
								// Neither Comments, nor Pings are open ?>
								No se puede comentar ni hacer Pinging en esta entrada :(.
	
							<?php } edit_post_link('Editar este Post','','.'); ?>
						<!-- Compartelo -->
						<div class="demobox" style="margin-top:10px;">
						<?php ic_BeSocial_Buttons(); ?>
						</div>
						</div><!--/post-<?php the_ID(); ?>-->
						
				<?php comments_template(); ?>
				
				<?php endwhile; ?>
			
				<?php endif; ?>
			</div>
			</div>
        <?php get_sidebar(); ?>
<?php get_footer(); ?>

salu2
 
Pero la página que muestra el error es de categorías, por lo general es archive.php y no el single.php

Los post individuales no tienen problemas, según veo.
 
Esta seria la pagina de archive.php

Insertar CODE, HTML o PHP:
<?php get_header(); ?>
		<div id="content">	
        <?php include_once(TEMPLATEPATH . '/topbanner.php'); ?>	
		<?php if (have_posts()) : ?>

 	  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
 	  <?php /* If this is a category archive */ if (is_category()) { ?>
		<h2 class="pagetitle">Post en la categoria de ‘<?php single_cat_title(); ?>’</h2>
 	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
		<h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
 	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
		<h2 class="pagetitle">Post del dia <?php the_time('jS F, Y'); ?></h2>
 	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
		<h2 class="pagetitle">Post del mes de <?php the_time('F, Y'); ?></h2>
 	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
		<h2 class="pagetitle">Post del <?php the_time('Y'); ?></h2>
	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
		<h2 class="pagetitle">Archivos de Autor</h2>
 	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
		<h2 class="pagetitle">Archivos del Blog</h2>
 	  <?php } ?>

		<?php while (have_posts()) : the_post(); ?>
		<div <?php post_class('clearfix') ?>>
				<h2 class="title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
				<div class="postdate">
                    <span class="calendar"><?php the_time('F jS, Y') ?></span> 
                    <span class="comment"><?php comments_popup_link('No hay comentarios', '1 Comentario', '% Comentarios'); ?></span> <?php edit_post_link('Editar', '', ' '); ?>
                </div>

				<div class="entry">
                    <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>
					<?php if(function_exists('wp_smart_image'))?>
								<div style="float:left;margin-top:3px;margin-right:10px;margin-bottom:1px;
								-moz-border-radius: 5px 5px 5px 5px;
								-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
								background: none repeat scroll 0 0 #FFFFFF;
								border: 1px solid #CCCCCC;
								max-width: 680px;
								padding: 8px;"><?php wp_smart_image()?></div>
					<?php the_excerpt() ?>
                    <div class="readmorecontent">
						<a class="readmore" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Leer Mas &raquo;</a>
					</div>
				</div>
				<div class="postmeta" style="width:70%;float:right;">Categoria: <?php the_category(', ') ?> | <?php the_tags('Tags: ', ', ', ''); ?> </div>

			</div>

		<?php endwhile; ?>
		
		<div class="navigation">
			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
			<div class="alignleft"><?php next_posts_link('&laquo; Entradas antiguas') ?></div>
			<div class="alignright"><?php previous_posts_link('Entradas recientes &raquo;') ?></div>
			<?php } ?>
		</div>
	<?php else :

		if ( is_category() ) { // If this is a category archive
			printf("<h2 class='center'>Lo sentimos, Pero aun no hay post en esta categoria.</h2>", single_cat_title('',false));
		} else if ( is_date() ) { // If this is a date archive
			echo("<h2>Lo sentimos, peo no hay ningun post con esta fecha.</h2>");
		} else if ( is_author() ) { // If this is a category archive
			$userdata = get_userdatabylogin(get_query_var('author_name'));
			printf("<h2 class='center'Lo sentimos, Pero aun no hay post del autor.</h2>", $userdata->display_name);
		} else {
			echo("<h2 class='center'>No se encontro ningun post.</h2>");
		}

	endif;
?>

		</div>
	</div>

    <?php get_sidebar(); ?>
<?php get_footer(); ?>

Voy a analizar que esta pasando, si ustedes me pueden hechar una mano tambien se los agradeceria mucho.

salu2
 
Atrás
Arriba