I am using WAMP but when I browse to localhost I get an empty page with no errors.
Apache and php are working becuase if i run http://localhost/php.info that works. I get the php info page which suggests the apache and php are working.
So a blank page!
If i add a test.html file and run http://localhost/test.html that also works.
I have had a look at the issues with vista in the docs and the forums and they all seem to relate to the issue of the moodle installation procedure not getting past the database part. I.e. Vista permissions issue where it cannot create a moodledata directory.
But im getting nothing, nada, zilch, zero, dim
And I have created a database called moodle which is empty and can log in to it using mysql administrator using the same details as I have specified in the moodle config file.
I would imagibe that the moodle installer would still start and then fail t the database bit if my mysql service wasnt running
Cheers for your help
Is your mysql service runnin9? Have you created the moodle db using the utf-8 charset?
How are you accessing your Moodle?
your_site.com/moodle ? or yours_site.com ??
Because you are getting a blank page, your web server is working. But have you configured your web server to "See" the moodle site?
Although this link is to Ubuntu, I used similar commands to add the "Moodle" website to my XP testing box. Apache thought that only the default website was loaded, I had to tell it that Moodle was also there.
The specifics to look at:
To create a new site:
Copy the default website as a starting point. sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mysite
Edit the new configuration file in a text editor "sudo nano" on the command line or "gksudo gedit", for example: gksudo gedit /etc/apache2/sites-available/mysite
Change the DocumentRoot to point to the new location. For example, /home/user/public_html/
Change the Directory directive, replace <Directory /var/www/> to <Directory /home/user/public_html/>
You can also set separate logs for each site. To do this, change the ErrorLog and CustomLog directives. This is optional, but handy if you have many sites
- Save the file
Now, we must deactivate the old site, and activate our new one. Ubuntu provides two small utilities that take care of this: a2ensite (apache2enable site) and a2dissite (apache2disable site).
sudo a2dissite default && sudo a2ensite mysite
If Al dumps vista , then I'll have to gooble up my own version - byte by byte.
I'm running Moodle v.1.9.7 perfectly on my vista o/s ( a XAMP setup) - okay admitted , I had a couple of challenges installing my Moodle app, but once I was up and running, I was running indeed. Besides , I found the learning experience quite ok - as compared to if I had installed without issues.
I should have asked if you have turned debugging on - this helps especially when you see the white screen of 'life and death' quite often
NB- I got my moodle running on vista so once you get over the initial hiccups - you should be good.
I have upgraded to Windows 7 and the problem is the same I get to the datbase bit (all php checks pass), and when I fill in the database details and press the next button I now get a connection reset by the server in my Firefox window.
However, when I check the url of the page that has been reset it is http://localhost/moodle/index.php
I have checked that php is working in http://localhost/phpinfo.php and http://localhost/moodle/phpinfo.php and all is fine.
Even though I get a "page was reset by the server" error after the database stuff I have noticed that moodle has added a "session" directory and a .htaccess file in my moodledata directory so it isnt write permissions that are missing.
It does not however add a config file in my moodle directory or change any settings in config-dist
Ill keep working on this
But still the same problem:
The connection was reset
The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few
* If you are unable to load any pages, check your computer's network
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
There are a huge range of ports, but for some reason, only a few are being used by a number of applications. I suspect this will be an increasing problem. I have had to reassign some of my ports last time I installed Windows. Seriously suggest that you get everything else out of port 80 and leave it for Apache.
Just out of curiosity, are you installing Apache, PHP and MySQL or using the Apache Friends' Xampp or the Xampp-Lite Moodle download?
I have installed Apache, Moodle, PHP and Mysql all by hand and do not use any of the windows installers such as Xamp or whatever its called
Im really at a loss here and it appears the im not the only person having these issues. I am beginning to think that Moodle should look in to this and get a patch out rather quicky as Windows 7 comes on most PCs brought
C:\Program Files\Apache Software Foundation\Apache2.2/moodledata
Is that forward slash supposed to be like that
it looks like you are fighting against Windows Vista/Windows 7 UAC = User Account Control.
Typically you can't run web applications freely inside folders like Program Files, Windows directories, or system root (the C drive) folders - UAC blocks such attempts.
Try to create a new folder C:\XXXXX and install your applications (or XAMPP) there. Create moodledata folder and give users of that folder (Users of PC) all permissions using mouse right click - Properties - Security (tab) - Edit...
Sometimes you may have some Windows registry data left from old installs so finding correct localhost or 127.0.0.1 may cause headache but at least my test Vista has never had problems with parallel moodle installs (using XAMPP from C:\XAMPP).
And yes, you can change that last forward slash to backward slash...