WordPress Index BUG?

Gestart doorLaurenss21 reacties156 weergaven

22 berichten · pagina 1 van 2

Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo one2xs,
Ik heb een bug gezien, Maar hoe kan ik hem verhelpen?..
Demo: laurens.s1.one2xs.com en bug is:
Fatal error: Call to undefined function get_header() in /home/laurens/domains/laurens.s1.one2xs.com/public_html/index.php on line 1
Hoe kan ik bug verhelpen..
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hij kent de functie get_header niet.
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Hij kent de functie get_header niet.
redface hoe kan ik verhelpen?
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe kunnen wij jouw helpen zonder code?
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Hoe kunnen wij jouw helpen zonder code?
o , ik plaats mijn Index-Code! moment!

EDIT//
Hier is index code!:

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


[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/function_exists"]function_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"post_class"[/COLOR][COLOR= #007700])) {[/COLOR] [COLOR= #FF8000]// for pre-WordPress 2.7 [/COLOR]?>
<div id="post-[COLOR= #0000BB]<?php[/COLOR] the_ID[COLOR= #007700]();[/COLOR] ?>" [COLOR= #0000BB]<?php[/COLOR] post_class[COLOR= #007700]();[/COLOR] ?>>
[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
<div id="post-[COLOR= #0000BB]<?php[/COLOR] the_ID[COLOR= #007700]();[/COLOR] ?>">
[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?> 

    <div class="post-meta post-top-meta">
        <span class="categories-above-post">
[COLOR= #0000BB]<?php[/COLOR] the_category[COLOR= #007700]([/COLOR][COLOR= #DD0000], [/COLOR][COLOR= #007700]);[/COLOR] ?>
        </span>
        <span class="comments-above-post">
[COLOR= #0000BB]<?php[/COLOR] comments_popup_link[COLOR= #007700]([/COLOR]__[COLOR= #007700]([/COLOR][COLOR= #DD0000] No comments yet[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]),[/COLOR] __[COLOR= #007700]([/COLOR][COLOR= #DD0000] 1 comment[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]),[/COLOR] __[COLOR= #007700]([/COLOR][COLOR= #DD0000] % comments[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]),[/COLOR] [COLOR= #DD0000]comments-link[/COLOR][COLOR= #007700],[/COLOR] __[COLOR= #007700]([/COLOR][COLOR= #DD0000] Comments turned off[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]));[/COLOR] ?>
        </span>
    </div>
    
    <div class="post-heading">
        <h2 class="post-title">
            <a href="[COLOR= #0000BB]<?php[/COLOR] the_permalink[COLOR= #007700]();[/COLOR] ?>" rel="bookmark" title="[COLOR= #0000BB]<?php[/COLOR] the_title_attribute[COLOR= #007700]();[/COLOR] ?> permalink">
                [COLOR= #0000BB]<?php[/COLOR] the_title[COLOR= #007700]();[/COLOR] ?>
            </a>
        </h2>
            <p class="post-byline">
                    [COLOR= #0000BB]<?php[/COLOR] _e[COLOR= #007700]([/COLOR][COLOR= #DD0000]By[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]);[/COLOR] ?> [COLOR= #0000BB]<?php[/COLOR] the_author_posts_link[COLOR= #007700]();[/COLOR] edit_post_link[COLOR= #007700]([/COLOR]__[COLOR= #007700]([/COLOR][COLOR= #DD0000]Edit[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]),[/COLOR] [COLOR= #DD0000] ([/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000])[/COLOR][COLOR= #007700]);[/COLOR] _e[COLOR= #007700]([/COLOR][COLOR= #DD0000] on [/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]);[/COLOR] the_time[COLOR= #007700]([/COLOR][COLOR= #DD0000]F jS, Y[/COLOR][COLOR= #007700]);[/COLOR] ?>
            </p>
    </div><!-- .post-heading -->
    
    <div class="top-post-body"></div>
    
    <div class="post-body">
        [COLOR= #0000BB]<?php[/COLOR] the_content[COLOR= #007700]([/COLOR]__[COLOR= #007700]([/COLOR][COLOR= #DD0000]"Continue reading "[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pressplay[/COLOR][COLOR= #007700]) .[/COLOR] the_title[COLOR= #007700]([/COLOR][COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700],[/COLOR] false[COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]" &rarr;"[/COLOR][COLOR= #007700]);[/COLOR] ?>
        [COLOR= #0000BB]<?php[/COLOR] wp_link_pages[COLOR= #007700]();[/COLOR] ?>
        <div class="divclear"></div>
    </div><!-- .post-body -->

</div><!-- #post-ID .post_class -->

[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endwhile;[/COLOR] ?>

[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR]get_next_posts_link[COLOR= #007700]() ||[/COLOR] get_previous_posts_link[COLOR= #007700]()){[/COLOR] ?>
<div class="pagination">
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR]TEMPLATEPATH [COLOR= #007700].[/COLOR] [COLOR= #DD0000]/library/page-navigation.php[/COLOR][COLOR= #007700]);[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/function_exists"]function_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]wp_pagenavi[/COLOR][COLOR= #007700])) {[/COLOR] wp_pagenavi[COLOR= #007700](); }[/COLOR] ?>
</div>
[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>

[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]endif;[/COLOR] ?>

[COLOR= #0000BB]<?php[/COLOR] get_sidebar[COLOR= #007700]();[/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR] get_footer[COLOR= #007700]();[/COLOR] ?>
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
je mist denk ik


moet je helemaal boven aanzetten
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
je mist denk ik


moet je helemaal boven aanzetten
Het werkt niet,
Ik krijg dan meer errors.:
Warning: include(wp-config.php) [function.include]: failed to open stream: No such file or directory in /home/laurens/domains/laurens.s1.one2xs.com/public_html/index.php on line 1

Warning: include(wp-config.php) [function.include]: failed to open stream: No such file or directory in /home/laurens/domains/laurens.s1.one2xs.com/public_html/index.php on line 1

Warning: include() [function.include]: Failed opening wp-config.php for inclusion (include_path=.:/usr/local/lib/php) in /home/laurens/domains/laurens.s1.one2xs.com/public_html/index.php on line 1

Fatal error: Call to undefined function get_header() in /home/laurens/domains/laurens.s1.one2xs.com/public_html/index.php on line 2
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Het was maar een ideetje. maar dat is het hele script? (index dan)
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Het was maar een ideetje. maar dat is het hele script? (index dan)
Oh, ik heb wat gescript nu krijg ik het zo:
Parse error: syntax error, unexpected $end in /home/laurens/domains/laurens.s1.one2xs.com/public_html/wp-config.php on line 6
edit// Ik heb geen idee over hele script van de index?
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wat had je eigenlijk gedaan waardoor hij het niet meer deed?
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Wat had je eigenlijk gedaan waardoor hij het niet meer deed?
Ik heb gewoon dat WP opgezet, en ik zag dan index niet werkte.
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je mist ook wat bestanden.

ik stuur je ene pb
0
Laurenss

Lid · Topicstarter

Berichten
1.104
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Je mist ook wat bestanden.

ik stuur je ene pb
Ok. gelezen, en toegevoegd
0
Berichten
1.054
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Die errors @wp-config.php is omdat hij die niet kan vinden, HEB je überhaupt wel een wp-config.php ? emo
0
Berichten
347
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
change de wp-config-sample.php naar wp-config of andersom?
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