Papercite Crashes WordPress

Just updated WordPress as well as all the plugins and suddenly my résumé page is blank. And just in case someone else experiences a similar issue, I took notes of all the steps to fix the issue below.

Turning off likely plugins revealed that papercite (a plugin used to render publications in the BIB format as HTML) was the reason.

To understanding the problem I turned on error messages to actually see what was going on by
editing index.php in wp-content/themes// and added following line to the beginning of the file:

<?php ini_set('display_errors',1); error_reporting(E_ALL); ?>

From that I could understand that papercite was unable to load a PEAR module due to the strong restrictions that my web space provider had set up (which is also why I can not edit the php.ini file directly to turn on error messages).

Solution: Go to Settings -> papercite plugin and change the parser to OSBiB parser (which does not depend on PEAR), et voilà my résumé with publications is back! 🙂

Finally, let’s remove the PHP line I added in the beginning from the index.php file.

Simple redirection using PHP and HTML meta tag

Something everyone needs once in a while… maybe you moved a file on your server or you did not install wordpress in the root folder of your webserver – like I did neither 😉 – a redirection or forwarding can be an easy answer.

The script is rather simple – it redirects in three ways to provide a reasonable fall back if any of the automatic redirecting fails. To use it on your server, just enter the URL/address/file name/folder you would like the user to be redirected to in the second line of the page/script.

Put the whole code and markup in a file with file extension “.php”.
In my case, every user ending up at “” should to be forwarded to “”. So I adjusted the script below like “$url = ‘wordpress/home'”, named the file “index.php” and put it in the root folder. Done :).
$url = 'put your URL between the parenthesis';
header("Location: $url");
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta http-equiv="refresh" content="0;url=<?php echo $url; ?>"/>
<title>You will be redirected... </title>
If you are not redirected automatically, please click <a href="<?php echo $url; ?>">here</a>.