Probleme à la création d'un cours sur un site

jboileau -  
 jboileau -
Bonjour,

je travaille sur claroline un open source

quand j'essaie de créer un cours
voici le message d'erreur que j'ai


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\wamp\www\formgreg1812\claroline\inc\lib\claro_main.lib.php on line 599

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\wamp\www\formgreg1812\claroline\inc\lib\claro_main.lib.php on line 599

Warning: Invalid argument supplied for foreach() in C:\wamp\www\formgreg1812\claroline\course\index.php on line 104

bien sur j'ai déjà posté sur le forum claroline

merci par avance
A voir également:

3 réponses

Bakux Messages postés 1195 Date d'inscription   Statut Membre Dernière intervention   188
 
Est ce que tu peux afficher le fichier si ca ne te derange pas merci ^^
0
jboileau
 
merci de me répondre

mais qu'entend tu par afficher le fichier ?

merci
0
graffx Messages postés 6506 Date d'inscription   Statut Contributeur Dernière intervention   1 975
 
un probleme de requete au dessus de array_merge et foreich, regarde tes requetes
0
jboileau
 
merci de me répondre

ou faut il regarder ?

merci
0
Bakux Messages postés 1195 Date d'inscription   Statut Membre Dernière intervention   188 > jboileau
 
Peux-tu mettre ici le contenu du fichier "claro_main.lib.ph­p" si cela ne te gène pas ^^
0
jboileau > Bakux Messages postés 1195 Date d'inscription   Statut Membre Dernière intervention  
 
voici le pb merci

<?php
/** * DONT EDIT THIS FILE - NE MODIFIEZ PAS CE FICHIER
* -------------------------------------------------
* Generated by
C:
/wamp
/www
/formgreg1812
/claroline
/inc
/lib
/config.class.php
* Date September 13, 2009 at 11:32 AM
* -------------------------------------------------
* DONT EDIT THIS FILE - NE MODIFIEZ PAS CE FICHIER
**/

// $CLMAINGenDate is an internal mark
$CLMAINGenDate = "1252834376";

/* siteName : Platform name */
$GLOBALS['siteName'] = 'Claroline';


/* siteLogo : Display the logo of the platform. (http://www.domain.tld/logo.gif) */
$GLOBALS['siteLogo'] = '';


/* institution_name : Name displayed in the top banner. */
$GLOBALS['institution_name'] = '';


/* institution_url : Organisation website */
$GLOBALS['institution_url'] = '';


/* institutionLogo : Display the logo of the organisation. (http://www.domain.tld/logo.gif) */
$GLOBALS['institutionLogo'] = '';


/* platformLanguage : Set the default language of the platform. It doesn't prevent course managers to set an other language for each course they create. */
$GLOBALS['platformLanguage'] = 'french';


/* language_to_display : For multilingual platform. Allow user to select his language from the list. */
$GLOBALS['language_to_display'] = array();


/* CLAROLANG : Translation: use a single language fileProduction: each script use its own language file. */
if (!defined("CLAROLANG")) define("CLAROLANG",'TRANSLATION');


/* dbHost : Host name */
/*
The hostname of mysql server
*/
$GLOBALS['dbHost'] = 'localhost';


/* dbLogin : Login */
/*
The login given by your administrator to connect on the mysql server
*/
$GLOBALS['dbLogin'] = 'root';


/* dbPass : Password */
/*
The clear password
*/
$GLOBALS['dbPass'] = '';


/* dbNamePrefix : This prefix could allow to order more easily the tables / DB in the user interface of your server technical back office */
/*
Prefix all created base (for courses) with this string
*/
$GLOBALS['dbNamePrefix'] = 'c_';


/* mainDbName : Change this setting only if it's absolutely required. */
$GLOBALS['mainDbName'] = 'forbas';


/* mainTblPrefix : Prefix for main table names */
$GLOBALS['mainTblPrefix'] = 'cl_';


/* statsDbName : This is where tracking and statistics data are stored. This database can be the same as the main database. */
$GLOBALS['statsDbName'] = 'forbas';


/* statsTblPrefix : Prefix for tracking table names */
$GLOBALS['statsTblPrefix'] = 'cl_';


/* platform_id : unique id of the platform */
$GLOBALS['platform_id'] = '3c7a8d7696245912d4e9e86f320077d3';


/* is_trackingEnabled : Log of user activities on the whole platform (course access, tool use, ...). */
$GLOBALS['is_trackingEnabled'] = TRUE;


/* singleDbEnabled : Database mode */
$GLOBALS['singleDbEnabled'] = TRUE;


/* dbGlu : To find a table name, the choose database name is prepend to the table name.db glu is use between these two name.In multi db mode, IT MUST be a dot.In single db mode, IT CAN'T be a dot. */
$GLOBALS['dbGlu'] = '_';


/* courseTablePrefix : This prefix is added to each course table name. It's usefull in single database mode as it groups all course tables together. */
$GLOBALS['courseTablePrefix'] = '';


/* mysqlRepositorySys : This is the physical path to databases storage. This path is optional, use by the quota and size. */
$GLOBALS['mysqlRepositorySys'] = 'C:/wamp/bin/mysql/mysql5.1.30/data/';


/* smtp_host : Give a SMTP server name to turn on SMTP mode. (e.g. smtp1.site.com or smtp1.site.com;smtp2.site.com) */
$GLOBALS['smtp_host'] = '';


/* smtp_username : Give a username and password to turn on SMTP authentication. */
$GLOBALS['smtp_username'] = '';


/* smtp_password : Password */
$GLOBALS['smtp_password'] = '';


/* rootWeb : Example : http://www.yourdomain.tld/mycampus/ */
$GLOBALS['rootWeb'] = 'http://localhost/formgreg1812/';


/* urlAppend : Common part of both parameters above. */
/*
no trailing / in this value
*/
$GLOBALS['urlAppend'] = '/formgreg1812';


/* rootSys : Relative to the complete platform url */
/*
The hostname of mysql server
*/
$GLOBALS['rootSys'] = 'C:/wamp/www/formgreg1812/';


/* tmpPathSys : Note : this repository should be protected with a .htaccess or
be placed outside the web. Because there contain data of private courses. Claroline Would be able to read and write in this dir */
$GLOBALS['tmpPathSys'] = 'tmp/';


/* cacheRepository : Note : this repository should be protected with a .htaccess or
be placed outside the web. Because there contain data of private courses. Claroline Would be able to read and write in this dir */
$GLOBALS['cacheRepository'] = 'tmp/cache/';


/* garbageRepositorySys : Absolute sys path to the place where are move data of a deleted course. */
$GLOBALS['garbageRepositorySys'] = 'C:/wamp/www/formgreg1812/tmp/garbage';


/* claro_stylesheet : Set the Cascading Style Sheet (CSS) layout. */
$GLOBALS['claro_stylesheet'] = 'default.css';


/* claro_editor : Set the editor that will replace standard html textarea. */
$GLOBALS['claro_editor'] = 'tiny_mce';


/* administrator_name : Name */
$GLOBALS['administrator_name'] = 'b a';


/* administrator_email : E-mail */
$GLOBALS['administrator_email'] = 'a@gmail.com';


/* administrator_phone : Phone */
$GLOBALS['administrator_phone'] = '';


/* claro_texRendererUrl : This renderer is used for TEX/LaTEX expressions. It is available into the 'claroline/inc/lib/' directory and has to be copied on a server location where CGI programs are expected. */
/*
Put above the complete url of your TEX renderer. This url doesn't have to be
specially on the same server than Claroline.

Claroline uses the MIMETEX renderer created by John Forkosh and available
under the GNU licences at http://www.forkosh.com

MIMETEX parses TEX/LaTEX mathematical expressions and emits gif images from
them. You'll find precompilated versions of MIMETEX for various platform in
the "claroline/inc/lib/" directory. Move the executable file that
corresponding to your platform into its "cgi-bin/" directory, where cgi
programs are expected (this directory are typically of the form
"somewhere/www/cgi-bin/"), and change the execution permissions if necessary.

If you're not able or allowed to set MIMETEX on a server, leave the setting
below to "false". Claroline will then try to use another method for rendering
TEX/LaTEX mathematical expression, relying on a plug-in client side this
time. For this, user has to install the TECHEXPLORER plug-in, freely
available for both Windows, Macintosh and Linux at
http://www.integretechpub.com/.
*/
$GLOBALS['claro_texRendererUrl'] = '';


/* userPasswordCrypted : Crypt passwords */
$GLOBALS['userPasswordCrypted'] = FALSE;


/* allowSelfReg : Display link "Create user account" on the platform homepage. */
$GLOBALS['allowSelfReg'] = TRUE;


/* clarolineRepositoryAppend : Relative path from root campus to claroline code */
$GLOBALS['clarolineRepositoryAppend'] = 'claroline/';


/* coursesRepositoryAppend : relative path from root campus to courses */
$GLOBALS['coursesRepositoryAppend'] = 'courses/';


/* rootAdminAppend : Relative path from claroline kernel to root of admin section */
$GLOBALS['rootAdminAppend'] = 'admin/';


/* imgRepositoryAppend : Relative path from claroline web to icon set */
$GLOBALS['imgRepositoryAppend'] = 'img/';


/* userImageRepositoryAppend : relative path from root web to user pic repository */
$GLOBALS['userImageRepositoryAppend'] = 'platform/img/users/';


/* CLARO_DEBUG_MODE : More verbose when error occurs. */
if (!defined("CLARO_DEBUG_MODE")) define("CLARO_DEBUG_MODE",FALSE);


/* CLARO_PROFILE_SQL : Profile SQL in DEBUG MODE.Display for each request :duration, counter, statement */
if (!defined("CLARO_PROFILE_SQL")) define("CLARO_PROFILE_SQL",FALSE);


/* warnSessionLost : Warn users when they loose their session on the platform */
$GLOBALS['warnSessionLost'] = TRUE;


/* DEVEL_MODE : Add addtionnal tools in the SDK section of the platform administration. */
if (!defined("DEVEL_MODE")) define("DEVEL_MODE",FALSE);


/* allowToSelfEnroll : Display links to enrol/unenrol to course on the homepage of the user */
$GLOBALS['allowToSelfEnroll'] = TRUE;


/* module_cache_filename : filename for one file module inclusion */
$GLOBALS['module_cache_filename'] = 'moduleCache.inc.php';


/* claro_brailleViewMode : This feature is use for institute with blind users. I fact, System would be ehanced to activate this view user by user */
$GLOBALS['claro_brailleViewMode'] = FALSE;


/* secureDocumentDownload : Increase the security of file download. This option only works on Apache Server. To be really secure, this option have to be completed by an .htaccess file on the course folders. */
$GLOBALS['secureDocumentDownload'] = FALSE;



?>
0
jboileau > jboileau
 
désolé je me suis planté (j'ai pas bien lu)
je cherche le bon fichier et je le place
0
jboileau > Bakux Messages postés 1195 Date d'inscription   Statut Membre Dernière intervention  
 
as tu recu mon fichier ?
0
jboileau
 
ça ne marche pas
je ne vois pas comment ça pourrait marcher
as tu qq explications ?

merci
0