• Resolved dirpointexe

    (@dirpointexe)


    Hello, i have a problem with empty pages on my wordpress. Example: https://www.dirpointexe.com/about/ categories and posts working fine but pages is empty. Can anyone help me please? I tryed to disable all addons and checked my database but still no luck. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Doodlebee

    (@doodlebee)

    I’d say there’s an error in your page.php file. Try removing it and see if that fixes the problem. If it does, then you’ll have to figure out what the error is – your server isn’t set to report errors, so you’ll probably have to look at the error log from your host to see where the issue is in that file.

    Thread Starter dirpointexe

    (@dirpointexe)

    Hello,

    checked page.php file and can’t see any error.

    Here is the page.php;

    ?<?php get_header(); ?>	
    
    <div id="container">
    
    <div id="left-div">
    
    <div id="left-inside">
    
    <?php if (have_posts()) : ?>
    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    
    <!--Start Post-->
    <span class="single-entry-titles" style="margin-top: 18px;"></span>
    <div class="post-wrapper">
    
    <h3 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    
    <div class="page-post">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    
    </div>
    
    <?php endwhile; ?>
    
    <!--End Post-->
    
    <p class="pagination"><?php next_posts_link('&laquo; Previous Entries') ?> <?php previous_posts_link('Next Entries &raquo;') ?></p>
    
    <?php else : ?>
    
    <h2 align="center">Not Found</h2>
    <p align="center">Sorry, but the page you requested could not be found.</p>
    
    <?php endif; ?>
    
    </div>
    
    </div>
    
    <!--Begin Sidebar-->
    <?php get_sidebar(); ?>
    <!--End Sidebar-->
    
    <!--Begin Footer-->
    <?php get_footer(); ?>
    <!--End Footer-->
    
    </body>
    </html>

    Can you check too please? Thank you for your interest.

    Doodlebee

    (@doodlebee)

    Well, the thing is that *none* of the page is coming up. Viewing the source code also brings up a blank white page. Error reporting isn’t turned on, so i can’t see errors from here. You’d most likely either have to turn on error reporting, or check your server error logs – that’ll tell you exactly where the issue is.

    Have you tried switching the theme back to default, and/or deactivating the plugins to see what the culprit is?

    Thread Starter dirpointexe

    (@dirpointexe)

    Love you ?? Changed theme and the problem fixed. Now i have to figure out what is my theme problem, anyway thank you very much.

    Thread Starter dirpointexe

    (@dirpointexe)

    Updated my theme version and problem fixed. ??

    Thanks for helping me. ??

    Doodlebee

    (@doodlebee)

    Yay! Glad you got it sorted ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Emtpy Pages’ is closed to new replies.