About acquiring old code (1.9.9 is old!).
One could get the entire package (1.9.9+ at least) by using git on a local machine - not server.
git log -p version.php
Will show a long listing of info on releases.
Scroll through the listing until one sees a release for your 1.9.9
(+ is ok it's close enough).
Note the commit line below.
commit 813d4754fdc8601541f51c885820f473970c8b6d
Author: Moodle Robot <martin@moodle.com>
Date: Sun Oct 24 00:55:27 2010 +0000
Updated the 19 build version to 20101024
diff --git a/version.php b/version.php
index 73c2fe8..575389c 100644
--- a/version.php
+++ b/version.php
@@ -10,6 +10,6 @@
// X = release number 1.9.[0,1,2,3,4,5...]
// Y.YY = micro-increments between releases
- $release = '1.9.9+ (Build: 20101023)'; // Human-friendly version name
+ $release = '1.9.9+ (Build: 20101024)'; // Human-friendly version name
To acquire all the 1.9.9+ code in a directory (then one could compare files from server):
git clone git://git.moodle.org/moodle.git moodle199
cd moodle199
git branch --track MOODLE_19_STABLE origin/MOODLE_19_STABLE
git checkout 813d4754fdc8601541f51c885820f473970c8b6d
fgrep release version.php should show:
// X = release number 1.9.[0,1,2,3,4,5...]
// Y.YY = micro-increments between releases
$release = '1.9.9+ (Build: 20101024)'; // Human-friendly version name
Am not at all certain that any files on your system has changed, but ....
Might check into:
http://pcsupport.about.com/od/findbyerrormessage/a/502error.htm
Link above list 12 things to do/try, etc.
'spirit of sharing', Ken