From: johncaptain Date: Mon, 9 Jun 2003 04:28:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d9a145fd76b418a26cab377804edce747e683b3e;p=moodle.git *** empty log message *** --- diff --git a/lang/en/docs/faq.html b/lang/en/docs/faq.html index eb6dc204bc..910849e55b 100644 --- a/lang/en/docs/faq.html +++ b/lang/en/docs/faq.html @@ -1,204 +1,408 @@ - - -Moodle Docs: Frequently Asked Questions (FAQ) - - - - - - - -

Frequently Asked Questions (FAQ)

-

This page contains answers to some of the most - frequently asked questions by people installing Moodle. If you have - followed the installation instructions but - you still have a problem, then this page is probably the best place to be.

-

If you don't find your answer here try the Using - Moodle course on moodle.org. Start by searching the forums using a few keywords - (one at a time), in case your problem has already been discussed. If you don't find - anything, then try posting your question into the appropriate forum - somebody will - usually be be able to help you.

-

Use this list to jump to the appropriate answer below:

- - - - - - - - - - - -

Whenever I try to access or view - a file that I uploaded, I get an error "File not Found"

-

For example: Not Found: The requested URL /moodle/file.php/2/myfile.jpg - was not found on this server.

-

Your web server needs to be configured to allow the part of - the URL after a script name to be passed directly to the script. This is usually - enabled in Apache 1, but is usually disabled by default in Apache 2. To turn - it on, add this line to your httpd.conf, or to a .htaccess file in your local - directory (see the Install documentation - for more details):

-

AcceptPathInfo on

-

Note, this will ONLY work for Apache versions 2.x.

-

If you are not using Apache 2 and you still have this problem - (unlikely) then you can switch Moodle to use an alternative method. The disadvantages - are a slight loss of performance for your users and you won't be able to use - relative links within HTML resources.

-

To use this alternative method: login as Admin, go into the - "Configure Variables" page and change the setting for "slasharguments". - You should now be able to access your uploaded files.

-

 

- -

PHP - is it installed and what version - do I have?

-

Make a new file on your web site called info.php, containing the following - text, and call it from your browser:

- -

<?PHP phpinfo() ?>

-

If nothing happens then you don't have PHP installed. See the - installation docs for some information about where to download it for your computer.

-

 

-

Why are all my pages blank?

-

Check the dirroot variable in config.php. You must use complete, - absolute pathnames, eg:

-

$CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";

-

 

-

My pages show fatal errors such - as : call to undefined function: get_string()

-

If you see errors like:

-

Parse error: parse error, unexpected T_VARIABLE in c:\program - files\easyphp\www\moodle\config.php on line 94
- Fatal error: Call to undefined function: get_string() in c:\program files\easyphp\www\moodle\mod\resource\lib.php - on line 11

-

then it's likely you have left out a semi-colon or ending quote - from a line in config.php (previous to line 94).

-

Another reason could be that you have opened config.php in a - program like Word to edit it, and saved it as a HTML web page, instead of a - proper text file.

-

 

-

Why do I keep getting error messages - about "headers already sent"?

-

If you see errors like this:

-

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

-

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

-

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

-

You have blank lines or spaces after the final ?> in your config.php - file. Sometimes text editors add these - for example Notepad on Windows - so - you may have to try a different text editor to remove these spaces or blank - lines completely.

-

 

-

I keep getting this error: Failed - opening required '/web/moodle/lib/setup.php'

-

In your config.php, the setting that you use for the dirroot - variable must be the complete path from the root of your server's hard - drive.

-

Sometimes people only use the path from their home directory, - or relative to the root of the web server directory.

-

 

-

Any text I add with an apostrophe - (') or a quote (") causes errors or comes up with a slash added

-

Problems caused by apostrophes are caused by incorrect "magic - quotes" settings. Moodle requires the following settings (which are usually - the default):

-

magic_quotes_gpc = On
- magic_quotes_runtime = Off

-

See the section on webserver - configuration in the Installation docs for more details.

- - - -

I keep getting error messages about session_start

-

If you see errors like this:

-

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

-

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

-

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

- -

... these are all related to the fact that PHP is failing to save - "session" files on your hard disk (in a directory called /tmp). Usually the - reason is that you don't HAVE a directory called /tmp on your computer. This - is usually the case with Windows installations. - -

The solution is to fix the PHP setting for this path to point to a real directory. You can do this in your php.ini file:

-

session.save_path = C:\temp

-

or otherwise in a .htaccess file in your main moodle directory:

-

php_value session.save_path "/home/moodle/sessions"

- -

When I go to the admin page, I get told to make dirroot blank!

-

If you see errors like this in Moodle 1.0.9:

- - - - -
Please fix your settings in config.php: -

You have: -

$CFG->dirroot = "/home/users/fred/public_html/moodle"; -

but it should be: -

$CFG->dirroot = "";

- -

then you have encountered a small bug that occurs on some servers. The problem is with the error-checking mechanism, not with your actual path. To fix it, find this line (line 66) in the file admin/index.php:

-

if ($dirroot != $CFG->dirroot) {

-

and change it to this:

-

if (!empty($dirroot) and $dirroot != $CFG->dirroot) {

- - -

 

-

 

- -
-

Suggest - a new FAQ (include the answer!)

-
-

Thanks to John Eyre for helping to maintain this - FAQ.

-

Moodle Documentation

-

Version: $Id: faq.html,v 1.6 2003/03/30 13:54:28 - moodler Exp $

- - - + + + + +Moodle Docs: Frequently Asked Questions (FAQ) + + + + + + + + + + + + + + + +

Frequently Asked Questions (FAQ)

+ +

This page contains answers to some of the most + + frequently asked questions by people installing Moodle. If you have + + followed the installation instructions but + + you still have a problem, then this page is probably the best place to be.

+ +

If you don't find your answer here try the Using + + Moodle course on moodle.org. Start by searching the forums using a few keywords + + (one at a time), in case your problem has already been discussed. If you don't find + + anything, then try posting your question into the appropriate forum - somebody will + + usually be be able to help you.

+ +

Use this list to jump to the appropriate answer below:

+ + + + + + + + + + + + + + + + + + + + + + + +

Whenever I try to access or view + + a file that I uploaded, I get an error "File not Found"

+ +

For example: Not Found: The requested URL /moodle/file.php/2/myfile.jpg + + was not found on this server.

+ +

Your web server needs to be configured to allow the part of + + the URL after a script name to be passed directly to the script. This is usually + + enabled in Apache 1, but is usually disabled by default in Apache 2. To turn + + it on, add this line to your httpd.conf, or to a .htaccess file in your local + + directory (see the Install documentation + + for more details):

+ +

AcceptPathInfo on

+ +

Note, this will ONLY work for Apache versions 2.x.

+ +

If you are not using Apache 2 and you still have this problem + + (unlikely) then you can switch Moodle to use an alternative method. The disadvantages + + are a slight loss of performance for your users and you won't be able to use + + relative links within HTML resources.

+ +

To use this alternative method: login as Admin, go into the + + "Configure Variables" page and change the setting for "slasharguments". + + You should now be able to access your uploaded files.

+ +

 

+ + + +

PHP - is it installed and what version + + do I have?

+ +

Make a new file on your web site called info.php, containing the following + + text, and call it from your browser:

+ + + +

<?PHP phpinfo() ?>

+ +

If nothing happens then you don't have PHP installed. See the + + installation docs for some information about where to download it for your computer.

+ +

 

+ +

Why are all my pages blank?

+ +

Check the dirroot variable in config.php. You must use complete, + + absolute pathnames, eg:

+ +

$CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";

+ +

 

+ +

My pages show fatal errors such + + as : call to undefined function: get_string()

+ +

If you see errors like:

+ +

Parse error: parse error, unexpected T_VARIABLE in c:\program + + files\easyphp\www\moodle\config.php on line 94
+ + Fatal error: Call to undefined function: get_string() in c:\program files\easyphp\www\moodle\mod\resource\lib.php + + on line 11

+ +

then it's likely you have left out a semi-colon or ending quote + + from a line in config.php (previous to line 94).

+ +

Another reason could be that you have opened config.php in a + + program like Word to edit it, and saved it as a HTML web page, instead of a + + proper text file.

+ +

 

+ +

Why do I keep getting error messages + + about "headers already sent"?

+ +

If you see errors like this:

+ +

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

+ +

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

+ +

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

+ +

You have blank lines or spaces after the final ?> in your config.php + + file. Sometimes text editors add these - for example Notepad on Windows - so + + you may have to try a different text editor to remove these spaces or blank + + lines completely.

+ +

 

+ +

I keep getting this error: Failed + + opening required '/web/moodle/lib/setup.php'

+ +

In your config.php, the setting that you use for the dirroot + + variable must be the complete path from the root of your server's hard + + drive.

+ +

Sometimes people only use the path from their home directory, + + or relative to the root of the web server directory.

+ +

 

+ +

Any text I add with an apostrophe + + (') or a quote (") causes errors or comes up with a slash added

+ +

Problems caused by apostrophes are caused by incorrect "magic + + quotes" settings. Moodle requires the following settings (which are usually + + the default):

+ +

magic_quotes_gpc = On
+ + magic_quotes_runtime = Off

+ +

See the section on webserver + + configuration in the Installation docs for more details.

+ + + + + + + +

I keep getting error messages about session_start

+ +

If you see errors like this:

+ +

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

+ +

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

+ +

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

+ + + +

... these are all related to the fact that PHP is failing to save + + "session" files on your hard disk (in a directory called /tmp). Usually the + + reason is that you don't HAVE a directory called /tmp on your computer. This + + is usually the case with Windows installations. + + + +

The solution is to fix the PHP setting for this path to point to a real directory. You can do this in your php.ini file:

+ +

session.save_path = C:\temp

+ +

or otherwise in a .htaccess file in your main moodle directory:

+ +

php_value session.save_path "/home/moodle/sessions"

+ + + +

When I go to the admin page, I get told to make dirroot blank!

+ +

If you see errors like this in Moodle 1.0.9:

+ + + + + + + + + +
Please fix your settings in config.php: + +

You have: + +

$CFG->dirroot = "/home/users/fred/public_html/moodle"; + +

but it should be: + +

$CFG->dirroot = "";

+ + + +

then you have encountered a small bug that occurs on some servers. The problem is with the error-checking mechanism, not with your actual path. To fix it, find this line (line 66) in the file admin/index.php:

+ +

if ($dirroot != $CFG->dirroot) {

+ +

and change it to this:

+ +

if (!empty($dirroot) and $dirroot != $CFG->dirroot) {

+ + + + + +

 

+ +

 

+ + + +
+ +

Suggest + + a new FAQ (include the answer!)

+ +
+ +

Thanks to John Eyre for helping to maintain this + + FAQ.

+ +

Moodle Documentation

+ +

Version: $Id: faq.html,v 1.6 2003/03/30 13:54:28 + + moodler Exp $

+ + + + + + + diff --git a/lang/en/docs/glossary.html b/lang/en/docs/glossary.html index f2060d53a9..e47ecf4629 100755 --- a/lang/en/docs/glossary.html +++ b/lang/en/docs/glossary.html @@ -1,190 +1,380 @@ - -Moodle Docs: Glossary - - - - - - - -

Glossary

-

This page contains a number of definitions for many of the words and -expressions you may encounter while working with Moodle.

-

If you don't find the answer here try the Using - Moodle course on moodle.org, and search the forums for keywords. You may - have to try a few different search phrases before you find a resolution.

-

If you still can't find any answers then we can recommend Google, or try posting your question - on the appropriate forum in Using - Moodle - someone should be able to help you.

- - -

Active-X

-

A method of scripting (controlling) certain functions in a web page, used only by Microsoft Internet Explorer.

- -

applet

-

Most recent browsers can run these small programs if the Java feature in the browser has been enabled.

- -

ASCII

-

American Standard Code for Information Interchange

-

Certain file types require that you upload in ASCII mode when using your FTP program. -It's usually best to choose " AUTO " in your FTP settings.

- -

binary

-

Certain file types require that you upload in binary mode when -using your FTP program. It's usually best to choose " AUTO " in your FTP settings.

- -

Cascading Style Sheets

-

Please see CSS below.

- -

CSS

-

Abbreviation for "Cascading Style Sheets". -CSS is used as a template to make it easier to update the look (style) of many -web pages at the same time and CSS also makes it possible to have several pages -that all follow a similar theme.

- -

CVS

-

Concurrent Versioning System is simply a method of storing files -on a server that helps coordinate many people working on those files. To "check out" files from a CVS server means to copy the very latest versions to your own computer.

- -

database

-

An electronic collection of information, stored in tables of data. For example, Moodle contains a table of all users in a site. MySQL is a brand of database software.

- -

dataroot

-

The place where Moodle can save uploaded files. This -directory should be readable and writeable by the web server user -but it should not be accessible directly via the web.

- -

domain name

-

A name given to a computer or a group of computers. eg moodle.org You can buy new domain names on the Internet.

- -

download

-

To move your files from a -server "down" to your personal computer. Also see FTP and upload.

- -

directory

-

Please see dirroot

- -

dirroot

-

A root directory has content and a name. This root directory may contain -several sub-directories and the name is the location on your server -where your Moodle files will reside after you upload them.

- -

FTP

-

File Transfer Protocol - a method a copying files from one -computer to another. For example, you might FTP your Moodle files from your -home computer to your web server

- -

hosting provider

-

A business that will host your web site for a monthly fee. -You provide a domain name that you own, and after they've set -it up for you, then you can copy your files to their server and set up your site.

- -

html

-

HyperText Markup Language - a language used to create web pages.

- -

index

-

When a web address specifies a directory (eg http://yoursite.com/moodle/) instead of a file (eg http://yoursite.com/moodle/index.php), then the web server needs to assume the name of the file. The files it looks for to use in this case are called the index files.

- -

Java

-

A programming language that can be used to write applets that may run within web pages. Moodle doesn't use any of it.

- -

javascript

-

A scripting language that can be used to write small programs in web pages, such as popup menus. Moodle uses a little Javascript.

- -

Moodle

-

The word Moodle is an acronym for -Modular Object-Oriented Dynamic Learning Environment

- -

MySQL

-

MySQL is the world's most popular open source database, - recognized for its speed and reliability.

- -

nightly

-

A Moodle Nightly is built automatically every day from the most recent code, and is available from the Moodle web site. It can be useful if you don't have CVS, but you want to try the latest features. It can also contain bugs, since they haven't been well-tested.

- -

PHP

-

PHP is a server-side scripting language which executes commands on -the server side then delivers dynamic HTML pages to the web browser. Your server -must be PHP enabled in order to run Moodle.

- -

server

-

This is where your web site or database, -or both, resides. You may choose to run your own server or have a -hosting provider look after this for you.

- -

style sheet

-

Please see CSS above.

- -

upload

-

To upload is simply to move your files from your computer -to a server. Also see FTP.

- -

URL

-

A Uniform Resource Locator is the address that is used to -reach a website.

- -

XHTML - Extensible Hypertext Markup Language

-

XHTML will, eventually, replace HTML as the language used -to program web pages for display in your web browser. XHTML will, hopefully, -make writing code for browsers easier as XHTML code will cause the page to display -exactly the same in any web browser.

- -

XML

-

Extensible Mark-up Language is just what the name implies, extensible. -The programmer has a very wide latitude when writing XML as the programmer may -choose to add instructions as she/he writes. This is in direct opposition to -HTML which has a clearly defined and documented set of instructions available and -no freedom exists to " extend " this set of rules. Due to its' extreme -versatility XML may be the end of the evolutionary path for HTML. also see -XHTML - - - -

Page Top

- -
-

Maintained by John Eyre. Please send suggestions to captain@eyrespace.com.

-
- -

Moodle Documentation

-

Version: $Id$

- - + + +Moodle Docs: Glossary + + + + + + + + + + + + + + + +

Glossary

+ +

This page contains a number of definitions for many of the words and + +expressions you may encounter while working with Moodle.

+ +

If you don't find the answer here try the Using + + Moodle course on moodle.org, and search the forums for keywords. You may + + have to try a few different search phrases before you find a resolution.

+ +

If you still can't find any answers then we can recommend Google, or try posting your question + + on the appropriate forum in Using + + Moodle - someone should be able to help you.

+ + + + + +

Active-X

+ +

A method of scripting (controlling) certain functions in a web page, used only by Microsoft Internet Explorer.

+ + + +

applet

+ +

Most recent browsers can run these small programs if the Java feature in the browser has been enabled.

+ + + +

ASCII

+ +

American Standard Code for Information Interchange

+ +

Certain file types require that you upload in ASCII mode when using your FTP program. + +It's usually best to choose " AUTO " in your FTP settings.

+ + + +

binary

+ +

Certain file types require that you upload in binary mode when + +using your FTP program. It's usually best to choose " AUTO " in your FTP settings.

+ + + +

Cascading Style Sheets

+ +

Please see CSS below.

+ + + +

CSS

+ +

Abbreviation for "Cascading Style Sheets". + +CSS is used as a template to make it easier to update the look (style) of many + +web pages at the same time and CSS also makes it possible to have several pages + +that all follow a similar theme.

+ + + +

CVS

+ +

Concurrent Versioning System is simply a method of storing files + +on a server that helps coordinate many people working on those files. To "check out" files from a CVS server means to copy the very latest versions to your own computer.

+ + + +

database

+ +

An electronic collection of information, stored in tables of data. For example, Moodle contains a table of all users in a site. MySQL is a brand of database software.

+ + + +

dataroot

+ +

The place where Moodle can save uploaded files. This + +directory should be readable and writeable by the web server user + +but it should not be accessible directly via the web.

+ + + +

domain name

+ +

A name given to a computer or a group of computers. eg moodle.org You can buy new domain names on the Internet.

+ + + +

download

+ +

To move your files from a + +server "down" to your personal computer. Also see FTP and upload.

+ + + +

directory

+ +

Please see dirroot

+ + + +

dirroot

+ +

A root directory has content and a name. This root directory may contain + +several sub-directories and the name is the location on your server + +where your Moodle files will reside after you upload them.

+ + + +

FTP

+ +

File Transfer Protocol - a method of copying files from one + +computer to another. For example, you might FTP your Moodle files from your + +home computer to your web server

+ + + +

hosting provider

+ +

A business that will host your web site for a monthly fee. + +You provide a domain name that you own, and after they've set + +it up for you, then you can copy your files to their server and set up your site.

+ + + +

html

+ +

HyperText Markup Language - a language used to create web pages.

+ + + +

index

+ +

When a web address specifies a directory (eg http://yoursite.com/moodle/) instead of a file (eg http://yoursite.com/moodle/index.php), then the web server needs to assume the name of the file. The files it looks for to use in this case are called the index files.

+ + + +

Java

+ +

A programming language that can be used to write applets that may run within web pages. Moodle doesn't use any of it.

+ + + +

javascript

+ +

A scripting language that can be used to write small programs in web pages, such as popup menus. Moodle uses a little Javascript.

+ + + +

Moodle

+ +

The word Moodle is an acronym for + +Modular Object-Oriented Dynamic Learning Environment

+ + + +

MySQL

+ +

MySQL is the world's most popular open source database, + + recognized for its speed and reliability.

+ + + +

nightly

+ +

A Moodle Nightly is built automatically every day from the most recent code, and is available from the Moodle web site. It can be useful if you don't have CVS, but you want to try the latest features. It can also contain bugs, since they haven't been well-tested.

+ + + +

PHP

+ +

PHP is a server-side scripting language which executes commands on + +the server side then delivers dynamic HTML pages to the web browser. Your server + +must be PHP enabled in order to run Moodle.

+ + + +

server

+ +

This is where your web site or database, + +or both, resides. You may choose to run your own server or have a + +hosting provider look after this for you.

+ + + +

style sheet

+ +

Please see CSS above.

+ + + +

upload

+ +

To upload is simply to move your files from your computer + +to a server. Also see FTP.

+ + + +

URL

+ +

A Uniform Resource Locator is the address that is used to + +reach a website.

+ + + +

XHTML - Extensible Hypertext Markup Language

+ +

XHTML will, eventually, replace HTML as the language used + +to program web pages for display in your web browser. XHTML will, hopefully, + +make writing code for browsers easier as XHTML code will cause the page to display + +exactly the same in any web browser.

+ + + +

XML

+ +

Extensible Mark-up Language is just what the name implies, extensible. + +The programmer has a very wide latitude when writing XML as the programmer may + +choose to add instructions as she/he writes. This is in direct opposition to + +HTML which has a clearly defined and documented set of instructions available and + +no freedom exists to " extend " this set of rules. Due to its' extreme + +versatility XML may be the end of the evolutionary path for HTML. also see + +XHTML + + + + + + + +

Page Top

+ + + +
+ +

Maintained by John Eyre. Please send suggestions to captain@eyrespace.com.

+ +
+ + + +

Moodle Documentation

+ +

Version: $Id$

+ + + + +