1

Topic: Fatal error: Call to undefined function: confirm_referrer()

Hello !

( sorry for my band english, i'm a french webmaster )

I have install punbb and punbb work perfectly !

I have rewrite url with modifications and this htacess code :

RewriteEngine on
 
RewriteRule ^index.html$ /forum/index.php [L]
RewriteRule ^forum-([0-9]+)-([0-9]+).html$ /forum/viewforum.php?id=$1&p=$2 [L]
RewriteRule ^forum-([0-9]+)(.*)$ /forum/viewforum.php?id=$1 [L]
RewriteRule ^sujet-([0-9]+)-([0-9]+).html$ /forum/viewtopic.php?id=$1&p=$2 [L]
RewriteRule ^sujet-([0-9]+)(.*)$ /forum/viewtopic.php?id=$1 [L]
RewriteRule ^message-([0-9]+)(.*)$ /forum/viewtopic.php?pid=$1 [L]
RewriteRule ^profil-([0-9]+)(.*)$ /forum/profile.php?id=$1 [L]
RewriteRule ^inscription.html$ /forum/register.php [L]
RewriteRule ^connexion.html$ /forum/login.php [L]
RewriteRule ^recherche.html$ /forum/search.php [L]
RewriteRule ^recherche-([0-9]+).html$ /forum/search.php?search_id=$1 [L]
RewriteRule ^recherche-([0-9]+)-([0-9]+).html$ /forum/search.php?search_id=$1&p=$2 [L]
RewriteRule ^utilisateurs.html$ /forum/userlist.php [L]
RewriteRule ^recherche-24-heures.html$ /forum/search.php?action=show_24h [L]
RewriteRule ^([0-9]+)-mes-messages.html$ /forum/search.php?action=show_user&user_id=$1 [L]
RewriteRule ^mes-marque-pages.html$ /forum/search.php?action=show_subscriptions [L]
RewriteRule ^recherche-sans-reponse.html$ /forum/search.php??action=show_unanswered [L]
RewriteRule ^profile-([0-9]+)(.*)$ /forum/profile.php?id=$1 [L]
RewriteRule ^utilisateurs-pseudo(.*)-groupe(.*)-sort(.*)-ordre(.*)-([0-9]+)(.*)$ /forum/userlist.php?username=$1&show_group=$2&sort_by=$3&sort_dir=$4&p=$5 [L]
RewriteRule ^regles.html$ /forum/misc.php?action=rules [L]

Now when i want add a forum, i see this error :

Fatal error: Call to undefined function: confirm_referrer() in /home/site762/web/www/forum/admin_forums.php on line 41

Punbb work in a subfolder /forum/ !

I am lost, I need help, thank you very much smile

2

Re: Fatal error: Call to undefined function: confirm_referrer()

That's not a PunBB bug. That is merely caused by your rewrite rules. It would appear that is happening due to everything being forwarded to a hardcoded destination directory. You need to use a regex for capturing and defining the destination directory location.

Re: Fatal error: Call to undefined function: confirm_referrer()

Moved to Modifications

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize