• Resolved mdp8593

    (@mdp8593)


    I just installed WP on a Plesk server with Rackspace. It’s using MySQL 4.1.20-1.RHEL4.1 and php 4.3.9-3.15.

    The problem is the <?php get_sidebar(); ?> & <?php get_footer(); ?> functions aren’t being picked up, so I get the header portion of a page and the WP loop, but not the rest.

    This is happening on pages and posts. On one page where I hard coded in the sidebar, it shows up fine.

    Anybody got any ideas about what the problem might be and how to fix it.

    An additional piece of info …

    There’s another version of WordPress installed and functioning properly in a subdirectory of the directory in which I have this site on.

    Wondering if that’s part of the problem???

    Thanks – Michael

Viewing 11 replies - 1 through 11 (of 11 total)
  • I take it you’re talking about another website than the one in your profile? Because it looks good.

    Thread Starter mdp8593

    (@mdp8593)

    Yes. Sorry. A client site. http://www.famousagents.com

    thnx

    Thread Starter mdp8593

    (@mdp8593)

    Yes, that’s because the sidebar and footer aren’t being pulled properly. Here’s the test version on my own server: http://www.michaeldpollock.com/dev2/services

    It’s the exact same theme and it looks fine.

    Compared to his: http://www.famousagents.com/services

    For some reason, on this server, the sidebar and footer are being omitted. The question is why?

    Best – Michael

    Thread Starter mdp8593

    (@mdp8593)

    An additional piece of info …

    There’s another version of WordPress installed and functioning properly in a subdirectory of the directory in which I have this site on.

    Wondering if that’s part of the problem???

    No probably not. I have 5 Wp’s installed in differing directories on the same server in the same db.

    It doesn’t make much sense to me. Now, if it was a Windows server…
    It has to be a server problem, though, doesn’t it? If the installs are identical.
    I suppose you’ve checked that mod_rewrite is turned on.

    Thread Starter mdp8593

    (@mdp8593)

    mod_rewrite??

    Here’s my .htaccess:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    #BrowserMatch “MSIE” brokenvary=1
    #BrowserMatch “Mozilla/4.[0-9]{2}” brokenvary=1
    #BrowserMatch “Opera” !brokenvary
    #SetEnvIf brokenvary 1 force-no-vary

    ExpiresActive On
    ExpiresDefault A18000
    ExpiresByType image/gif A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/png A2592000

    Where do check to see if mod_rewrite is on?

    thnx

    “Where do check to see if mod_rewrite is on?”

    You would have to find out from the host. It’s a server variable. Most hosts will turn it on if it’s off.

    How odd. If you “view source” – your sidebar *is* being picked up. However, there’s a boo-boo somewhere – it looks like this:

    <div id="sidebar">

    <div class="sidelist">
    <h3>Recent Posts</h3>
    <ul>

    Something in that first LI tag is screwing it up, I think, because it stops short of showing it. That’s causing the rest of the stuff not to show up afterwards, including your footer.

    What does your “Main Index Template” look like? Or, even better, your “sidebar.php” template? Are you perhaps missing some minor tag somewhere? Could be something easily overlooked…

    But your sidebar is most definitely being picked up, as it’s showing up in your source code.

    Thread Starter mdp8593

    (@mdp8593)

    OMG doodlebee. you’re a genius (and i’m a buffoon). I’m using a plugin to pull recent posts and I forgot to activate it on the new site.

    activated the plugin and problem solved.

    oy-vey!

    thanks so much for your help. both of you.

    michael

    hey all – I’m having this EXACT SAME PROBLEM. “however” – I’m not using any kind of plugin. Any suggestions???

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Need Help – Sidebar and Footer Not Showing Up’ is closed to new replies.