1
           
            
                
     
    
    Hi everyone.. hope someone understand my problem.
We are creating a Module call autocenter on XOOPS 2.13.2 but we have a problem with permissions.
Wwe have the username: prueba and we create a group call "concecionarios"
on groups we allow this group concecionarios to have admin rights on the module autocenter (only)
when user login , it does not get the administration link. unles he go to autocenter module. ( that make sense..)
but when the user go to ADMIN page of the module everything work, exept PREFERENCES wich give the message saying " you dont have permissions to access this area"
Here is the error debug on site.com/admin.php
 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 57  
Here are the Debug on the "you dont have permission text"
 Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491 
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 239 
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 386  
Here is the DEBUG on MSQL /blocks
 Queries  
SELECT * FROM cote_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC  
SELECT sess_data FROM cote_session WHERE sess_id = '1667c495ca9923c4163bcac5c3cdff01'  
SELECT * FROM cote_users WHERE uid=5  
SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND gperm_itemid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6'))  
SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND gperm_itemid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6'))  
SELECT COUNT(*) FROM cote_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_admin' AND (gperm_groupid = '2' OR gperm_groupid = '6'))  
SELECT * FROM cote_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '2' OR gperm_groupid = '6'))  
Total: 7 queries  
 
Blocks  
Total: 0 blocks  
 
Execution Time  
XOOPS took 0.062299013137817 seconds to load.  
 
Extra