• darkxheart

    (@darkxheart)


    Right now, I have these codes:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
    http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <head>
    <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’);
    ?>; charset=<?php echo get_settings(‘blog_charset’); ?>” />
    <meta name=”generator” content=”WordPress <?php $wp_version ?>” />
    <!– leave this for stats –>
    <link rel=”alternate” type=”text/xml” title=”RSS” href=”<?php
    bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    </head>
    <body>

    <!– // loop start –>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1 id=”post-<?php the_ID(); ?>”><b>:: <?php the_title(); ?> :: </b> |
    <b> <?php the_date(‘d-m-y’,”,”,true); ?> </b> | <?php
    comments_popup_link(__(‘0 Comments’), __(‘1 Comment’), __(‘%
    Comments’)); ?></h1>

    <?php the_content(); ?>

    <?php link_pages(‘
    Pages: ‘, ‘
    ‘, ‘number’) ?>

    <div align=”right”>
    <br><br>
    <div align=”left”><?php mdv_comment_plugger(‘<b></b>’); ?></div>

    </div>

    <?php comments_template(); ?>

    <!– // this is just the end of the motor – don’t touch that line either 🙂 –>
    <?php endwhile; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>

    <div align=”center”>Powered by <a
    href=”http://wordpress.org”&gt;WordPress

    </div>

    and this, right at the top of my page:

    <?php require(“/home/darkxheart/public_html/wp/wp-blog-header.php”); ?>

    What am I doing wrong?

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

    (@vkaryl)

    What error messages are you getting?

    Thread Starter darkxheart

    (@darkxheart)

    My site is here:

    http://darkxheart.sad-excuses.net

    Error messages:

    Warning: main(): open_basedir restriction in effect. File(/home/darkxheart/public_html/wp/wp-blog-header.php) is not within the allowed path(s): (/home2/sadexcu/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/sadexcu/public_html/darkxheart/indexx1.php on line 1

    Warning: main(/home/darkxheart/public_html/wp/wp-blog-header.php): failed to open stream: Operation not permitted in /home2/sadexcu/public_html/darkxheart/indexx1.php on line 1

    Warning: main(): open_basedir restriction in effect. File(/home/darkxheart/public_html/wp/wp-blog-header.php) is not within the allowed path(s): (/home2/sadexcu/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/sadexcu/public_html/darkxheart/indexx1.php on line 1

    Warning: main(/home/darkxheart/public_html/wp/wp-blog-header.php): failed to open stream: Operation not permitted in /home2/sadexcu/public_html/darkxheart/indexx1.php on line 1

    Fatal error: main(): Failed opening required ‘/home/darkxheart/public_html/wp/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home2/sadexcu/public_html/darkxheart/indexx1.php on line 1

    vkaryl

    (@vkaryl)

    That looks like some server problems to me. Are you sure the relevant software is setup on your host server, and available to you? You might want to check with your host….

    Did you use a distro you downloaded and installed yourself, or did your cpanel have an install you used?

    Oh, and who’s your host?

    Thread Starter darkxheart

    (@darkxheart)

    Yeah, everything is on my server.

    I’ll check with my host, to see what’s wrong.

    Thanks 🙂

    Thread Starter darkxheart

    (@darkxheart)

    My host is http://sad-excuses.net, if that’s what you’re asking.

    vkaryl

    (@vkaryl)

    Yup – just checkin’ because some hosts such as GoDaddy have very specific stringent setup requirements.

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

The topic ‘I can’t seem to get WordPress up!’ is closed to new replies.