Hello!
I am having a problem installing this script.
Just wanted to ask the following,
My Moodle install looks like the following,
/moodle
/moodledata
The web site address appears as
http://MyWebSite.com/moodle/
This is what I did in an attempt to follow the instructions in the "ReadMe" file,
SCRIPT CHANGES,
In "xmlreader.php"
/* MOODLE FILE.PHP ANFANG
*/
require_once("moodle/config.php");
require_once("moodle/files/mimetypes.php");
$pfad="http://MyWebSite.com/moodle/file.php/";
$lifetime = 86400;
if (isset($file)) $pathinfo = $file;
else $pathinfo = get_slash_arguments("xmlreader.php");
if (!$pathinfo) error("No file parameters!");
$pathinfo = urldecode($pathinfo);
if (! $args = parse_slash_arguments($pathinfo)) error("No valid arguments supplied");
In "reader.xml"
- <ps>
- <!-- Reader for moodle (c) 2004 ps@sereinigg.at</font> -->
- <!-- you MUST CHANGE ROOT to Moodledata: /home/YOUR-Domain/moodledata/ -->
- <!-- you MUST Change pfad with your data-directory -->
- <!-- you may modify title -->
- <!-- you may modify start.htm and end.htm -->
- <!-- use it from ressource with http://your-mmodle-domain/xmlreader.php/reader.xml -->
<basis>/homepages/22/x12345678/htdocs/moodledata/</basis>
- <verzeichnis>
<pfad>homepages//22/x12345678/htdocs/moodledata/</pfad>
<titel>STORAGE TESTER</titel>
<kopfzeile>start.html</kopfzeile>
- <fusszeile>
- <!-- you may modify this -->
end.html
</fusszeile>
</verzeichnis>
</ps>
SCRIPT PLACEMENT
/moodle/xmlreader.php
/moodledata/reader.xml
moodledata/start.html
moodledata/end.html
If I try to call the page using http://MyWebSite.com/moodle/xmlreader.php/reader.xml I get a 404 error.
What did I do wrong??
WP1