Replacing chart.apis.google.com with chart.googleapis.com.

1.9.x
Julio Montoya 11 years ago
parent 2675ed4fa9
commit 0e7b85e5c2
  1. 116
      documentation/installation_guide.html
  2. 52
      documentation/installation_guide_es_ES.html
  3. 6
      main/inc/lib/javascript/asciimath/ASCIIMathML.js

@ -23,17 +23,17 @@
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li ><a href="readme.html">About</a></li>
<li ><a href="license.html">License</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="dependencies.html">Dependencies</a></li>
<li ><a href="license.html">License</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="dependencies.html">Dependencies</a></li>
<li><a href="changelog.html">Changelog</a></li>
</ul>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
</div>
<div class="container">
<div class="container">
<h1>Chamilo - Installation Guide</h1>
<p>Thank you for downloading Chamilo</p>
@ -102,9 +102,9 @@ For instance, on a Ubuntu server,&nbsp;use Shell or Synaptic following the
<h3><span style="font-weight: bold;">MySQL or MariaDB database server</span></h3>
You will need a login and password allowing to manage and create
You will need a login and password allowing to manage and create
a database. Usually, the default configuration on local computers is to allow you to connect as root with an empty password. It is highly recommended to change the password and define a user with access to only a specific database. Please refer to the MySQL or MariaDB documentation in order to do this.<br />
<span class="muted">Note that this has been greatly simplified since version 1.9, as it
<span class="muted">Note that this has been greatly simplified since version 1.9, as it
previously required to choose between multiple databases and a deprecated
single-database mode.</span><br />
@ -125,7 +125,7 @@ single-database mode.</span><br />
values. Consider changing the admin password to remember it.&nbsp;</li>
</ol>
<br />
The following directories need to be readable, writeable and executable by your web server.
The following directories need to be readable, writeable and executable by your web server.
<span class="muted">This usually requires no specific action on Windows servers, but will require a "chmod" under Linux and Mac. See instructions below.</span><br />Replace [chamilo] with the directory where your Chamilo installation is located):
<ul>
<li>[chamilo]/main/inc/conf/</li>
@ -141,15 +141,15 @@ enable CSS styles package upload and sub-language definition:
<li>[chamilo]/main/css/</li>
<li>[chamilo]/main/lang/</li>
</ul>
Since Chamilo 1.8.8, you can also enable full-text indexing features which
require the php5-xapian PHP's extension module to be installed. If you do use
Since Chamilo 1.8.8, you can also enable full-text indexing features which
require the php5-xapian PHP's extension module to be installed. If you do use
it, you will need to allow your system to write into the sarchdb directory:
<ul>
<li>[chamilo]/searchdb</li>
</ul>
If you find a tests/ directory at the root of your package, please delete it.
This is a development directory that has not been checked for security issues,
an it should *never* be accessible to final users on a production server.
</ul>
If you find a tests/ directory at the root of your package, please delete it.
This is a development directory that has not been checked for security issues,
an it should *never* be accessible to final users on a production server.
<p>On Linux, Mac OS X and BSD operating systems you can use the <em>chmod
0775</em> command for this (although we recommend you seek advice from an
@ -175,7 +175,7 @@ folders (by right-clicking on them).</p>
Do not modify the home_*.html files directly. Instead,
choose "Configure the homepage" in the Chamilo administration section.</p>
<p><span style="font-weight: bold;">Windows</span> : with all-in-one packages
<p><span style="font-weight: bold;">Windows</span> : with all-in-one packages
like XAMPP, you can install Chamilo easily. In this case (and unless you use it
in production), the login and password for MySQL will probably remain empty.</p>
@ -187,28 +187,28 @@ in production), the login and password for MySQL will probably remain empty.</p>
<ul>
<li><strong>Protect your configuration directory: </strong>
make sure no one (but you) can overwrite it. You can find the config directory in
make sure no one (but you) can overwrite it. You can find the config directory in
<em>(chamilo folder)</em>/main/inc/conf.
Make it read-only (windows/xwindows: right-click the file to edit the
properties. linux/bsd/macosx: use the chmod 0555 command). The config
file is created by your web server (Apache + PHP, usually) so you may
file is created by your web server (Apache + PHP, usually) so you may
need to be root user to change its permissions.</li>
<li><strong>Protect your installation folder: </strong>
if the <em>(chamilo folder)</em>/main/install
folder is still accessible, someone could install over your existing
version (you could lose your data that way). Move the folder somewhere
out of the web directories so it is not accessible, change its name,
delete it completely or edit its properties so no one can read or
out of the web directories so it is not accessible, change its name,
delete it completely or edit its properties so no one can read or
execute it.</li>
<li><strong>For better security: </strong>
making the files world-writeable will help you install, and it solves many
issues for people without much admin experience. However, it's more
secure to make a distinct user owner of all the chamilo files and folders,
and only give read access to the web server to all files, and write access
only to the directories previously mentioned. This way, these files need
only be readable and writeable by the Apache process owner, not by the
secure to make a distinct user owner of all the chamilo files and folders,
and only give read access to the web server to all files, and write access
only to the directories previously mentioned. This way, these files need
only be readable and writeable by the Apache process owner, not by the
entire world. It would also be adviseable to make all writeable directory
refuse the interpretation of PHP files (except for the root of the courses
directories). Don't hesitate to hire an experienced administrator to do that,
@ -236,9 +236,9 @@ To get the best out of Chamilo, you need to finetune your PHP settings. Consider
<ul>
<li>Editing php.ini file (on windows can be located at
<span style="font-weight: bold;">C:\xampp\php\php.ini</span>,
on Ubuntu Linux :
<li>Editing php.ini file (on windows can be located at
<span style="font-weight: bold;">C:\xampp\php\php.ini</span>,
on Ubuntu Linux :
<span style="font-weight: bold;">/etc/php5/apache2/php.ini</span></li>
<li>search the word "_max" and increase the two values to optimise the server</li>
<li>we recommend the following values : </li>
@ -264,12 +264,12 @@ these ones:</p>
<p>
Past Chamilo versions required register_globals to be set to On. This is
no longer necessary, this can (and should) be set to Off.
no longer necessary, this can (and should) be set to Off.
<span class="muted">It is considered a bad choice in terms of security to set register_globals to On.</a></p>
<p><strong>Note:</strong> if you are using PHP 5.3 or higher, you need to set
<p><strong>Note:</strong> if you are using PHP 5.3 or higher, you need to set
your <em>date.timezone</em> setting to whatever your server's timezone is.
For example, if your server is in the 'America/New_York' timezone, set this
For example, if your server is in the 'America/New_York' timezone, set this
in your php.ini:</p>
<div class="code">
@ -306,7 +306,7 @@ date.timezone = 'America/New_York'
<hr />
<h2><a name="3._Upgrade_from_a_previous_version_of"></a>3. Upgrade from a
<h2><a name="3._Upgrade_from_a_previous_version_of"></a>3. Upgrade from a
previous version of Chamilo LMS (1.*) or Dok€os (&lt;2.0)</h2>
Before upgrading, we <b>heavily</b> recommend you do a full backup of the previous
Chamilo or Dok€os directories and databases. If you are unsure how to achieve this
@ -319,9 +319,9 @@ GNU/GPLv3 and we cannot be held responsible for what would happen to your data
without professional supervision). This is why we *really* recommend you take
a full backup of your system before you upgrade.</em>
<br />
<div class="muted"> NOTE: This version of Chamilo can only be used to upgrade from
smaller versions of Chamilo or Dok€os. For example, you cannot use the normal
upgrade scripts from Chamilo 1.9 to upgrade from Dok€os 2.0. If you need this,
<div class="muted"> NOTE: This version of Chamilo can only be used to upgrade from
smaller versions of Chamilo or Dok€os. For example, you cannot use the normal
upgrade scripts from Chamilo 1.9 to upgrade from Dok€os 2.0. If you need this,
please contact one of the Chamilo Association's official providers <providers@chamilo.org>)</div>
<p></p>
@ -360,12 +360,12 @@ As this is only a minor version change from previous 1.9.* versions of Chamilo,
<li> point your browser on your portal URL + main/install/</li>
<li> choose your language and click&nbsp;<span style="font-style: italic;">Upgrade from 1.8.x</span></li>
</ul>
A bunch of Chamilo administrators have reported minor issues with the migration between versions considerably apart (like from Dok€os to Chamilo).
A bunch of Chamilo administrators have reported minor issues with the migration between versions considerably apart (like from Dok€os to Chamilo).
This might include loosing some assignments or forum posts. To avoid any ugly effect on your users, we recommend you first establish a checklist
of all the content that is critical to you, and that you keep a working copy of your previous site on the side. This way, it will be easier to
of all the content that is critical to you, and that you keep a working copy of your previous site on the side. This way, it will be easier to
manage the transition by letting your users get access to their contents from the previous site and making it easier for you to compare the two.
If you are experiencing difficulties, consider asking for help from a PHP developer or hiring an <a href="http://www.chamilo.org/en/providers" target="_blank">official Chamilo provider</a>. They will make sure
you get the best our of your Chamilo migration.
you get the best our of your Chamilo migration.
<br />
<span class="muted">* Styles and images are located in the main/css or main/img
@ -536,7 +536,7 @@ Newer distributions also allow downloading rpms for additional packages.</p>
<h3><b>Activating LDAP in Chamilo</b></h3>
<p class="muted">Note: The LDAP mechanism has been changed in 1.9. As a result, some of the following information might not be correct. Please check
<p class="muted">Note: The LDAP mechanism has been changed in 1.9. As a result, some of the following information might not be correct. Please check
the configuration settings inside Chamilo to learn the details.</p>
<p>
@ -666,8 +666,8 @@ Here is an example:
&nbsp;&nbsp;Allow from all<br />
&lt;/Directory&gt;<br />
</div>
<p>Adding a symbolic link can be done, under Windows, by creating a
shortcut to the mimetex.exe file from the cgi-bin directory, or under
Linux by issuing the following command:</p>
@ -679,22 +679,22 @@ Here is an example:
</li>
<li>5. Make sure that the file mimetex.cgi (or mimetex.exe) has right to be executed by the web-server process. For example, on a Ubuntu Linux system you may write a command like the following:
<div class="code">
sudo chmod a+x mimetex.cgi
</div>
</li>
<li>6. Make sure that the file mimetex.cgi (or mimetex.exe) has been uploaded in <b>BINARY</b> format.
This is another common problem; the fix is just to re-upload the file in ASCII format.
This is another common problem; the fix is just to re-upload the file in ASCII format.
You'll need to consult your FTP program's documentation to figure out how to switch modes.
BINARY mode is used for non-text items, such as executables (*.exe), zip files (*.zip), image files (*.jpg, *.gif) and the like.
BINARY mode is used for non-text items, such as executables (*.exe), zip files (*.zip), image files (*.jpg, *.gif) and the like.
ASCII mode needs to be used for text only documents, which includes *.txt, *.cgi, *.pl *.css, *.html, etc.
<br />
You can also try to re upload the mimetex file using the "Upload file" in the "Filemanager" tool in CPanel/Plesk
You can also try to re upload the mimetex file using the "Upload file" in the "Filemanager" tool in CPanel/Plesk
</li>
</ul>
<p>As a result of this procedure, a new button becomes available in your Chamilo online editor, that gives you possibility
@ -745,7 +745,7 @@ You may need to alter the setting to be for example:</p>
<li><div class="code">var AMTcgiloc = "http://mychamiloserver.org/cgi-bin/mimetex.cgi";</div></li>
<li><div class="code">var AMTcgiloc = "http://mychamiloserver.org/cgi-bin/mathtex.cgi";</div></li>
<li><div class="code">var AMTcgiloc = "http://www.mathtran.org/cgi-bin/mathtran?tex=";</div></li>
<li><div class="code">var AMTcgiloc = "http://chart.apis.google.com/chart?cht=tx&amp;chs=1x0&amp;chl=";</div></li>
<li><div class="code">var AMTcgiloc = "http://chart.googleapis.com/chart?cht=tx&amp;chs=1x0&amp;chl=";</div></li>
<li>... or something else</li>
</ul>
<p>For testing how the variable <strong>AMTcgiloc</strong> may be set, there are some examples (as comments) inside the script.</p>
@ -765,11 +765,11 @@ sudo apt-get install php5-xapian
sudo /etc/init.d/apache2 restart
</pre>
Then go to your administration page -&gt; Configuration settings -&gt; Search
and enable the search tool. Follow the recommendations on the page to get the
complete indexing suite installed. Once you're done, all documents you import
Then go to your administration page -&gt; Configuration settings -&gt; Search
and enable the search tool. Follow the recommendations on the page to get the
complete indexing suite installed. Once you're done, all documents you import
into your Chamilo portal in a recognized format will be indexed and searchable.
Chamilo Administrators training (which you can ask any <a href="http://www.chamilo.org/en/providers">Chamilo's Official
Chamilo Administrators training (which you can ask any <a href="http://www.chamilo.org/en/providers">Chamilo's Official
Provider</a> for) include a full review of the full-text search feature.
</p>
@ -789,23 +789,23 @@ Then go to your administration page -&gt; <i>Chamilo Rapid</i> and set the host
<hr style="width: 100%; height: 2px;" />
<h2><a name="12._Setting_cron_up"></a>Setting chronological tasks</h2>
<p>
Since Chamilo 1.8.8, a few tasks need to be executed regularly in order to get
the best out of your server resources. One of such tasks (and the only one
around at the time of Chamilo 1.8.8) is the sending of internal messaging
Since Chamilo 1.8.8, a few tasks need to be executed regularly in order to get
the best out of your server resources. One of such tasks (and the only one
around at the time of Chamilo 1.8.8) is the sending of internal messaging
notifications by e-mail, i.e. when you receive an e-mail from another person or
from a group inside the internal messaging system of Chamilo, if all e-mails are
sent immediately, then you might not have the chance to receive them at your
pace, once a day or even once a week. For cases like this you, as a Chamilo
sent immediately, then you might not have the chance to receive them at your
pace, once a day or even once a week. For cases like this you, as a Chamilo
administrator, should setup a cron process on the server to check the queue of
e-mails and send is timely.</p>
<p>
Setting up a cron task is easy and there are several ways to do it. We recommend
you have a look at the <a href="http://drupal.org/cron">Drupal documentation
you have a look at the <a href="http://drupal.org/cron">Drupal documentation
for setting up cron</a> and define your own cron process as:
<pre>
35 * * * * wget -O - -q -t 1 http://campus.example.com/main/cron/run.php
</pre>
Make sure you have a look into run.php as maybe you want to change a few
Make sure you have a look into run.php as maybe you want to change a few
settings there.
</p>

@ -20,15 +20,15 @@
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li ><a href="readme.html">About</a></li>
<li ><a href="license.html">License</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="dependencies.html">Dependencies</a></li>
<li ><a href="license.html">License</a></li>
<li><a href="credits.html">Credits</a></li>
<li><a href="dependencies.html">Dependencies</a></li>
<li><a href="changelog.html">Changelog</a></li>
</ul>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
</div>
<div class="container">
@ -36,13 +36,13 @@
<li>
<a href="index.html">Documentación</a>
<span class="divider">/</span>
</li>
</li>
<li>Guía de Instalación</li>
</ul>
</ul>
<h1>Chamilo 1.9 - Guía de Instalación</h1>
<p>Gracias por descargar Chamilo, la suite de aprendizaje de código abierto profesional.</p>
<ul>
<ul>
<li>Prueba Chamilo en <a href="http://campus.chamilo.org">nuesto Campus libre</a></li>
</ul>
@ -190,7 +190,7 @@ seleccione "Configurar la página de inicio" en la sección de administración d
<li><strong>Proteger su directorio de instalación: </strong>si el (directorio de Chamilo) directorio /main/install sigue accesible, alguien podría instalar de nuevo sobre la versión existente (usted puede perder sus datos de esta manera). Por ello es muy importante que mueva el directorio a algún lugar fuera de los directorios web para que no se encuentre accesible, cambie su nombre, bórrelo completamente o edite sus propiedades para que nadie pueda leerlo o ejecutarlo.</li>
<li><strong>Para mayor seguridad: </strong> hacer que todos los archivos posean permisos de escritura facilita la instalación y resuelve muchas dudas a las personas con poca experiencia en administración. Sin embargo, es más seguro hacer que el propietario de los archivos y carpetas de Chamilo sea un usuario distinto y conceder sólo al servidor web permisos de lectura sobre todos los ficheros, y permisos de escritura a los directorios previamente mencionados. De esta manera, estos archivos sólo necesitan ser accesibles y escribibles por el propietario el proceso Apache, no por el mundo entero. También sería recomendable hacer que todos los directorios con permisos de escritura rechazaran la interpretación de los archivos PHP ( a excepción de la raíz de los directorios de cursos). No dude en contratar a un administrador con experiencia para hacer eso, puede que sea un poco más caro ahora, pero estará feliz de no tener que perder todos sus datos por el ataque de un hacker a su sitio.</li>
<li><strong>Configurar su instalación de Chamilo: </strong>
en la sección de administración de Chamilo, usted puede usar las Opciones de Configuración de Chamilo para ajustar el comportamiento de su instalación.</li>
@ -259,7 +259,7 @@ date.timezone = 'America/Lima'
<li>php-ctype</li>
<li>php-gd</li>
<li>php-iconv</li>
<li>php-json</li>
<li>php-json</li>
<li>php-mbstring</li>
<li>php-intl</li>
<li>php-curl</li>
@ -369,7 +369,7 @@ directorio actual de la versión antigua</li>
</p>
<p>
<em> NOTA: </em> La actualización desde 1.6.x a 1.9.x implica una revisión de
los gráficos y estilos personalizados. La nueva versión usa un completo nuevo conjunto
los gráficos y estilos personalizados. La nueva versión usa un completo nuevo conjunto
de iconos y estilos, lo cual significa que aquellos provenientes de la versión 1.6 no pueden ser
simplemente reusados. La buena noticia es que la versión 1.9.x le permite crear
su propio estilo en un directorio css separado, el cual se puede reusar en
@ -603,9 +603,9 @@ Usted puede habilitar la escritura de ecuaciones matemáticas dentro del editor
(existe un FCKConfig.ToolbarSets por herramienta). Por ejemplo:
<div class="code">FCKConfig.ToolbarSets["Test"] = [<br />
['Bold','Italic','Underline','StrikeThrough','Subscript','Superscript','Link','Unlink','ImageManager','MP3','OrderedList','UnorderedList','Table','mimetex']<br />
] ;</div>
Usted puede agregarlo a todas las herramientas, o sólo a alguna de ellas (por ej., documentos y ejercicios)<br />
<br />
</li>
@ -617,34 +617,34 @@ Usted puede habilitar la escritura de ecuaciones matemáticas dentro del editor
<li>6. Realice estos cambios:
<i>Agregar el directorio cgi-bin correspondiente a su configuración de Apache puede ser realizada de esta manera, en Apache 2:</i>
<div class="code">
ScriptAlias /cgi-bin/ /var/www/cgi-bin/<br />
&lt;Directory "/var/www/cgi-bin"&gt;<br />
&nbsp;&nbsp;AllowOverride None<br />
&nbsp;&nbsp;Options ExecCGI -MultiViews +SymLinksIfOwnerMatch<br />
&nbsp;&nbsp;Order allow,deny<br />
&nbsp;&nbsp;Allow from all<br />
&lt;/Directory&gt;<br />
</div>
<i>Agregar un enlace simbólico bajo Windows, puede ser realizado mediante la creación de un
acceso directo al archivo mimetex.exe desde el directorio cgi-bin, o bajo
Linux usando el siguiente comando:</i>
<div class="code">ln -s /var/www/chamilo/main/inc/lib/mimetex/mimetex.cgi /var/www/cgi-bin/mimetex.cgi</div>
<p>Si no quiere modificar su Apache, alternativamente a este punto 6: copie mimetex.exe (para Windows) o mimetex.cgi (para Linux) en su cgi-bin/ </p>
<p>&nbsp;</p>
</li>
<li>7. Asegurarse que el archivo mimetex.cgi (o mimetex.exe) ha sido subido al servidor usando el formato BINARY. Es posible que el servidor de un error 500 cuando se intenta entrar a cgi-bin/mimetex.cgi a pesar de que los permisos están correctos.
Probar volviendo a subir el archivo usando FTP (ASCII format) o si no usando el "administrador de archivos" o CPanel. Si el error persiste contactar con el administrador del servidor para habilitar el acceso público del archivo cgi-bin/mimetex.cgi.
</li>
@ -691,7 +691,7 @@ Podría necesitar modificar el ejemplo para tener algo como:</p>
<li><div class="code">var AMTcgiloc = "http://mychamiloserver.org/cgi-bin/mimetex.cgi";</div></li>
<li><div class="code">var AMTcgiloc = "http://mychamiloserver.org/cgi-bin/mathtex.cgi";</div></li>
<li><div class="code">var AMTcgiloc = "http://www.mathtran.org/cgi-bin/mathtran?tex=";</div></li>
<li><div class="code">var AMTcgiloc = "http://chart.apis.google.com/chart?cht=tx&amp;chs=1x0&amp;chl=";</div></li>
<li><div class="code">var AMTcgiloc = "http://chart.googleapis.com/chart?cht=tx&amp;chs=1x0&amp;chl=";</div></li>
<li>... o algo similar</li>
</ul>
<p>Para formas de probar como la variable <strong>AMTcgiloc</strong> tiene que ser configurada, existen unos ejemplos (en comentario) dentro del script.</p>

@ -79,13 +79,13 @@ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
//var AMTcgiloc = "http://www.mathtran.org/cgi-bin/mathtran?D=1;tex=";
//var AMTcgiloc = "http://www.mathtran.org/cgi-bin/mathtran?D=2;tex=";
//
//var AMTcgiloc = "http://chart.apis.google.com/chart?cht=tx&chl=";
//var AMTcgiloc = "http://chart.apis.google.com/chart?cht=tx&chs=1x0&chl=";
//var AMTcgiloc = "http://chart.googleapis.com/chart?cht=tx&chl=";
//var AMTcgiloc = "http://chart.googleapis.com/chart?cht=tx&chs=1x0&chl=";
//
//var AMTcgiloc = "http://codecogs.izyba.com/gif.latex";
//var AMTcgiloc = "http://codecogs.izyba.com/png.latex";
//
var AMTcgiloc = "//chart.apis.google.com/chart?cht=tx&chs=1x0&chl=";
var AMTcgiloc = "//chart.googleapis.com/chart?cht=tx&chs=1x0&chl=";
var AScgiloc = '//www.imathas.com/imathas/filter/graph/svgimg.php'; //path to CGI script
//for editor graphs IMG fallback

Loading…
Cancel
Save