1 (edited by XuMiX 2005-01-27 04:18)

Topic: [1.2] DB error when i try to modify forum access perms

     PunBB 1.2 - Check for upgrade
    © Copyright 2002, 2003, 2004, 2005 Rickard Andersson 
Server load
    0.19 0.34 0.34 (1 users online) 
Environment
    Operating system: Linux
    PHP: 4.3.9 - Show info
    Accelerator: N/A 
Database
    PostgreSQL 8.0.0 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-42)

So , go to admin -forums - edit some forum to, for example remove "post replies" perms for some group, save, now try to remove "post topics" perms for this group too - you should get

File: /mnt/dev/www/dev/admin_forums.php
Line: 204

PunBB reported: Unable to insert group forum permissions

Database reported: ERROR: ????????? ???? ???????? ?????????? UNIQUE "pun_forum_perms_pkey"

It seems to me, $db->affected_rows show empty result for some reason

Re: [1.2] DB error when i try to modify forum access perms

Odd. I'll look into it tonight.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: [1.2] DB error when i try to modify forum access perms

Fix.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

4

Re: [1.2] DB error when i try to modify forum access perms

thx!