Viewing 15 replies - 1 through 15 (of 24 total)
  • You sound desperate… Does cams.php have what’s mentioned here:

    http://wordpress.org/support/topic.php?id=24396#post-137615

    Thread Starter desk003

    (@desk003)

    lol I am. No it doesnt, but with WP 1.5 i thought they got rid of it. i’ll add it….

    Thread Starter desk003

    (@desk003)

    didnt fix it.

    Thread Starter desk003

    (@desk003)

    and yeah i put the file both in the site index folder and in the theme folder, neither worked.

    Thread Starter desk003

    (@desk003)

    now for some reason my index.php is blank….

    Thread Starter desk003

    (@desk003)

    whoops. I overwrote the wp-blog-header.php file in root dir. there. fixed. however the other still doesnt work.

    Try resetting your theme for this latest problem.

    As for the first, is cams.php making a call to another database, or at least to a non-WordPress MySQL process? If so, this could be the issue (as in one is causing a conflict with the other).

    Thread Starter desk003

    (@desk003)

    nope its not, no database calls other than for wordpress

    Thread Starter desk003

    (@desk003)

    http://pastebin.com/244398

    theres the cams.php file.

    Ding ding ding!

    <?php include 'http://desk003.com/wp-content/themes/v6/nav.php' ?>

    The PHP include() function does not take URLs for a path. It’s got to be a directory path on the server. Try this:

    <?php include(ABSPATH . 'wp-content/themes/default/v6/nav.php') ?>

    Thread Starter desk003

    (@desk003)

    really? i’ve used url paths all the time! it works, but isnt supposta eh? hmm.. okay… didnt work.

    Thread Starter desk003

    (@desk003)

    oh wait.. hrmmm.. now its worse LOL

    edit: and [Moderated] my post title got changed LOL

    [Moderator comments: Yes, some post titles get changed so that it is easier in the future for people to find relevant posts that may help them solve a problem.]

    Ok, I overstated; it’s not a recommended method. But I can’t explain what’s missing from your template that keeps the WP function from working.

    “oh wait.. hrmmm.. now its worse LOL”

    If you left my version in, that’s the ABSPATH constant, which if WordPress is not loading, would fail to call up the proper path to your WordPress installation.

    Thread Starter desk003

    (@desk003)

    okay i fixed the includes, there was a /default/ that shouldnt have been there.

    ABSPATH is though.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[1.5] How to add the sidebar to static pages?’ is closed to new replies.