Fout, Probleem ??

Gestart doorAlexx7 reacties14 weergaven

8 berichten · pagina 1 van 1

Alexx

Lid · Topicstarter

Berichten
1.294
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik heb een fout op me homepage met een lay..
altijd staat er "Fatal error: Call to undefined function get_header() in /home/alexx/domains/alexx.one2xs.com/public_html/index.php on line 1"

En code van home =

[COLOR= #0000BB]<?php[/COLOR] get_header[COLOR= #007700]();[/COLOR] ?>
    
    <div class="large">
        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]have_posts[COLOR= #007700]()) :[/COLOR] ?>
        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR]have_posts[COLOR= #007700]()) :[/COLOR] the_post[COLOR= #007700]();[/COLOR] ?>

        <div class="post" id="post-[COLOR= #0000BB]<?php[/COLOR] the_ID[COLOR= #007700]();[/COLOR] ?>">
            <div class="post-title">
            <p class="post-edit" style="float:right;">[COLOR= #0000BB]<?php[/COLOR] edit_post_link[COLOR= #007700]([/COLOR][COLOR= #DD0000]Edit[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000][/COLOR][COLOR= #007700]);[/COLOR] ?></p>
            <h2>
                <a href="[COLOR= #0000BB]<?php[/COLOR] the_permalink[COLOR= #007700]()[/COLOR] ?>" rel="bookmark" title="Permanent link to [COLOR= #0000BB]<?php[/COLOR] the_title[COLOR= #007700]();[/COLOR] ?>">
                [COLOR= #0000BB]<?php[/COLOR] the_title[COLOR= #007700]();[/COLOR] ?></a>
            </h2>
            </div>
            
            <div class="post-footer">
            <h4>
                <span class="post-date">[COLOR= #0000BB]<?php[/COLOR] the_time[COLOR= #007700]([/COLOR][COLOR= #DD0000]F jS, Y[/COLOR][COLOR= #007700]);[/COLOR] ?></span>
                <span class="post-comments"><a href="[COLOR= #0000BB]<?php[/COLOR] comments_link[COLOR= #007700]();[/COLOR] ?>" title="See comments for this post">
                [COLOR= #0000BB]<?php[/COLOR] comments_number[COLOR= #007700]([/COLOR][COLOR= #DD0000]Write Comment[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]1 Comment[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]% Comments[/COLOR][COLOR= #007700]);[/COLOR] ?></a></span>
                <span class="post-category">[COLOR= #0000BB]<?php[/COLOR] the_category[COLOR= #007700]([/COLOR][COLOR= #DD0000] &middot; [/COLOR][COLOR= #007700]);[/COLOR] ?></span>
                [COLOR= #0000BB]<?php[/COLOR] the_tags[COLOR= #007700]([/COLOR][COLOR= #DD0000]<br/><span class="post-tags">Tags: [/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000], [/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]</span>[/COLOR][COLOR= #007700]);[/COLOR] ?>
            </h4>
            </div>
        
            <div class="post-content">
            [COLOR= #0000BB]<?php[/COLOR] the_content[COLOR= #007700]([/COLOR][COLOR= #DD0000]"Read more"[/COLOR][COLOR= #007700]);[/COLOR] ?>
            </div>
        </div>

        [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endwhile;[/COLOR] ?>
        
        <div class="post-nav">
            <div class="previous">[COLOR= #0000BB]<?php[/COLOR] previous_posts_link[COLOR= #007700]([/COLOR][COLOR= #DD0000]&lsaquo; Previous Page[/COLOR][COLOR= #007700])[/COLOR] ?></div>
            <div class="next">[COLOR= #0000BB]<?php[/COLOR] next_posts_link[COLOR= #007700]([/COLOR][COLOR= #DD0000]Next Page &rsaquo;[/COLOR][COLOR= #007700])[/COLOR] ?></div>
        </div>

        [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]:[/COLOR] ?>
                [COLOR= #0000BB]<?php[/COLOR] [COLOR= #FF8000]/* Error 404 */[/COLOR] ?>    
                [COLOR= #0000BB]<?php $filename[/COLOR] [COLOR= #007700]=[/COLOR] TEMPLATEPATH [COLOR= #007700].[/COLOR] [COLOR= #DD0000]/404.php[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/file_exists"]file_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$filename[/COLOR][COLOR= #007700])) {[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$filename[/COLOR][COLOR= #007700]); }[/COLOR] ?>
        [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endif;[/COLOR] ?>
    </div>

[COLOR= #0000BB]<?php[/COLOR] get_sidebar[COLOR= #007700]();[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR] get_footer[COLOR= #007700]();[/COLOR] ?>
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
get_header() is een functie die niet bestaat.
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
haal is eerste regel weg en zeg de fout dan is
0
Alexx

Lid · Topicstarter

Berichten
1.294
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
lol ok..ff wegdoen dan yummie
0
Alexx

Lid · Topicstarter

Berichten
1.294
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
zo nu staat er : Fatal error: Call to undefined function have_posts() in /home/alexx/domains/alexx.one2xs.com/public_html/index.php on line 4
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
volgens mij moet jij je insellingen ofsow includen maar dat doe je niet
0
Alexx

Lid · Topicstarter

Berichten
1.294
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien


Zo bedoel je?
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ja dan waar al je gegevens en al staan includen
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren