User:AGiuseppe
From Wiki.ooo4kids.org
Name : Amella Giuseppe
Age : 23
city : La Louvière
country : Belgium
Languages spoken : French, English
Informatic languages learned : C, C++ (+ SDL, + OpenGL), VB6, Java, HTML, Cobol.
OS: Ubuntu 10.10 x64
Before
Installed : Kvirc-4.0.2-Insomnia as IRC Client ;
G++ for compile C++ code with Code::Block ;
Code::Block for compile sources code in C++;
Cygwin for summon a unix shell;
TortoiseSVN-1.6.11 for download source code on SVN Server;
OOO4KIDS Sources Code Downloaded.
3.11.2010
Problem resolved with source code directories :
File Vcl and Tools was corrupted when they was downloaded.
I've delete and update them and it's OK;
Midnight Commander installed for Cygwin Shell ;
4.11.2010
Midnight Commander in Cygwin discovered ;
Splitting hard disk to transfer source code ;
5.11.2010
Installation of Visual Studio Express 2008
Installation of OOo4Kids restarted (Because there was many errors):
- Cygwin packages added
- svn checked (problem with package on error "/usr/bin/svn.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory" i had relaunched the installation and it's OK)
- Source code checked
10.11.2010
error with symlink awk.exe fixed : after "cp gawk.exe awk.exe" just remove or rename awk file (not awk.exe but "awk") in awk_back. ./Configure will not see this file and it's ok ;
command line used for ./configure is :
./configure --with-OOo4Kids --disable-directx --disable-binfilter --with-lang=fr --disable-odk --disable-mozilla --enable-directx --disable-activex --disable-atl --with-java=no --with-use-shell=bash --disable-binfilter --with-frame-home=/home/Giuseppe/tools/MSDK/v6.1 --with-psdk-home=/home/Giuseppe/tools/MSDK/v6.1 --with-midl-path=/home/Giuseppe/tools/MSDK/v6.1/bin/ --with-asm-home=/home/Giuseppe/tools/msvc/VC --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5
error with Visual Studio fixed (files corrupted) : reinstall;
error with parameters of the command ./configure (visual c++ 2008 too old) : "--disable-directx" added and "--with-cl-home=/home/Giuseppe/tools/msvc/VC" removed (it has token the folder in c:\ by default);
./bootstrap done ;
12.11.2010
./configure --with-OOo4Kids --disable-binfilter --with-lang=fr --disable-odk --disable-mozilla --enable-directx --disable-activex --disable-atl --with-java=no --with-cl-home=/home/Giuseppe/tools/msvc/VC --with-use-shell=bash --disable-binfilter --with-frame-home=/home/Giuseppe/tools/MSDK/v6.1 --with-psdk-home=/home/Giuseppe/tools/MSDK/v6.1 --with-midl-path=/home/Giuseppe/tools/MSDK/v6.1/bin/ --with-asm-home=/home/Giuseppe/tools/msvc/VC --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5
; without error
./bootstrap ; without error
source winenv.set.sh ; without error
in instsetoo_native\ build --all -P2 -- -P2 ; error with module udkapi and icu
6.12.2010
Linux Ubuntu 10.10 x64 installed with difficulty : My "Intel HD Graphics" card was not supported
etc\X11\xorg.conf replaced by etc\X11\xorg.conf.failsafe and then update and it's OK.
"Permission denided" for ./configure
7.12.2010
Windows 7 crashed (black screen in starting). Try to fix it.
8.12.2010
Uninstallation of windows 7 and Linux Ubuntu X64 installed in main OS
9.12.2010
install packages ..................... OK
configure............................. OK
bootstrap............................. OK
source LinuxX86-64Env.Set.sh.......... OK
set | grep OOo4Kids................... OOo4Kids=YES
build --all -P6 -- -P6 ............... OK
install with deb packages............. OK
in conclusion of this month lose to try to compile OOO4KIDS : DONT DO IT IN WINDOWS... PREFERE LINUX. It avoid you to have headache and to make you hysteric too.
19.12.2010 and 20.12.2010
Try to understand how add an new empty slot:
SFX.HRC //informations in slot
#define RID_CHANGEUSERLEVEL (RID_SFX_START+21)
#define USERLEVEL_VALUE_LOW 1
#define USERLEVEL_VALUE_MEDIUM 2
#define USERLEVEL_VALUE_HIGH 3
// I think about something. what are #define for UserLevel ?! maybe that ?
SFX.SDI //define a slot
SfxVoidItem ShowUserLevel SID_CHANGEUSERLEVEL
()
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = FALSE,
HasCoreId = FALSE,
HasDialog = TRUE,
ReadOnlyDoc = TRUE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
Synchron;
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
StatusBarConfig = FALSE,
ToolBoxConfig = TRUE,
GroupId = GID_APPLICATION;
]
SFXSIDS.HRC
define SID_CHANGEUSERLEVEL (SID_SFX_START + 305)
APPSLOT.SDI //Interface definition
SID_USERLEVEL
[
ExecMethod = MiscExec_Impl ;
]
6.01.2011 and 7.12.2011
http://wiki.ooo4kids.org/index.php/IRCMeetings/january2010/6january read
"campus libre" project joined
Lamp server installed
install Dokeos free 1.8.66.1 in local ==> trouble with installation : no access permissions of var/www
trouble with access permissions resolved :
- make a directory in your home directory (like RootPHP\)
- change in "/etc/apache2/sites-enabled/000-default" : "DocumentRoot /home/giuseppe/RootPHP/" by "DocumentRoot /home/giuseppe/RootPHP/"
- change permissions of RootPHP\ with right click and properties
8.01.2011 and 9.01.2011
Installation of Dokeos with GD extention of php missing.
GD extention installed with command in shell : sudo /usr/bin/apt-get install php5-mysql php5-gd unzip
Dokeos work without error
Testing Dokeos
10.01.2011 and 11.01.2011
Read Dokeos Manual
Write Campus Libre Manual
14.01.2011 and 15.01.2011
Write Campus Libre Manual
19.01.2011 and 20.01.2011
bug found in "profil" section on Campus Libre. Can't change my own information. Campus Libre Manual "finished". Just wait for fix bug to continue
21.01.2011 and 22.01.2011
Book of specification of Campus Libre. Campus libre Manual search informations about LOMFR
24.01.2011
search informations about LOMFR
25.01.2011 and 26.01.2011
Book of specification of Campus Libre. search informations about LOMFR
27.01.2011 and 26.01.2011
Book of specification of Campus Libre accepted. We must do the gantt diagram
01.02.2011
diagram gantt finished with Planner software
3.02.2011
gant diagram failled. We must see how do a gantt diagram with cycle developpement steps
3.02.2011 and 4.02.2011
searching information about gantt diagram
7.02.2011
searching information about gantt diagram searching information about cycle devellopement project
8.02.2011 and 9.02.2011
searching information about cycle devellopement project remake of gantt diagram with devellopement. I choose the cascading cycle devellopement for the gantt diagram.
web page used for cycle devellopment project
10.02.2011
gantt diagram accepted
11.02.2011
watch about how to install lomfr into campus libre
14.02.2011
search information about lomfr problem to know how generate xml file with lomfr norm
15.02.2011
search information about lomfr same problem of 14.01.2011. exemples find of xml lomfr tests
16.02.2011
need to know how XML langage is use.
initiation website of XML in french
21.02.2011
tryies done in local Dokeos for LOMFR
22.02.2011
LOM found in Dokeos.
15.03.2011
to describe an object in dokeos there are 4 parameters : * - eid= entry-id = object-id = type.identifier, e.g. 'Document.12'; * - lfn= filename of a language file, default= 'md_' + type, e.g. 'md_doc'; * - htt= HTML template file (same dir as script), default= same as lfn; * - dbg= debuginfo start number, e.g. 10000
16.03.2011
found functions for Dokeos databases and explications
17.03.2011
possibilities to switch Dokeos with Chamilo. searching informations about Chamilo
18.03.2011
search about informations of Chamilo: Databases is not the same. Test Chamilo 1.8. Probleme on installation of rights on folder. chmod 666 resolve de problem I think Chamilo 1.8 have same fonctions than lastest dokeos.
21.03.2011
Test Chamilo 2.0. I think Chamilo 2.0 is more appropriate to our needs. I hope our work in Dokeos will be usable in Chamilo
22.03.2011 and 23.03.2011
Test Chamilo 2.0.
24.03.2011 and 25.03.2011
problems apeared with Chamilo. Test if there is a link with apache2. Change configuration of apache2. Same problem. search about solutions.
28.03.2011
search about solution. solution found: buffer in apache2 was set to OFF. I switched it ON.
29.03.2011 and 30.03.2011
Other problem: Dokeos can't be launched. search about solution
01.04.2011
Uninstall/Reinstall LAMP Server and Dokeos. Problem resolved. error message in "/main/search/index.php": - Xapian n'est pas installé. search module Xapian not found for search. See how to install this. ==> sudo apt-get install php5-xapian ==> sudo apt-get install xapian-tools ==> sudo apt-get install xapian-omega Xapian is installed. now there is an other problem : - La fonctionnalité de recherche n'est pas activée sur ce portail. Veuillez contacter l'administrateur. - Erreur : Échec à l'ouverture de la base de données de recherche
04.04.2011
Found a step-by-step handler (but it's in Ubuntu 8.10) I try anyway:
On Ubuntu 8.10
DOKEOS 1.8.5 + XAPIAN in Ubuntu 8.10
1. Execute dokeos_main_corp.sql
(dokeos_main_corp.sql doesn't exist)
2. Go to main/admin/settings.php?category=Tools and add the search params Full-text search feature
(done)
3. Add specific fields in main/admin/specific_fields.php
(must know what is the specifics fields)
4. Add specific search field i.e. Author, Body part, Technology, Topic
(must know what is the specifics fields)
5. Install php5 + xapian apt-get install php5-xapian
(done)
6. Install sudo apt-get install imagemagick sudo apt-get install php5-imagick
(done)
7. On Dokeos root mkdir searchdb chmod 777 searchdb
(done)
8. Useful xapian development tools apt-get install xapian-doc xapian-tools
(done)
9. Restart Apache
(done)
10. Create a course and 2 LP for testing 11. Edit the LPs created and add/edit the specific fields (i.e. Author, Body part, Technology, Topic)
05.04.2011
10. Create a course and 2 LP for testing
(done)
11. Edit the LPs created and add/edit the specific fields (i.e. Author, Body part, Technology, Topic)
06.04.2011 and 07.04.2011
It need a plugin of search : This search plugin called mnogoSearch. search informations about mnogoSearch On the readme file it's write : "This search plugin relies on a search server, called MnogoSearch, which has to be installed independently on a Linux server (the Windows version, sadly, is not GPL nor free to use)." but on the official website : " mnoGoSearch for UNIX is a free software covered by the GNU General Public License. It consists of a command line indexer and a search program which can be run under Apache Web Server, or any other HTTP server supporting CGI interface. mnoGoSearch for Unix is distributed in sources and can be compiled with a number of databases, depending on user's choice. It is known to work on a wide variety of the modern Unix operating systems including Linux, FreeBSD, Mac OSX, Solaris and others." It's the same mnoGoSearch ?
11.04.2011
SOLR
Il est possible de communiquer avec SOLR via un ensemble de webservices. Il est donc tout à fait possible d’indexer du contenu ou d’effectuer des recherches depuis une application PHP telle que VirtueMart ou Joomla. "SOLR est un serveur de recherche Open Source basé sur Lucene. C’est un logiciel libre réalisé en Java soutenu par la Fondation Apache. Il permet d’indexer une base de données via Lucene, sans qu’il soit nécessaire de programmer une seule ligne de code. Il est possible de communiquer avec SOLR via un ensemble de webservices. Il est donc tout à fait possible d’indexer du contenu ou d’effectuer des recherches depuis une application PHP telle que VirtueMart ou Joomla."
(http://libre-d-esprit.thinking-days.net/tag/solr/)
Comme Lucene, Solr est développé en Java. Il étend les fonctionnalités de
Lucene et en simplifie la mise en oeuvre. Sorl fournit principalement 3 choses :
un web service d’indexation des données
un web service de recherche
une interface web d’administration
Avec Solr, les documents sont ajoutés à une collection via « XML over HTTP »
(une requête HTTP en mode POST qui envoit des données XML décrivant le document
à indexer), et les recherches sont faites avec au moyen d’une requête HTTP qui
retourne un résultat au format XML (les documents correspondants à la requête).
Le traitement des requêtes HTTP par Solr se fait au moyen d’une servlet
(installé sous Tomcat par exemple).
Les 3 principaux avantages à utiliser Solr et non pas Lucene seul sont :
- Le fonctionnement en mode services WEB (REST), c’est à dire, la
possibilité d’indexer et de rechercher des documents sans la moindre ligne de
code si ce n’est la construction des données XML pour l’indexation et
l’exploitation des données XML retournées par une recherche
- l’utilisation dans des applications écrites dans n’importe quel langage
et permettant de communiquer en HTTP
- Solr étend et optimise Lucene (performances, analyseurs de texte,
monitoring, …)
Les fonctionnalité principales ajoutées à Lucene sont :
- Configuration au moyen de fichiers XML
- Mise en évidence des termes trouvés (Hit highlighting)
- Navigateurs dans les résultats (Faceted search)
- Gestion de cache
- Une interface d’administration Web
- Architecture extensible basée sur des plugin
- Optimisation pour des hauts trafics Web
- Statistiques
(http://www.zoonix.fr/2008/09/18/presentation-de-lucene-solr/)
<b>LUCENE</b> "Lucene est un moteur de recherche libre écrit en Java qui permet d'indexer et de rechercher du texte. C'est un projet open source de la fondation Apache mis à disposition sous licence Apache. Il est également disponible pour les langages Ruby, Perl, C++, PHP."
(http://fr.wikipedia.org/wiki/Lucene)
Tutorial :http://lucene.apache.org/solr/tutorial.html
13.04.2011
install solr : solr$ ls solr-nightly.zip solr$ unzip -q solr-nightly.zip solr$ cd solr-nightly/example/
15.04.2011
solr$ ls solr-nightly.zip solr$ unzip -q solr-nightly.zip solr$ cd solr-nightly/example/
16.04.2011
problem to query in Dokeos
19.04.2011
Upgrading from Dokeos to Chamilo 1.8.7 is really easy. We must install chamilo
on Dokeos.
check that you haven't left any customised stylesheet or image*
download the Chamilo 1.8.7.1 Palmas install package from the Chamilo download page
unzip the new files of Chamilo 1.8.7.1 over the files of the older version
(or unzip the files in one folder and then copy the files from there to the older version's directory)
update $_configuration['system_version'] to '1.8.7.1' in the main/inc
/conf/configuration.php file
that's it! You are now using Chamilo 1.8.7.1
19.04.2011
search informations to upgrade Chamilo 1.8.7.1 in Chamilo 2.0 Chamilo 2.0 of Chamilo 1.8.7.1 is too different to upgrade as easier than Dokeos.
21.04.2011
Chamilo 2.0 is in beta-test step. Must we wait the alpha to have an upgrade ? It will be not as easy as Chamilo 1.8.7.1. to upgrade. on the forum of chamilo: "Sauf erreur, actuellement, il n'est pas possible de migrer facilement de la version 1.8.7.1 vers la version 2.0. Les structures de base de données sont très différentes. Par ailleurs, aux dernières nouvelles, certaines fonctionnalités de 1.8.7.1 ne sont pas encore dans 2.0 donc le transfert de cours pose également quelques soucis." but in another website : "Dokeos 1.8.6 to Chamilo 1.8.7 to Chamilo 2.0 Chamilo 1.8.7 n'est qu'un clone de Dokeos 1.8.6 avec quelques modifications mineures. Par contre de Chamilo 1.8.7 à Chamilo 2.0 on change totalement le noyau de la plateforme. Je précise encore une fois que l'interface ainsi que les fonctionnalités présentent sur Chamilo 1.8.7 se retrouveront sur Chamilo 2.0. Les utilisateurs de la version 1.8.7 ne doivent pas se faire de souci il sera tout aussi aisé de passer de la version 1.8.7 à la 2.0 qu'avec les versions précédentes. L'upgrade permettant de passer de la version 1.8.7 à la version 2.0 sera disponible avec la première version stable de la version 2.0 (début 2011). "