A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
blank page still.
Aug 31, 2010
7:45 am
BT
Guest

http://www.greenfitnessworld.c…..ness-forum

 

This page is still loading blank for me I have checked the index.php, page.php and header.php.  I will paste those files here as well. 

 

Index.php

<?php get_header(); ?>

<div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); $loopcounter++; ?>
        
        <div <?php if (function_exists('post_class')) post_class(); ?>>

            <div class=";?> $postCount echo entry-<?php entry">
            
                <div class="entrytitle_wrap">
                    <?php if (!is_page()) : ?>
                        <div class="entrydate">
                            <div class="dateMonth">
                                <?php the_time('M');?>
                            </div>
                            <div class="dateDay">
                                <?php the_time('j'); ?>
                            </div>
                        </div>
                    <?php endif; ?>
                
                    <div class="entrytitle">
                    <?php if ($loopcounter==1):?>  
                        <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> 
                    <?php else : ?>
                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
                    <?php endif; ?>
                    </div>
            
                    <?php if (!is_singular()): ?>
                        <div class="endate"><?php the_author(); ?> on <?php the_time('F jS, Y'); ?></div>
                    <?php endif; ?>    
                </div>
            
            
                <div class="entrybody">    
                    <?php if (is_archive() || is_search()) : ?>    
                        <?php the_excerpt(); _e('<p><a href="'.get_permalink().'">Continue reading about '); the_title(); _e('</a></p>');  ?>
                    <?php else : ?>
                        <?php the_content('Read the rest of this entry &raquo;');   ?>
                        <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
                    <?php endif; ?>            
                </div>
            
                
                <div class="entrymeta">    
                    <div class="postinfo"> 
                        <?php if ($loopcounter==1) social_bookmarks(); ?>    
                        <?php if (is_single()): ?>
                         <span class="postedby">Posted by <?php the_author() ?></span>
                        <?php endif; ?>
                        
                        <?php if (!is_page()): ?>
                            <span class="filedto"><?php the_category(', ') ?> </span>
                        <?php endif; ?>
                        
                        <?php if (!is_singular()): ?>
                            <span class="commentslink"><?php comments_popup_link('No comments »', '1 Comment »', '% Comments »');?></span>                      
                        <?php else: ?>
                            <span class="rss">Subscribe to <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Subscribe to RSS feed'); ?>" ><?php _e('<abbr title="Subscribe to RSS Feed">RSS</abbr>'); ?></a> feed</span>
                        <?php endif; ?>
                
                        <?php edit_post_link('Edit', ' | ', ''); ?>
                
                    </div>    
                </div>
            
                                
                <?php if ($loopcounter == 1 && !is_singular()) { include (TEMPLATEPATH . '/ad_middle.php'); } ?>                 
            
            </div>    
            
            <?php if (is_singular()): ?>
                <div class="commentsblock">
                    <?php comments_template(); ?>
                </div>
            <?php endif; ?>
        
    </div>
    
    <?php endwhile; ?>
    
    <?php if (!is_singular()): ?>         
        <div id="nav-global" class="navigation">
            <div class="nav-previous">
            <?php 
                next_posts_link('&laquo; Previous entries');
                echo '&nbsp;';
                previous_posts_link('Next entries &raquo;');
            ?>

            </div>
        </div>
        
    <?php endif; ?>
        
    <?php else : ?>
    
        <h2>Not Found</h2>
        <div class="entrybody">Sorry, but you are looking for something that isn't here.</div>
    <?php endif; ?>
    
</div>

<?php get_footer(); ?>

 

Page.php

 

<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>         

<div class="entry">
        <div class="entrytitle_wrap">
<?php if (!(is_page('about') || is_page('contact') || is_page('Sitemap') || is_page('tags')) ) :?>        
<div class="entrydate"><div class="dateMonth"><?php the_time('M'); ?></div><div class="dateDay"><?php the_time('j'); ?></div>  </div>
<?php endif; ?>
<div class="entrytitle">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> 


</div>
<div class="endate"><?php the_author(); ?> on <?php the_time('F jS, Y'); ?></div>
</div>

<div class="entrybody">
<?php the_content('Read the rest of this entry &raquo;');  ?>

<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
</div>

<div class="pagelink"><?php wp_link_pages(); ?></div>

<?php if (!(is_page('about') || is_page('contact') || is_page('Sitemap')  || is_page('tags')) ) :?>        

<div class="entrymeta"><div class="postinfo"> 
<?php social_bookmarks(); ?>
<?php if(function_exists('wp_print')) { print_link(); } ?> 
<span class="rss">Subscribe to <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Subscribe to RSS feed'); ?>" rel="nofollow"><?php _e('<abbr title="Subscribe to RSS Feed">RSS</abbr>'); ?></a></span>

<?php edit_post_link('Edit', ' | ', ''); ?>
</div></div>

<?php endif; ?>

</div>
    
<div class="commentsblock">
<?php comments_template(); ?>
</div>
  
    
<?php endwhile; ?>

<?php else : ?>
<h2>Not Found</h2>
<div class="entrybody">Sorry, but you are looking for something that isn't here.</div>
<?php endif; ?>
</div>

<?php get_footer(); ?>

 

header.php

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="msvalidate.01" content="F7074815136346C4ABD7D5F5B0E91DD8" />
<title><?php wp_title('&laquo;', true, 'right'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<style type="text/css">
  #portrait-bg { background:url(<?php bloginfo('stylesheet_directory'); ?>/images/bg-portrait<?php echo (rand()%9); ?>.jpg); }
</style>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); ?>
</head>


<body>
<div style="position:absolute; top:0px; left:0px; z-Index:2; text-align:left; font-size:10px; line-height:11px; clear:both;">
#1 Source for <a href="<?php bloginfo('home'); ?>">Green Fitness</a>
</div>


<div id="wrap">

    <div id="menu">
        <ul>
            <li><a href="<?php echo get_settings('home'); ?>/" >Home</a></li>
            <?php wp_list_pages('sort_column=menu_order&hierarchical=0&title_li='); ?>
        </ul>
    </div>
<form action="http://www.greenfitnessworld.com/google-search" id="cse-search-box" style="margin:0px; position:relative; top:0px; left:470px;">
  <div>
    <input type="hidden" name="cx" value="partner-pub-0940131152250952:3nx93-f7dl7" />
    <input type="hidden" name="cof" value="FORID:10" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="20" />
    <input type="submit" name="sa" value="Search" />
  </div>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</form>

    <div id="header">
        <span class="btitle"><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></span>
        <p class="description">
            <a href="<?php 
            if (current_user_can('level_10')) 
                echo get_settings('home').'/wp-admin/">'; 
            else 
                echo get_settings('home').'/">'; 
            bloginfo('description'); ?> 
            </a>
        </p>
    </div>
    
    <div id="rss-big">
        <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Subscribe to this site with RSS'); ?>"></a>
    </div>
    
    <div id="portrait-bg"></div>
    <div id="catmenu">
        <ul>
            <?php wp_list_categories('orderby=count&order=DESC&show_count=0&hierarchical=1&number=5&title_li=&depth=1'); ?>
        </ul>

    </div>
Aug 31, 2010
11:51 am

SP Master
Forum Posts: 22190
Member Since:
Nov 9, 2008
Online

Can you try switching briefly to the default WP theme?

Yellow Swordfish
Aug 31, 2010
12:46 pm
BT
Guest

Even with the default theme it is not loading.

Aug 31, 2010
2:37 pm

SP Master
Forum Posts: 22190
Member Since:
Nov 9, 2008
Online

Well at least with the default template all of the CSS and JS files are loading. I am puzzled to be honest. I will try and get Steve to look – see if he can see something I can't.

You may as well reactivate your own theme though

Yellow Swordfish
Sep 1, 2010
1:22 am
Rookie
Forum Posts: 2
Member Since:
Sep 1, 2010
Offline

I have met the same question after upgrading from 4.2 to 4.3.3.

http://www.diceman.tw

Sep 1, 2010
2:51 am

SP Master
Forum Posts: 22190
Member Since:
Nov 9, 2008
Online

You could both try this:
Go to the forum admin and select the WP Integration panel.
There are two options: "Limit Forum Display to Within WP Loop" and "Allow Multiple Loading of Forum Content". Try different combinations of having those options on and off.

Yellow Swordfish
Sep 1, 2010
8:50 am
Rookie
Forum Posts: 2
Member Since:
Sep 1, 2010
Offline

Thanks a lot!!

Forum works after changing the setting :)

Sep 1, 2010
5:01 pm

SP Master
Forum Posts: 22190
Member Since:
Nov 9, 2008
Online

Excellent – although it does point to the fact that your theme is doing something very non-standard.

Yellow Swordfish
Sep 7, 2010
7:07 am
BT
Guest
Limit Forum Display to Within WP Loop:
 

Checking this option worked.  Sorry I went on vacation to Mytrle Beach and lost all contact with outside world.

 

Sep 7, 2010
11:28 am

SP Master
Forum Posts: 22190
Member Since:
Nov 9, 2008
Online

excellent. Shows that your theme is doing some odd things but great it is now working.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, woody, scitexnz, williambennettiv, Jason Clark, Superfast, ahcreate
58 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 501

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2624

Members: 7354

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10877

Posts: 79454

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22180), Mr Papa (23688)