WordPress.org

Support

Server down?

Viewing 15 replies - 1 through 15 (of 20 total)
  • All those pages don’t load but show an empty page. Maybe you could should the .htaccess file and make sure everything is fine there?

    thanks.. I have now created both an .htacess file, and also a ‘htaccesspw file but where to upload it to exactly? Can it be done through WordPress itself or do I have to go to my host provider?

    I haven’t changed anything on that file so no idea why this has happened all of a sudden…

    here is the htaccess file… I just created it and uploaded to the server… anything wrong with it?

    AuthUserFile /usr/local/you/safedir/.htpasswd
    AuthGroupFile /dev/null
    AuthName EnterPassword
    AuthType Basic
    
    require user admin

    Is it even anything to do with the htaccess file and htpasswd file?
    Or can the issue be solved some other way???

    This is driving me nuts and no idea why this happened all of a sudden.. 🙁

    i think I’ve found where the problem is by checking my error logs…

    “fatal flex scanner internal error–end of buffer missed “

    now how to fix that…..? hmmm….

    esmi

    @esmi

    Forum Moderator

    Get rid of the .htaccess and .htpasswd files for a start. The issue appears to be specific to single post pages. Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    here’s the single.php code that the error log is telling me there’s a ‘fatal flex scanner internal error–end of buffer missed’
    but any idea how to fix it please? Thanks!

    <?php
    /**
     * The Template for displaying all single posts.
     *
     * @package WordPress
     * @subpackage Colorway
     * @since Colorway 1.0
    
    get_header(); ?>
    <!--Start Content Grid-->
    <div class="grid_24 content">
      <div  class="grid_16 alpha">
        <div class="content-wrap">
          <div class="content-info">
            <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
          </div>
          <!--Start Blog Post-->
          <div class="blog">
            <ul class="single">
              <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
              <li>
                <h2><?php the_title(); ?></h2>
                <?php printf; ?>
                <div class="clear"></div>
                <?php the_content(); ?>
                <div class="clear"></div>
                <div class="tags">
                  <?php the_tags('Post Tagged with ',', ',''); ?>
                </div>
                <div class="clear"></div>
    			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . 'Pages:' . '</span>', 'after' => 
    
    '</div>' ) ); ?>
                <?php endwhile;?>
              <nav id="nav-single"> <span class="nav-previous">
    
                </span> <span class="nav-next">
    
                </span> </nav>
              </li>
              <!-- End the Loop. -->
            </ul>
          </div>
    
          <div class="hrline"></div>
          <!--End Blog Post-->
          <div class="clear"></div>
          <div class="social_link">
            <p><?php _e('If you enjoyed this article please consider sharing it!','colorway'); ?></p>
          </div>
          <div class="social_logo"> <a title="Tweet this!" href="http://twitter.com/home/?status=<?php the_title(); ?> : <?php the_permalink(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter-share.png" alt="twitter" title="twitter"/></a> <a title="Share on StumbleUpon!" href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/stumbleupon.png" alt="upon" title="upon"/></a> <a title="Share on Facebook" href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook-share.png" alt="facebook" title="facebook"/></a> <a title="Digg This!" href="http://digg.com/submit?phase=2&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/digg-share.png" alt="digg" title="digg"/></a> </div>
          <div class="clear"></div>
          <!--Start Comment Section-->
          <div class="comment_section">
            <!--Start Comment list-->
            <?php comments_template( '', true ); ?>
            <!--End Comment Form-->
          </div>
          <!--End comment Section-->
        </div>
      </div>
      <?php get_sidebar(); ?>
    </div>
    <div class="clear"></div>
    <!--End Content Grid-->
    </div>
    <!--End Container Div-->
    <?php get_footer(); ?>

    ok, I’ve done all the above but now every post just goes back to the homepage…

    it shows the post’s url but displays the home page….

    esmi

    @esmi

    Forum Moderator

    Did you reset the permalinks to default?

    yes. i did that. and now every post link goes back to the home page… weird…

    esmi

    @esmi

    Forum Moderator

    Your posts links on the site are still using a custom url. You need to reset them all to use the default urls.

    I HAVE set the permalinks to ‘default’

    copied and pasted from my dashboard in the ‘Permalinks’ section. I have selected ‘Default’ as the radio button in the list of options for Permalinks.

    Default: http://www.itstravel.co.uk/?p=123

    I’d send an attachment of the screenshot if I could…..

    please help….

    esmi

    @esmi

    Forum Moderator

    There are link on your pages still using custom urls – eg. the group tour links on http://www.itstravel.co.uk/?page_id=273

    very weird… I definitely changed it to Defaults in the Permalinks section described above…

    Maybe its cos those links are put manually into a ‘Text’ widget…?

    But even on the home page the links from the picutres in the bottom center of the home page also redirect back to the home page instead of their actual urls… e.g. the ‘Contact Us’ Link at the bottom of the page on http://www.itstravel.co.uk home page… the contact Us page is an actual ‘Page’ and not a Post too….

    what’s going on???? 🙁

    Thanks for the help

    esmi

    @esmi

    Forum Moderator

    Maybe its cos those links are put manually into a ‘Text’ widget…?

    Yes – that will be it.

    e.g. the ‘Contact Us’ Link at the bottom of the page

    That’s also using a hard coded (manually inserted?) link. The default contact link is http://www.itstravel.co.uk/?page_id=87 – which works just fine.

    From all of this, I suspect that there’s an issue with custom permalinks and rewrites on your site’s server. Check with your hosts that mod_rewrite is running on your server and that .htaccess rewrite rules are being applied correctly.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Server down?’ is closed to new replies.
Skip to toolbar