Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: image manager category gone ?
by Rou4cn on 2003/12/3 4:48:35

Quote:

kjs222 wrote:
I found a quick fix. The problem is caused by an odd deletion of rows in the group_permissions table.

If you go into that table, you'll it probably has no rows that look like this:

gperm_id = 2509 (primary table ID)
gperm_groupid = 1 (the group # with this permission - 1 is required to see in admin)
gperm_itemid = 7 (this is the image category ID, see img category table)
gperm_modid = 1 (this should be 1 for you too - aka System Module)
gperm_name = imgcat_read

You just need to insert one such row for each itemid (aka image category). Everything else should be in-tact. Not sure what causes the problem, but hopefully this should solve it for you.

If you are unsure of the syntax, you can also go to your image manager, create a new category, and then look at it in the gperm table... then you can just duplicate the entry for each itemid.

Best wishes,
Keith


done. Thanks.

first make it can be read. then edit it to be writen by the certain grounps. then the row will be added.
Re: image manager category gone ?
by kjs222 on 2003/12/1 20:56:41

FYI, I think the issue on hand is that the fix causes the rows NOT to be deleted, however it doesn't restore the deleted rows... Not positive, but I suspect others might find that info useful.

So, for anyone who upgraded to fix the problem, they still need to re-insert rows (see my comment on how-to do that)
Re: image manager category gone ?
by Jan304 on 2003/12/1 20:44:55

Wasn't this fixed in XOOPS 2.0.5?

I believe when you change permissions it will delete the rows, painfully enough, BUT, it has been fixed.
Re: image manager category gone ?
by kjs222 on 2003/12/1 20:38:00

I found a quick fix. The problem is caused by an odd deletion of rows in the group_permissions table.

If you go into that table, you'll it probably has no rows that look like this:

gperm_id = 2509 (primary table ID)
gperm_groupid = 1 (the group # with this permission - 1 is required to see in admin)
gperm_itemid = 7 (this is the image category ID, see img category table)
gperm_modid = 1 (this should be 1 for you too - aka System Module)
gperm_name = imgcat_read

You just need to insert one such row for each itemid (aka image category). Everything else should be in-tact. Not sure what causes the problem, but hopefully this should solve it for you.

If you are unsure of the syntax, you can also go to your image manager, create a new category, and then look at it in the gperm table... then you can just duplicate the entry for each itemid.

Best wishes,
Keith
Re: image manager category gone ?
by Rou4cn on 2003/12/1 13:50:49

Quote:

onokazu wrote:
Sorry that I hadn't post anything here, but as knight said, this bug has been fixed on the CVS..


I have the same problem, while I restore the backup from xoops2.0.2 into a new Xoops2.0.5 by phpadmin, the table have all the data, but the image manager shows nothing, only which one is added from xoops2.0.5, even if I add a new one by phpadmin. (I know the strature of the table is not changed).
For example, I have 8 category before, but nothing shows in xoops2.0.5, then I add one, it shows 1 category only , then I add one by phpadmin(total is 10), still only the No.9 showed out.
It seem that some fuction can not automatic update according to the table of xoops_imagescategory.

any one overcome it?

I check the kernel/images*.php between xoops2.0.2 and xoops2.0.5 they are all same.
the /modules/system/admin/images/main.php is not much keywords changed.

Thanks.

Who's Online

78 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 78


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits