| Re: image manager category gone ? |
| by Rou4cn on 2003/12/3 4:48:35 Quote:
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:
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. |