我的免费虚拟主机网站中的致命错误


fatal error in my free web hosting site?

致命错误:在第 1 行调用/home/a2260510/public_html/index.php 中的未定义函数 get_header

下面的错误代码

当我刷新浏览器时,我看到错误。

<?php get_header(); ?>
        <div class="fix main_body_area ">
            <div class="fix main_feature floatleft">
                    <div class="fix heading_area">
    <div class=" heading floatleft">
    <h4><img src="<?php echo get_template_directory_uri();?>/images/post_red_img.png"><div class="head_pan">Gruesome video shows Syria brutality</div></h4>
                        </div>
                        <div class=" heading_2 floatright">
                                <h4><img src="<?php echo get_template_directory_uri();?>/images/gray.png" alt="gray"><div class="fix head_span"><p><marquee>As crackdowns against anti-government protesters continue acrosss</marquee></p></div></h4>enter code here
                    </div>
                </div>
                <?php get_template_part('slider');?>
                <div class="fix feature_area_images">
                    <?php get_template_part('image_widgets');?>
                </div>
                <div class="fix news_post_area">    
                     <div class="fix head_news">
                        <?php get_template_part('post_loop');?>
                    </div>

            </div>
                    <?php get_template_part('sidebar');?>           
        </div>  


                <?php get_footer();?>
    </div>

您正在使用 wordpress 主题作为独立的 Web 应用程序。
你要做的是:

  1. 转到 http://wordpress.org/download/并下载最新版本。
  2. 上传下载到public_html文件夹中的 wordpress zip 的内容。
  3. 现在,您可以将您的文件(显示致命错误的文件)放在wp内容/主题文件夹中。
  4. 转到您的网站网址,然后安装 wordpress(帮助在这里:http://codex.wordpress.org/Installing_WordPress)

它应该有效。