Salut,
Dans le post, ils te disent d’executer une requête MySQL pour rétablir
certains rôles qui doivent être là par défaut.
Pour cela, il faut que tu enregistres le texte ci-dessous sous le fichier
egw_pm_roles.sql et ensuite tu te rends dans un shell pour executer la
commande suivante:
mysql egroupware --user=egroupware -p < egw_pm_roles.sql
(en supposant que ton utilisateur et ta base de données se nomment
egroupware).
Gauthier
Les lignes à copier dans le fichier egw_pm_roles.sql :
– MySQL dump 10.10
– Host: localhost Database: egroupware
– Server version 5.0.26-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT /;
/!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS /;
/!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION /;
/!40101 SET NAMES utf8 /;
/!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE /;
/!40103 SET TIME_ZONE=’+00:00’ /;
/!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 /;
/!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
FOREIGN_KEY_CHECKS=0 /;
/!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=‘NO_AUTO_VALUE_ON_ZERO’ /;
/!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
–
– Table structure for table egw_pm_roles
DROP TABLE IF EXISTS egw_pm_roles;
CREATE TABLE egw_pm_roles (
role_id int(11) NOT NULL auto_increment,
pm_id int(11) default ‘0’,
role_title varchar(80) NOT NULL default ‘’,
role_description varchar(255) default NULL,
role_acl int(11) NOT NULL default ‘0’,
PRIMARY KEY (role_id),
KEY egw_pm_roles_id (pm_id)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
–
– Dumping data for table egw_pm_roles
LOCK TABLES egw_pm_roles WRITE;
/*!40000 ALTER TABLE egw_pm_roles DISABLE KEYS /;
INSERT INTO egw_pm_roles VALUES (1,0,‘Coordinator’,‘full
access’,65535),(2,0,‘Accounting’,‘edit access, incl. editing budget and
elements’,199),(3,0,‘Assistant’,‘read access, incl. budget and adding
elements’,67),(4,0,‘Projectmember’,‘read access, no
budget’,1),(6,0,‘Test’,‘alles’,207);
/!40000 ALTER TABLE egw_pm_roles ENABLE KEYS /;
UNLOCK TABLES;
/!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE /;
/!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS /;
/!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS /;
/!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT /;
/!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS /;
/!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION /;
/!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Bonjour,
Lorsque j’accède au module projectmanager j’ai ce message d’erreur en haut
de la page :
Warning: array_values() [function.array-values]: The argument should be an
array in
/xxxxx/xxxxx/www/egroupware/projectmanager/inc/class.uiprojectmanager.inc.php
on line 488
Auriez vous la réponse à mon problème ???
Merci d’avance
View this message in context:
http://www.nabble.com/Problème-module-projectmanager-tf4880859s3741.html#a13968205
Sent from the egroupware-french mailing list archive at Nabble.com.
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft® Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
egroupware-french mailing list
egroupware-french@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-french
–
Gauthier DOUCHET