Upgraded to 1.4.1 and had problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
mbarnett
Posts: 1
Joined: Wed Aug 25, 2004 2:50 am

Upgraded to 1.4.1 and had problem

Post by mbarnett »

Fatal error: Call to undefined function: allowed() in /home/www/aquabid/faq/admin/config.edit.php on line 20
In the admin, if I click on COnfiguration I get the above error.

Lines 19, 20, and 21 in config.edit.php are
******************************************************************************/
if (allowed("editconfig",$auth_user) == 1) {
?>
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgraded to 1.4.1 and had problem

Post by Thorsten »

Hi!
mbarnett wrote: if (allowed("editconfig",$auth_user) == 1) {
?>
This is an old line, it should be:

Code: Select all

if ($permission["editconfig"]) {
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply