i tried wampserver2 and xampp1.66
with moodle 1.8.5, 1.9 and 1.9+ but nothing is changed
no matter how i fill the blanks in, it keeps giving this error
http://img135.imageshack.us/img135/448/zzzhata2fo7.jpg
someone please help me
i tried wampserver2 and xampp1.66
with moodle 1.8.5, 1.9 and 1.9+ but nothing is changed
no matter how i fill the blanks in, it keeps giving this error
http://img135.imageshack.us/img135/448/zzzhata2fo7.jpg
someone please help me
hi matt
yes, mysql is running as i installed wampserver
no, i didnt create a database but installer says that "if u dont create one, installer will try to create it"
but it doesnt do what it claims
by the way, i dont know how to create a database..
Hi Baris,
It may help if you post some more precise details of your setup:
I will make some assumptions, and offer some advice based on them. When you call your site in a browser, because there is no config.php file, the installation script kicks in and tries to create one. To do this, it needs certain information, including where your database lives (is it on the same machie you are testing on?), and what username and password should it use to connect to the database.
If you are using an all in package, chances are that the database is running on localhost, and (FOR LOCAL TESTING PURPOSES ONLY), you should be able to use 'root' as the username, and no password to connect to it.
You mentioned you tried this with xampp. If this is so, you should be able to type in http://localhost/xampp into your browser and reach the xampp window. On the left somwhere down the page, there should be a link to phpmyadmin, which you can click. There you will get to a window that allows you to create a new database. Call it moodle.
Assuming you have dropped your moodle folder into the htdocs folder, then your entry for $CFG-> should read:
$CFG->wwwroot = 'http://localhost/moodle';
This is only good for local testing, as if you are on a network and you try to view your site from another machine, there will be problems. These are easily solved, but let's get things working locally first.
If the newly installed xampp folder ended up on your c drive, then the entry for your $CFG->dirroot should read:
$CFG->dirroot = 'c:\xampp\htdocs\moodle';
If you placed the newly created moodledata folder directly on to your c drive, then the $CFG->dataroot entry should read:
$CFG->dataroot = 'C:\moodledata';
Don't forget to share the moodledata folder, so that apache can read and write to it.
If all my assumptions (guesses) are correct, then the attached config.php file should work for you. Drop it into your moodle folder, and call your site in a browser. Two screenshots of xampp and phpmyadmin here, but your setup may be different.
thank you richard and matt
ive already solved the problem but if it happens again, i will try what u said
thanks again
How did you solve it? I am having the same problem.
Vista, Wampserver 2.0, Moogle lastest version.
Database already created and access is ok but screen hangs after next button to populate the database then finishes with a blank screen after a a couple minutes.
Searched internet for solution and your "I already solved the problem" is the closest I have found.
Other scripts and databse interaction work fine with my Wamp install.
Please let me know your solution...TIA