mirror of
https://github.com/moodle/moodle.git
synced 2025-01-25 01:28:54 +01:00
522 lines
19 KiB
HTML
Executable File
522 lines
19 KiB
HTML
Executable File
<html>
|
|
|
|
<head>
|
|
|
|
<title>Moodle Docs: Frequently Asked Questions (FAQ)</title>
|
|
|
|
<link rel="stylesheet" href="../theme/standard/styles.php" type="TEXT/CSS">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
|
|
|
|
<style type="text/css">
|
|
|
|
<!--
|
|
|
|
.question {
|
|
|
|
font-size: medium;
|
|
|
|
font-weight: bold;
|
|
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
|
|
border: 1px dotted;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #EEEEEE;
|
|
|
|
}
|
|
|
|
.answer {
|
|
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
|
|
font-size: medium;
|
|
|
|
border: none;
|
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
-->
|
|
|
|
</style>
|
|
|
|
<style type="text/css">
|
|
|
|
<!--
|
|
|
|
.normaltext {
|
|
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
|
|
font-size: medium;
|
|
|
|
border: none;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
.answercode {
|
|
|
|
font-family: "Courier New", Courier, mono;
|
|
|
|
font-size: small;
|
|
|
|
border: none;
|
|
|
|
padding-left: 60px;
|
|
|
|
}
|
|
|
|
.questionlink {
|
|
|
|
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
|
|
font-size: medium;
|
|
|
|
border: none;
|
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
-->
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
<h2>Ðñüóöáôåò ÅñùôÞóåéò (FAQ)</h2>
|
|
|
|
<p class="normaltext">ÁõôÞ ç óåëßäá ðåñéÝ÷åé áðáíôÞóåéò óå ìåñéêÝò áðü ôéò ðéï
|
|
óõ÷íÝò åñùôÞóåéò áíèñþðùí ðïõ åãêáèéóôïýí ôï Moodle. Áí Ý÷åéò áêïëïõèÞóåé ôéò
|
|
<a href="./?file=install.html">ïäçãßåò åãêáôÜóôáóçò</a> áëëÜ åîáêïëïõèåßò íá
|
|
Ý÷åéò ðñüâëçìá, ôüôå áõôÞ ç óåëßäá èá óå âïçèÞóåé ðïëý. </p>
|
|
|
|
<p class="normaltext">Áí äåí âñåéò ôçí áðÜíôçóÞ óïõ åäþ ðñïóðÜèçóå óôï ìÜèçìá
|
|
<a href="http://moodle.org/mod/forum/index.php?id=5" target="_top">×ñçóéìïðïéþíôáò
|
|
ôï Moodle</a> óôï moodle.org. Îåêßíá øÜ÷íïíôáò óôá forums ÷ñçóéìïðïéþíôáò êÜðïéåò
|
|
ëÝîåéò êëåéäéÜ, óå ðåñßðôùóç ðïõ ôï ðñüâëçìÜ óïõ Ý÷åé Þäç óõæçôçèåß. Áí äå âñßóêåéò
|
|
ôßðïôá, ôüôå ðñïóðÜèçóå íá õðïâÜëëåéò ôçí åñþôçóÞ óïõ óôï êáôÜëëçëï forum -
|
|
êÜðïéïò èá ìðïñÝóåé íá óå âïçèÞóåé.</p>
|
|
|
|
<p class="normaltext">Áí Ý÷åéò äïêéìÜóåé êÜðïéåò ëýóåéò ÷ùñßò íá ôá Ý÷åéò êáôáöÝñåé,
|
|
êáé Ý÷åéò firewall, èá Þôáí åíäåäåéãìÝíï íá ðñïóðáèÞóåéò íá îáíáäéáìïñöþóåéò
|
|
ôï firewall óïõ ãéá íá äéáóöáëßóåéò üôé äå èá ìðëïêÜñåé ìéá áðáéôïýìåíç ëåéôïõñãßá
|
|
Þ ìéá óçìáíôéêÞ åðéêïéíùíßá. Ôá Firewalls ðïëý óðÜíéá äçìéïõñãïýí ðñüâëçìá ìå
|
|
ôï Moodle áëëÜ åßíáé óõ÷íÜ õðåýèõíá ãéá ôç ìåéùìÝíç ëåéôïõñãéêüôçôá åîáéôßáò
|
|
ëáèåìÝíùí ñõèìßóåùí firewall.
|
|
<p class="normaltext">×ñçóéìïðïßçóå áõôÞ ôç ëßóôá ãéá íá ìåôáâåßò óôçí êáôÜëëçëç
|
|
áðÜíôçóç ðáñáêÜôù:</p>
|
|
|
|
|
|
|
|
<p class="questionlink"><a href="#filenotfound">¼ðïôå ðñïóðáèþ íá ìðù Þ íá äù
|
|
Ýíá áñ÷åßï ôï ïðïßï öüñôùóá, ëáìâÜíù ôï ìÞíõìá "Ôï áñ÷åßï äåí âñÝèçêå"</a></p>
|
|
|
|
<p class="questionlink"><a href="#php">PHP - åßíáé åãêáôåóôçìÝíï êáé ðïéÜ Ýêäïóç
|
|
Ý÷ù;</a></p>
|
|
|
|
<p class="questionlink"><a href="#blankpages">Ãéáôß åßíáé üëåò ìïõ ïé óåëßäåò
|
|
êåíÝò;</a></p>
|
|
|
|
<p class="questionlink"><a href="#errorgetstring">Ïé óåëßäåò ìïõ åìöáíßæïõí óïâáñÜ
|
|
ëÜèç üðùò: ìç ðñïóäéïñéóìÝíç ëåéôïõñãßá: get_string()</a></p>
|
|
|
|
<p class="questionlink"><a href="#headerssent">Ãéáôß åîáêïëïõèþ íá ëáìâÜíù ìçíýìáôá
|
|
ëÜèïõò ãéá "êåöáëßäåò ðïõ Ý÷ïõí Þäç óôáëåß";</a></p>
|
|
|
|
<p class="questionlink"><a href="#failedopen">Åîáêïëïõèþ íá ëáìâÜíù áõôü ôï ëÜèïò:
|
|
ÁðÝôõ÷å íá áíïßîåé ôï '/web/moodle/lib/setup.php'</a></p>
|
|
|
|
<p class="questionlink"><a href="#quotes">¼ôé êåßìåíï êáé íá ðñïóèÝóù ìå ìéá áðüóôñïöï
|
|
(') Þ åéóáãùãéêÜ (") ðñïêáëåß ðñïâëÞìáôá Þ åìöáíßæåôáé ìå ôçí ðñïóèÞêç
|
|
ìéáò êáèÝôïõ.</a></p>
|
|
|
|
<p class="questionlink"><a href="#sessiontmp">Åîáêïëïõèþ íá ëáìâÜíù ìçíýìáôá ëÜèïõò
|
|
ó÷åôéêÜ ìå ôï session_start.</a></p>
|
|
|
|
<p class="questionlink"><a href="#fixdirroot">¼ôáí ðçãáßíù óôç óåëßäá äéá÷åéñéóôÞ,
|
|
êáëïýìáé íá êÜíù ôï dirroot êåíü!</a></p>
|
|
|
|
<p class="questionlink"><a href="#loginsetting">ÓõíäÝïìáé áëëÜ ôï êïõìðß óýíäåóçò
|
|
äåí áëëÜæåé. Åßìáé óõíäåäåìÝíïò êáé ìðïñþ íá ðëïçãïýìáé åëåýèåñá.</a></p>
|
|
|
|
<p class="questionlink"><a href="#resource1">¼ôáí ðñïóðáèþ íá ðñïóèÝóù êÜôé ëáìâÜíù
|
|
ìçíýìáôá ëÜèïõò.</a></p>
|
|
|
|
<p class="questionlink"><a href="#noadmin">ÊáôÜ ôç äéÜñêåéá ôçò áñ÷éêÞò åãêáôÜóôáóçò
|
|
, ðïôÝ äå ìïõ æçôåßôáé íá äçìéïõñãÞóù Ýíáí ëïãáñéáóìü äéá÷åéñéóôÞ!</a></p>
|
|
<p class="questionlink"><a href="#nologin">Äå ìðïñþ íá óõíäåèþ êáèüëïõ - áðëþò
|
|
ìÝíù êïëëçìÝíïò óôçí ïèüíç óýíäåóçò.</a></p>
|
|
<p class="questionlink"><a href="#backup">Ðþò ìðïñþ íá êÜíù backup óôï site ôïõ
|
|
Moodle;</a></p>
|
|
<p class="questionlink"><a href="#locale">Ãéáôß ôï </a><a href="#backup">site
|
|
ôïõ </a><a href="#locale">Moodle äåí ìïõ åìöáíßæåé óùóôÜ þñá & çìåñïìçíßá;</a></p>
|
|
<p class="questionlink"><a href="#cron">Áíôßãñáöá ôùí email äåí óôÝëíïíôáé áðü
|
|
ôá forum ìïõ.</a></p>
|
|
<p class="questionlink"> </p>
|
|
|
|
|
|
|
|
<h3 class="question"><a name="filenotfound"></a>¼ðïôå ðñïóðáèþ íá ìðù Þ íá äù
|
|
Ýíá áñ÷åßï ôï ïðïßï öüñôùóá, ëáìâÜíù ôï ìÞíõìá "Ôï áñ÷åßï äåí âñÝèçêå"</h3>
|
|
|
|
<p class="answer">Ãéá ðáñÜäåéãìá: Äåí ÂñÝèçêå: Ôï áðáéôïýìåíï URL /moodle/file.php/2/myfile.jpg
|
|
äåí âñÝèçêå ó' áõôüí ôïí server. </p>
|
|
|
|
<p class="answer">Ï web server óïõ ÷ñåéÜæåôáé äéáìüñöùóç ãéá íá åðéôñÝøåé ôï ìÝñïò
|
|
ôïõ URL ìåôÜ áðü ôï üíïìá åíüò script ãéá íá ðåñÜóåé êáôåõèåßáí ó' áõôü. Áõôü
|
|
óõíÞèùò åßíáé åíåñãü óôïí Apache 1, áëëÜ åßíáé ðñïêáèïñéóìÝíá áíåíåñãü óôïí
|
|
Apache 2. Ãéá íá ôï åíåñãïðïéÞóåéò, ðñüóèåóå áõôÞ ôç ãñáììÞ óôï httpd.conf,
|
|
Þ óôï áñ÷åßï a .htaccess óôïí ôïðéêü óïõ êáôÜëïãï (äåò óôï <a href="./?file=install.html#webserver">Ïäçãßåò
|
|
ÅãêáôÜóôáóçò</a> ãéá ðåñéóóüôåñåò ëåðôïìÝñåéåò): </p>
|
|
|
|
<p class="answercode"><b>AcceptPathInfo</b> on</p>
|
|
|
|
<p class="answer">Óçìåßùóå, áõôü èá äïõëÝøåé ÌÏÍÏ ãéá ôéò åêäüóåéò Apache 2.x.
|
|
</p>
|
|
|
|
<p class="answer">Áí äåí ÷ñçóéìïðïéåßò Apache 2 êáé óõíå÷ßóåéò íá Ý÷åéò áõôü ôï
|
|
ðñüâëçìá (áðßèáíï) ôüôå ìðïñåßò íá ìåôáôñÝøåéò ôï Moodle íá ÷ñçóéìïðïéåß ìéá
|
|
åíáëëáêôéêÞ ìÝèïäï. Ôá ìåéïíåêôÞìáôá åßíáé ìéá ìéêñÞ áðþëåéá áðüäïóçò ãéá ôïõò
|
|
÷ñÞóôåò óïõ êáé ç áäõíáìßá ÷ñÞóçò ôùí ó÷åôéêþí links ìÝóá óôï HTML êþäéêá. </p>
|
|
|
|
<p class="answer">Ãéá íá ÷ñçóéìïðïéÞóåéò áõôÞ ôçí åíáëëáêôéêÞ ìÝèïäï: óõíäÝóïõ
|
|
óáí Admin, ìðåò óôçí óåëßäá "Äéáìüñöùóç Ìåôáâëçôþí" êáé Üëëáîå ôç ñýèìéóç óå
|
|
"<b>slasharguments</b>". Ôþñá èá ðñÝðåé íá ìðïñåßò íá Ý÷åéò ðñüóâáóç óôá öïñôùìÝíá
|
|
áñ÷åßá óïõ.</p>
|
|
|
|
<p class="answer"> </p>
|
|
|
|
|
|
|
|
|
|
<h4 class="question"><a name="php"></a>PHP - åßíáé åãêáôåóôçìÝíï êáé ðïéÜ Ýêäïóç
|
|
Ý÷ù;</h4>
|
|
|
|
|
|
<p class="answer">Äçìéïýñãçóå Ýíá íÝï áñ÷åßï óôï web site óïõ ìå üíïìá info.php,
|
|
ðïõ íá ðåñéÝ÷åé ôï ðáñáêÜôù êåßìåíï êáé øÜîå ôï áðü ôïí browser:</p>
|
|
|
|
|
|
|
|
<p class="answercode"><?PHP phpinfo() ?></p>
|
|
|
|
<p class="answer">Áí äåí óõìâáßíåé ôßðïôá ôüôå äåí Ý÷åéò åãêáôáóôÞóåé ôï PHP.
|
|
Äåò ôéò ïäçãßåò åãêáôÜóôáóçò ãéá ìåñéêÝò ðëçñïöïñßåò ó÷åôéêÜ ìå ôï ðïõ íá ôá
|
|
öïñôþóåéò óôïí õðïëïãéóôÞ óïõ.</p>
|
|
|
|
<p class="answer"> </p>
|
|
|
|
<h4 class="question"><a name="blankpages"></a>Ãéáôß åßíáé üëåò ìïõ ïé óåëßäåò
|
|
êåíÝò; </h4>
|
|
|
|
<p class="answer">¸ëåãîå ôç ìåôáâëçôÞ dirroot óôï config.php. ÐñÝðåé íá ÷ñçóéìïðïéåßò
|
|
ïëïêëçñùìÝíá, áêñéâÞ ïíüìáôá äéáäñïìþí, ð.÷.:</p>
|
|
|
|
<p class="answercode"> $CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";</p>
|
|
|
|
<p> </p>
|
|
|
|
<p class="answer">Äåßôå Redhat Linux platform: <a href="http://moodle.org/doc/?file=installamp.html">Redhat
|
|
Linux</a></p>
|
|
|
|
<p> </p>
|
|
|
|
<h4 class="question"><a name="errorgetstring"></a>Ïé óåëßäåò ìïõ åìöáíßæïõí óïâáñÜ
|
|
ëÜèç üðùò: ìç ðñïóäéïñéóìÝíç ëåéôïõñãßá: get_string()</h4>
|
|
|
|
<p class="answer">Áí äåéò ëÜèç üðùò:</p>
|
|
|
|
<p class="answercode">Parse error: parse error, unexpected T_VARIABLE in c:\program
|
|
|
|
files\easyphp\www\moodle\config.php on line 94 <br>
|
|
|
|
Fatal error: Call to undefined function: get_string() in c:\program files\easyphp\www\moodle\mod\resource\lib.php
|
|
|
|
on line 11</p>
|
|
|
|
<p class="answer">ôüôå åßíáé ðéèáíü íá Ý÷åéò ðáñáëåßøåé Ýíá ; Þ Ýíá åéóáãùãéêü
|
|
áðü ìéá ãñáììÞ óôï config.php (ðñïçãïõìÝíùò óôç ãñáììÞ 94).</p>
|
|
|
|
<p class="answer">¶ëëïò Ýíáò ëüãïò ìðïñåß íá åßíáé üôé Ý÷åéò áíïßîåé ôï config.php
|
|
óå Ýíá ðñüãñáììá üðùò ôï Word ãéá íá ôï åðåîåñãáóôåßò êáé ôï Ýóùóåò óáí ìéá
|
|
óåëßäá HTML áíôß ãéá Ýíá áíÜëïãï áñ÷åßï êåéìÝíïõ.</p>
|
|
|
|
<p> </p>
|
|
|
|
<h4 class="question"><a name="headerssent"></a>Ãéáôß åîáêïëïõèþ íá ëáìâÜíù ìçíýìáôá
|
|
ëÜèïõò ãéá "êåöáëßäåò ðïõ Ý÷ïõí Þäç óôáëåß";</h4>
|
|
|
|
<p class="answer">Áí äåéò ëÜèç óáí áõôÜ:</p>
|
|
|
|
<p class="answercode">Warning: Cannot add header information - headers already
|
|
|
|
sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php
|
|
|
|
on line 1322 </p>
|
|
|
|
<p class="answercode"> Warning: Cannot add header information - headers already
|
|
|
|
sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php
|
|
|
|
on line 1323 </p>
|
|
|
|
<p class="answercode"> Warning: Cannot add header information - headers already
|
|
|
|
sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/login/index.php
|
|
|
|
on line 54 </p>
|
|
|
|
<p class="answer">¸÷åéò êåíÝò ãñáììÝò Þ äéáóôÞìáôá ìåôÜ ôï ôåëéêü ?> óôï áñ÷åßï
|
|
óïõ config.php. ÌåñéêÝò öïñÝò ïé åðåîåñãáóôÝò êåéìÝíùí ôá ðñïóèÝôïõí áõôÜ -
|
|
üðùò ãéá ðáñÜäåéãìá ôï ÓçìåéùìáôÜñéï ôùí Windows - þóôå áí èåò íá äïêéìÜóåéò
|
|
Ýíáí äéáöïñåôéêü åðåîåñãáóôÞ êåéìÝíïõ ãéá íá äéáãñÜøåéò áõôÜ ôá äéáóôÞìáôá Þ
|
|
ôéò êåíÝò ãñáììÝò ïëïêëçñùôéêÜ.</p>
|
|
|
|
<p class="answer"> </p>
|
|
|
|
<h4 class="question"><a name="failedopen"></a>Åîáêïëïõèþ íá ëáìâÜíù áõôü ôï ëÜèïò:
|
|
ÁðÝôõ÷å íá áíïßîåé ôï '/web/moodle/lib/setup.php'</h4>
|
|
|
|
<p class="answer">Óôï config.php, ç ñýèìéóç ðïõ ÷ñçóéìïðïéåßò ãéá ôç ìåôáâëçôÞ
|
|
dirroot ðñÝðåé íá åßíáé <strong>ìéá ïëïêëçñùìÝíç äéáäñïìÞ áðü ôïí óêëçñü äßóêï
|
|
ôïõ server óïõ</strong>.</p>
|
|
|
|
<p class="answer">ÌåñéêÝò öïñÝò ïé Üíèñùðïé ÷ñçóéìïðïéïýí ìüíï ôç äéáäñïìÞ áðü
|
|
ôïí äéêü ôïõò êáôÜëïãï Þ êÜðïéá ó÷åôéêÞ ôïõ êáôáëüãïõ ôïõ web server.</p>
|
|
|
|
<p class="answer"> </p>
|
|
|
|
<h4 class="question"><a name="quotes" id="quotes"></a>¼ôé êåßìåíï êáé íá ðñïóèÝóù
|
|
ìå ìéá áðüóôñïöï (') Þ åéóáãùãéêÜ (") ðñïêáëåß ðñïâëÞìáôá Þ åìöáíßæåôáé
|
|
ìå ôçí ðñïóèÞêç ìéáò êáèÝôïõ</h4>
|
|
|
|
<p class="answer">Ôá ðñïâëÞìáôá ðïõ äçìéïõñãïýí ïé áðüóôñïöïé ðñïêáëïýíôáé áðü
|
|
ëÜèïò ñõèìßóåéò ôùí "magic quotes". Ôï Moodle áðáéôåß ôéò ðáñáêÜôù
|
|
ñõèìßóåéò (ðïõ åßíáé óõíÞèùò ðñïåðéëåãìÝíåò):</p>
|
|
|
|
<p class="answercode">magic_quotes_gpc = On<br>
|
|
|
|
magic_quotes_runtime = Off</p>
|
|
|
|
<p class="answer">Äåò ôï êåöÜëáéï <a href="./?file=install.html#webserver">äéáìüñöùóç
|
|
webserver</a> óôï åã÷åéñßäéï ÅãêáôÜóôáóçò ãéá ðåñéóóüôåñåò ëåðôïìÝñåéåò.</p>
|
|
<p class="answer"> </p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="question"><a name="sessiontmp"></a>Åîáêïëïõèþ íá ëáìâÜíù ìçíýìáôá ëÜèïõò
|
|
ó÷åôéêÜ ìå ôï session_start</h4>
|
|
|
|
<p class="answer">Áí âëÝðåéò ëÜèç óáí áõôÜ:</p>
|
|
|
|
<p class="answercode">Warning: session_start() [function.session-start]: open(/tmp\sess_d40f380d37d431fc1516e9a895ad9ce0, O_RDWR) failed: No such file or directory (2) in G:\web\moodle\lib\setup.php on line 123</p>
|
|
|
|
<p class="answercode">Warning: session_start() [function.session-start]: open(/tmp\sess_d40f380d37d431fc1516e9a895ad9ce0, O_RDWR) failed: No such file or directory (2) in G:\web\moodle\lib\setup.php on line 123</p>
|
|
|
|
<p class="answercode">Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at G:\web\moodle\lib\setup.php:1) in G:\web\moodle\lib\setup.php on line 123</p>
|
|
|
|
|
|
|
|
<p class="answer">... üëá áõôÜ óõíäÝïíôáé ìå ôï ãåãïíüò üôé ôï PHP áðïôõã÷Üíåé
|
|
íá óþóåé ôá áñ÷åßá "session" óôï óêëçñü äßóêï (óå Ýíáí êáôÜëïãï ìå ôï üíïìá
|
|
/tmp). ÓõíÞèùò ï ëüãïò åßíáé üôé äåí ÕÐÁÑ×ÅÉ êáôÜëïãïò ìå áõôü ôï üíïìá óôïí
|
|
õðïëïãéóôÞ óïõ. Áõôü åßíáé óõíÞèùò ôï ðñüâëçìá ìå ôçí åãêáôÜóôáóç ôùí Windows.
|
|
<p class="answer">Ç ëýóç åßíáé íá äéïñèþóåéò ôç ñýèìéóç ôïõ PHP ãéá íá ðçãáßíåé
|
|
óå Ýíáí ðñáãìáôéêü êáôÜëïãï. Ìðïñåßò íá ôï êÜíåéò áõôü óôï php.ini áñ÷åßï:</p>
|
|
|
|
<p class="answercode">session.save_path = C:\temp</p>
|
|
|
|
<p class="answer">Þ áëëéþò óôï áñ÷åßï .htaccess óôïí êõñßùò êáôÜëïãï ôïõ moodle:</p>
|
|
|
|
<p class="answercode">php_value session.save_path "/home/moodle/sessions"</p>
|
|
<p class="answercode"> </p>
|
|
|
|
|
|
|
|
<h4 class="question"><a name="fixdirroot"></a>¼ôáí ðçãáßíù óôç óåëßäá äéá÷åéñéóôÞ,
|
|
êáëïýìáé íá êÜíù ôï dirroot êåíü!</h4>
|
|
|
|
<p class="answer">Áí äåéò ëÜèç óáí áõôÜ óôï Moodle 1.0.9:</p>
|
|
|
|
|
|
|
|
<table class=generalbox cellspacing=0 cellpadding=5 align=center border=0>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td bgcolor=#ffbbbb>Please fix your settings in config.php:
|
|
|
|
<p>You have:
|
|
|
|
<p>$CFG->dirroot = "/home/users/fred/public_html/moodle";
|
|
|
|
<p>but it should be:
|
|
|
|
<p>$CFG->dirroot = "";</p></td></tr></tbody></table>
|
|
|
|
|
|
|
|
<p class="answer">ôüôå áíôéìåôùðßæåéò Ýíá ìéêñü ðñüâëçìá ðïõ óõìâáßíåé óå ìåñéêïýò
|
|
servers. Ôï ðñüâëçìá åßíáé ìå ôï ìç÷áíéóìü åëÝã÷ïõ ëáèþí, ü÷é ìå ôçí ðñáãìáôéêÞ
|
|
äéáäñïìÞ. Ãéá íá ôï äéïñèþóåéò áõôü, âñåò áõôÞ ôç ãñáììÞ (ãñáììÞ 66) óôï áñ÷åßï
|
|
admin/index.php: </p>
|
|
|
|
<p class="answercode">if ($dirroot != $CFG->dirroot) {</p>
|
|
|
|
<p class="answer">êáé ÜëëáîÝ ôï óå:</p>
|
|
|
|
<p class="answercode">if (!empty($dirroot) and $dirroot != $CFG->dirroot) {</p>
|
|
<p class="answercode"> </p>
|
|
|
|
|
|
<h4 class="question"><a name="loginsetting"></a>ÓõíäÝïìáé áëëÜ äåí öáßíåôáé íá
|
|
åßìáé óõíäåäåìÝíïò. Ìðïñþ íá ðëïçãïýìáé åëåýèåñá.</h4>
|
|
|
|
<p class="answer">Âåâáéþóïõ üôé ôï URL óôçí ðáñÜìåôñï $CFG->wwwroot åßíáé áêñéâþò
|
|
ôï ßäéï üðùò áõôü ðïõ ÷ñçóéìïðïéåßò ãéá ôçí ðñüóâáóç ó' áõôü ôï site.</p>
|
|
<p class="answer"> </p>
|
|
|
|
<h4 class="question"><a name="resource1"></a>¼ôáí ðñïóðáèþ íá ðñïóèÝóù êÜôé ëáìâÜíù
|
|
ìçíýìáôá ëÜèïõò.</h4>
|
|
|
|
<p class="answer">Áí õðïèÝóïõìå üôé ÷ñçóéìïðïéåßò Apache, ôüôå åßíáé ðïëý ðéèáíü
|
|
ç ðáñÜìåôñïò config.php for $CFG->wwwroot íá åßíáé äéáöïñåôéêÞ áðü ôï URL ðïõ
|
|
÷ñçóéìïðïéåßò ãéá ôçí ðñüóâáóç ó' áõôü ôï site. Áêüìá ðñïóðÜèçóå íá áðåíåñãïðïéÞóåéò
|
|
ôï "<b>secureforms</b>" óôéò ðáñáìÝôñïõò ôïõ äéá÷åéñéóôÞ.</p>
|
|
<p class="answer"> </p>
|
|
|
|
|
|
|
|
<h4 class="question"><a name="noadmin"></a>ÊáôÜ ôç äéÜñêåéá ôçò áñ÷éêÞò åãêáôÜóôáóçò,
|
|
ðïôÝ äå ìïõ æçôåßôáé íá äçìéïõñãÞóù Ýíáí ëïãáñéáóìü äéá÷åéñéóôÞ!</h4>
|
|
|
|
<p class="answer">Áõôü åßíáé Ýíá ãíùóôü ðñüâëçìá óôéò åêäüóåéò ôïõ Moodle ìåôÜ
|
|
ôï 1.0.9, ðïõ ôþñá Ý÷åé äéïñèùèåß óôïí êýñéï êþäéêá êáé óôçí Ýêäïóç 1.1.</p>
|
|
|
|
<p class="answer">Äåí åðçñåÜæåé üëïõò ôïõò áíèñþðïõò, óõìâáßíåé ìüíï üôáí ôï Üôïìï
|
|
ðïõ åãêáèéóôÜ ôï Moodle Ý÷åé Ýíá cookie óôïí browser áðü êÜðïéï Üëëï ðñüãñáììá
|
|
óôï ßäéï site, ìå ôï üíïìá "÷ñÞóôçò", "äéá÷åéñéóôÞò", Þ "êáèçãçôÞò".</p>
|
|
|
|
<p class="answer">Ìéá ãñÞãïñç äéüñèùóç ðåñéëáìâÜíåé ôç äéáãñáöÞ áõôþí ôùí cookies
|
|
áðü ôïí browser ðñéí ôçí åãêáôÜóôáóç, ÷ñçóéìïðïéþíôáò Ýíáí äéáöïñåôéêü browser,
|
|
Þ åðåîåñãÜæïíôáò ôï áñ÷åßï moodle/admin/user.php ãéá íá åéóÜãåéò áõôÝò ôéò ãñáììÝò
|
|
êïíôÜ óôçí êïñõöÞ:</p>
|
|
|
|
<p class="answercode">unset($user);<br />unset($admin);<br />unset($teacher);</p>
|
|
|
|
<p class="answer">Áöïý êÜíåôå áõôÝò ôéò áëëáãÝò ìéá êáëÞ éäÝá åßíáé íá äéáãñÜøåôå
|
|
üëïõò ôïõò ðßíáêåò óôç âÜóç äåäïìÝíùí êáé íá ôï åðáíåãêáôáóôÞóåôå.</p>
|
|
<p class="answer"> </p>
|
|
|
|
|
|
|
|
<h4 class="question"><a name="nologin"></a>Äåí ìðïñþ íá óõíäåèþ - áðëþò ìÝíù êïëëçìÝíïò
|
|
óôçí ïèüíç óýíäåóçò.</h4>
|
|
|
|
<p class="answer">Ç ðéï óõíçèéóìÝíç áéôßá ãé' áõôü åßíáé üôé ï äéêüò óïõ õðïëïãéóôÞò
|
|
(ü÷é ï server ôïõ Moodle) Ý÷åé Ýíá firewall ðïõ áöáéñåß ðëçñïöïñßåò áðü ôïí
|
|
browser.</p>
|
|
|
|
<p class="answer">Áõôü ìðïñåß íá äéïñèùèåß ãéá ïðïéïíäÞðïôå ÷ñçóéìïðïéåß ôïí server
|
|
åðåîåñãÜæïíôáò ôç óåëßäá äéáìüñöùóçò ôïõ Moodle êáé áëëÜæïíôáò ôç ìåôáâëçôÞ
|
|
"<b>secureforms</b>" óå "¼÷é".</p>
|
|
|
|
<p class="answer">Ìéá áêüìá ðéèáíÞ áéôßá áõôïý ôïõ ðñïâëÞìáôïò åßíáé üôé ôá êåöÜëáéá
|
|
äåí óõíôïíßæïíôáé óôïí server. Ìðïñåßò íá ôï ôåóôÜñåéò áõôü ïíïìÜæïíôáò ôï script
|
|
http://yourserver/moodle/lib/session-test.php.</p>
|
|
<p class="answer"> </p>
|
|
|
|
|
|
|
|
<h4 class="question"><a name="backup"></a>Ðþò ìðïñþ íá êÜíù backup óôï site ôïõ
|
|
Moodle;</h4>
|
|
|
|
<p class="answer">ÐñÝðåé íá Ý÷åéò áíôßãñáöá äýï âáóéêþí ðñáãìÜôùí: ôçò âÜóçò äåäïìÝíùí
|
|
êáé ôùí öïñôùìÝíùí áñ÷åßùí. Ôá Moodle scripts äåí åßíáé ôüóï óçìáíôéêÜ, åöüóïí
|
|
ìðïñåßò ðÜíôá íá öïñôþóåéò Ýíá êáéíïýñéï áñ÷åßï.</p>
|
|
|
|
<p class="answer">ÕðÜñ÷ïõí ðïëëïß ôñüðïé ãéá íá êÜíåéò ôÝôïéá backups. Åäþ åßíáé
|
|
Ýíá äéÜãñáììá åíüò ìéêñïý script ðïõ ìðïñåßò íá ôñÝîåéò óôï Unix ãéá íá Ý÷åéò
|
|
backup ôçò âÜóçò äåäïìÝíùí (åßíáé êáëü íá Ý÷åéò Ýíá ôÝôïéï script íá ôñÝ÷åé
|
|
êáèçìåñéíÜ ìÝóù åíüò cron task)</p>
|
|
<p class="answercode">cd /my/backup/directory</p>
|
|
<p class="answercode">mv moodle-database.sql.gz moodle-database-old.sql.gz</p>
|
|
<p class="answercode">mysqldump -h example.com -u myusername --password=mypassword -C -Q -e -a mydatabasename > moodle-database.sql</p>
|
|
<p class="answercode">gzip moodle-database.sql</p>
|
|
<p class="answer">Ãéá ôá áñ÷åßá, ìðïñåßò íá ÷ñçóéìïðïéåßò rsync ôáêôéêÜ ãéá íá
|
|
áíôéãñÜøåéò ìüíï ôá áëëáãìÝíá áñ÷åßá óå Ýíáí Üëëï host:</p>
|
|
<p class="answercode">rsync -auvtz --delete -e ssh mysshusername@example.com:/my/server/directory
|
|
/my/backup/directory/</p>
|
|
<p class="answercode"> </p>
|
|
|
|
|
|
<h4 class="question"><a name="locale"></a>Ãéáôß ôï site ôïõ Moodle äåí ìïõ åìöáíßæåé
|
|
óùóôÜ þñá & çìåñïìçíßá;</h4>
|
|
|
|
<p class="answer">ÊÜèå ãëþóóá áðáéôåß Ýíáí óõãêåêñéìÝíï êþäéêá (ðïõ ïíïìÜæåôáé
|
|
<strong>locale</strong> êþäéêáò) ãéá íá ìðïñïýí ïé çìåñïìçíßåò íá åìöáíßæïíôáé
|
|
óùóôÜ. Ôá ãëùóóéêÜ ðáêÝôá ðåñéÝ÷ïõí ðñïåðéëåãìÝíïõò êþäéêåò, áëëÜ ìåñéêÝò öïñÝò
|
|
áõôïß äåí äïõëåýïõí óôïõò servers ôùí Windows. </p>
|
|
<p class="answer">Ìðïñåßò íá âñåéò ôïõò óùóôïýò locale êþäéêåò ãéá ôá Windows
|
|
ó' áõôÝò ôéò äýï óåëßäåò: <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_language_strings.asp" target="_blank">Êùäéêïß
|
|
ãëþóóáò</a> êáé <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_country_strings.asp" target="_blank">Êùäéêïß
|
|
×þñáò/ðåñéï÷Þò</a>.(ð.÷. "esp_esp" ãéá éóðáíéêÜ)</p>
|
|
<p class="answer">Áõôïß ïé íÝïé locale êþäéêåò ìðïñïýí íá åéóá÷èïýí áðü ôç óåëßäá
|
|
Admin -> Configure -> Variables, üðïõ áíôéêáèéóôïýí áõôïýò óôï Þäç åðéëåãìÝíï
|
|
ãëùóóéêü ðáêÝôï. </p>
|
|
<p class="answer"> </p>
|
|
<h4 class="question"><a name="cron"></a>Áíôßãñáöá ôùí email ìïõ äåí óôÝëíïíôáé
|
|
áðü ôá forums ìïõ.</h4>
|
|
<p class="answer"><strong>ÐñÝðåé </strong> íá ñõèìßóåéò ôï cron óùóôÜ áí èåò ôï
|
|
Moodle íá óôÝëíåé áõôüìáôá email áðü forums, çìåñÞóéåò äñáóôçñéüôçôåò, áíáèÝóåéò
|
|
åñãáóéþí ê.ëð. ÁõôÞ ç ßäéá äéáäéêáóßá ðñáãìáôïðïéåß Ýíáí áñéèìü åêêáèáñéóôéêþí
|
|
åñãáóéþí üðùò äéáãñáöÞ ðáëéþí áíåðéâåâáßùôùí ÷ñçóôþí, äéáãñáöÞ ðáëéþí ìáèçôþí
|
|
ê.ëð.</p>
|
|
<p class="answer">ÂáóéêÜ, ÷ñåéÜæåôáé ìéá äéáäéêáóßá ãéá ôï script http://yoursite/admin/cron.php.
|
|
Äåßôå <a href="./?file=install.html#cron">ôï êåöÜëáéï cron óôï åã÷åéñßäéï ÅãêáôÜóôáóçò</a>.</p>
|
|
<h2> </h2>
|
|
<h2> </h2>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<p align="center" class="normaltext"><a href='mailto:ma%72%74in@%6d%6fo%64%6c%65.o%72g' title='martin@moodle.org'>Suggest
|
|
|
|
a new FAQ</a> (include the answer!)</p>
|
|
|
|
<hr>
|
|
|
|
<p align="right"><strong><em>Thanks to John Eyre for helping to maintain this
|
|
|
|
FAQ.</em></strong></p>
|
|
|
|
<p align="CENTER"><font size="1"><a href="." target="_top">Moodle Documentation</a></font></p>
|
|
|
|
<p align="CENTER"><font size="1">Version: $Id: faq.html,v 1.6 2003/03/30 13:54:28
|
|
|
|
moodler Exp $</font></p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|