@ -58,7 +58,8 @@ function isAlreadyInstalledSystem()
* @param string $returnSuccess Text to show when extension is available (defaults to 'Yes')
* @param string $returnFailure Text to show when extension is available (defaults to 'No')
* @param boolean $optional Whether this extension is optional (then show unavailable text in orange rather than red)
* @param string $enabledTerm If this string is not null, then use to check if the corresponding parameter is = 1. If not, mention it's present but not enabled. For example, for opcache, this should be 'opcache.enable'
* @param string $enabledTerm If this string is not null, then use to check if the corresponding parameter is = 1.
* If not, mention it's present but not enabled. For example, for opcache, this should be 'opcache.enable'
* @return string HTML string reporting the status of this extension. Language-aware.
* @author Christophe Gesch??
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University
@ -390,19 +391,21 @@ function write_system_config_file($path)
$fp = @ fopen($path, 'w');
if (!$fp) {
echo '<strong><fontcolor="red">Your script doesn\'t have write access to the config directory</font></strong><br/>
You probably do not have write access on Chamilo root directory,
i.e. you should <em>CHMOD 777</em> or <em>755</em> or <em>775</em>.<br/><br/>
Your problems can be related on two possible causes:<br/>
<ul>
<li>Permission problems.<br/>Try initially with <em>chmod -R 777</em> and increase restrictions gradually.</li>
<li>PHP is running in <ahref="http://www.php.net/manual/en/features.safe-mode.php"target="_blank">Safe-Mode</a>. If possible, try to switch it off.</li>
</ul>
<ahref="http://forum.chamilo.org/"target="_blank">Read about this problem in Support Forum</a><br/><br/>