Fork me on GitHub

Rapport de message :*
 

Re: probleme de permission tinyeditor/smartsection

Titre du sujet : Re: probleme de permission tinyeditor/smartsection
par frankblack sur 14/12/2006 22:06:03

Sigh, what a mess!

OK, try this and report me:

a) Are you using tinyeditor 1 RC1? Or another version?
b) For which group do you want to create toolsets? A new group or the ones that came with the installation (webmaster, registered, guests)?
c) Have a look into the database if there is something happening after you changed the toolbar
d) Try to echo some things. First we take initcode.php to experiment with.

Insert this:
echo "thegroupid: ".$thegroupid;
  die();

right before:
$sqlgetbuts "SELECT tinyed_id, tinyed_gid, tinyed_row1, tinyed_row2, tinyed_row3, activeplugs, validelements, extvalidelements, invalidelements FROM ".$xoopsDB->prefix('tinyeditor_toolset')." WHERE tinyed_gid = ".intval($thegroupid)."";


Login as a user within the group for which the toolbars are not working and compare if the groupid you will see is the groupid of the user's group. Report. If this is the correct group delete the above code.

Edit toolsets.php and change the following line:
redirect_header('toolsets.php'2_AM_TINYED_DBUPDATED);

to:
redirect_header('toolsets.php'200_AM_TINYED_DBUPDATED);


Activate mysql/block-debug (as popup). Visit toolsets and make some changes to the toolbar and submit the form. Take a look at the debug-pop to see if there are mysql-errors displayed. If none, revert the changes.

That's it for the moment. If this experiments do not give any hints I reached the end of my (short) wisdom.

atb
frankblack
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

13 Personne(s) en ligne (8 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 13 | Plus ...