• After opening wp-admin days after using it for the last time its giving me a white page.
    Disabeling plugins or reconstructing wp-admin and others is not helping.
    Last time I closed there was some problem with clicking ok-buttons. Then there was already a white page. Clicking on return would help then.

    Who can help me?

    Thanks.

    https://www.test-je-website.nl

Viewing 9 replies - 1 through 9 (of 9 total)
  • Have you tried removing the last blank line of any of the files. That’s how I got shot of the white paging.

    Thread Starter roeliezorg

    (@roeliezorg)

    Dank je. Ga ik proberen. Hoe heette die foutmeldcode ook al weer en waar moet ik die inzetten? Dat scheelt misschien zoeken.

    Thread Starter roeliezorg

    (@roeliezorg)

    I mean: Thanks. I will try. I tried once with a code that tells me were the problem is, do you know which one and where to put?

    Thread Starter roeliezorg

    (@roeliezorg)

    I found out that lots of my files do have a last blank line. Is that a problem?

    if there is a blank line after ?> then it could be a problem, yes

    just like if there is a blank line before any <?php

    Thread Starter roeliezorg

    (@roeliezorg)

    But how is it possible that lots of my files have this problem? And what is the fast way to find the bug?

    Thread Starter roeliezorg

    (@roeliezorg)

    Tried a lot of things, still a white page. Who could help me find the bug?
    What I found already is that when I disable plugins there’s still a white page. When I disable the whole contentmap admin appears again. So it must be somewhere in the contentmap, but not in the plugins

    Thanks already.

    Thread Starter roeliezorg

    (@roeliezorg)

    ok, this is very strange. After renaming the contentmap to wp-content2 admin appeared again. After changing it back to the old settings admin still is there?????

    I’m a bit confused. What happened? Anyway, I leave it for now. I’ll try to create some pages and plugins tomorrow to see what happens.

    For the moment everything looks fine.

    I’m puzzeled.

    Ok, ofcourse I tried to change a page and after pressing the button to change, same problems happens. So I have to find out where the bug is: somewhere in wp-content.

    Thread Starter roeliezorg

    (@roeliezorg)

    After discussing with you, but most with myself I found out the problem was in function.php in my theme.
    `
    <?php
    function toonTekst($tekst) {
    if(empty($tekst) || !is_numeric($tekst)) {// Als er geen of een ongeldige waarde opgegeven wordt neem je tekst 1
    $tekst = 1;
    }
    $query = “SELECT * FROM teksten WHERE tekstid = ‘$tekst’ LIMIT 1;”;
    $result = mysql_query($query);
    $row = mysql_fetch_assoc($result);
    echo $row[‘tekst’];
    }
    function toonTitel($titel) {
    if(empty($titel) || !is_numeric($titel)) {// Als er geen of een ongeldige waarde opgegeven wordt neem je tekst 1
    $titel = 1;
    }
    $query = “SELECT * FROM teksten WHERE tekstid = ‘$titel’ LIMIT 1;”;
    $result = mysql_query($query);
    $row = mysql_fetch_assoc($result);
    echo $row[‘titel’];
    }
    ?>

    These lines where the problem. Don’t know why but I just leave the out. They where probably for my searchfunction.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp-admin dissapeared’ is closed to new replies.