Have you tried removing the last blank line of any of the files. That’s how I got shot of the white paging.
Dank je. Ga ik proberen. Hoe heette die foutmeldcode ook al weer en waar moet ik die inzetten? Dat scheelt misschien zoeken.
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?
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
But how is it possible that lots of my files have this problem? And what is the fast way to find the bug?
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.
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.
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.