Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -
Number of replies: 15

I really need help at implementing this Moodle server that I am trying to get running and configured for one of the schools in my county that is going to use it for a new online class. I am the Technology Specialist here in the Technology Department and this has to be up for the class this summer. So any services or options you guys can offer me in dealing with support then I am all ears. I am trying to install on a Windows Serve 2003 sp2 with IIS 6 and I am on the last step using moodledocs. The problem is that when I type in the link to my supposed moodlesite to download via the web then nothing comes up.  Its like a bad web address link or so.  Im lost when it comes to step 15) and 18) below. Any help with this would be great, thanks! : )

5)Setup the config.php file by changing these parameters:
Set $CFG->dbtype to 'mssql_n': $CFG->dbtype = 'mssql_n';
Set $CFG->dbhost to your MSSQL database host, e.g.: $CFG->dbhost = 'your_db_host';
Set $CFG->dbname to your MSSQL database name, e.g.: $CFG->dbname = 'your_db_name';
Set $CFG->dbuser to your database user name, e.g.: $CFG->dbuser = 'mdl_user';
Set $CFG->dbpass to your database password, e.g.: $CFG->dbpass = 'your_db_password';
Keep the default $CFG->prefix value: $CFG->prefix = 'mdl_';
Keep the default $CFG->dbpersist value: $CFG->dbpersist = false;
15)Set $CFG->wwwroot to the full web address where moodle has been installed, e.g.: $CFG->wwwroot = 'http://yourmoodlehost/moodle';
Set $CFG->dirroot to the path where you installed Moodle, e.g.: $CFG->dirroot = 'C:\moodle';
Set $CFG->dataroot to the path of your Moodle data folder, e.g.: $CFG->dataroot = 'C:\moodledata';. For security reasons this should be outside your web root.
Set $CFG->emailconnectionerrorsto to the e-mail address of your Moodle administrator, e.g.: $CFG->emailconnectionerrorsto = 'admin@yourhost.com'. This setting is optional and you should set it only if you want the administrator to receive e-mail notifications of database connection failures.
Finally, make absolutely sure that there no spaces, blank lines, returns, or anything else at the end of the config.php file. The very last characters in the page must be the closing PHP characters: ?>
Don't add or allow a blank line or carriage return after these characters.
Note

If you don't create a config.php file Moodle will prompt you for the required values when you run the Moodle setup and then create the config.php file for you. However, it will not contain all the information and notes that the config-dist.php contains and these notes can be quite valuable, especially when you are troubleshooting. So I highly recommend that you make your own config.php file from the config-dist.php as per Step 3 above.

18)Run the Moodle installation by pointing your browser at the install.php script on your Moodle site: e.g. http://yourmoodlesite.com/install.php. Moodle gives you the option to run an unattended installation but you should not select this option because it's better to check the output of each of the installlation steps that Moodle performs so that you can look out for any errors during the Moodle installation (e.g. permissions errors).
When the installation scripts have run and all the database tables have been created Moodle will prompt you to enter the administrator username, password and the administrators details. For maximum security use a unique name for the administreator instead of 'Admin' or 'Administrator'.
When the adminstrator account has been created and the Moodle setup is complete login to the Moodle site and test if it is working. If you installed Moodle in the IIS root the url will be: http://yourmoodlesite.com. If you installed it in a subfolder in the root called 'moodle' then it will be: http://yourmoodlesite.com/moodle.
Run the Moodle Health Check. This is the health.php file in the Moodle \admin folder and you call it like this: http://yourmoodlesite.com/admin/health.php. This script will check your Moodle setup and alert you to any problems.
To check how your server suits the current and future Moodle installation requirements use the Environment function under the Server folder in your Site Administration block.

Average of ratings: -
In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Is php working?

http://docs.simplemachines.org/index.php?topic=479.0

Also when you say nothing comes up, do you mean you see a blank page, what is the HTML content of that page?

I normally install moodle by going through the install wizard that runs as soon as I point the browser towards the home url, it asks a series of questions that generates the config.php rather than editing them by hand.

 

In reply to Marcus Green

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

As far as I know, I followed everything it told me to do concerning the manual install.  I just do not know what it is asking me to type in in adjunct with the phpinfo.php file to get it to display???

Part 7 - Test the PHP configuration

  1. Create a PHPInfo.php test page in the folder where you installed Moodle. This is a simple .php file that contains just the following code:

    <?php
     PHPInfo();
    ?>

    Note

    The PHPInfo() function returns configuration information, in HTML form, about the PHP environment on the server. This includes information about PHP compilation options and extensions, the PHP version, server information and environment, the PHP environment, operating system version information, paths, master and local values of configuration options, HTTP headers, and the PHP License. Because every system is setup differently, PHPInfo() is used to check configuration settings and the available predefined variables on the system.

  2. Load the PHPInfo.php page in your web browser: http://yourmoodlesite.com/PHPInfo.php. If the PHP configuration has been done properly the output of the PHPInfo() function will be displayed. This is usually a good indicator that PHP has been setup correctly and is working. (I DO NOT NOT UNDERSTAND THIS PART, WHAT IS MY MOODLESITE??? I SUPPOSEDLY CREATED IT  IN IIS 6,
In reply to Marcus Green

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

I get the "Internet Explorer can not display the webpage" page. How do u get to the HTPML content of the page?

So u do the windows installer package?

 

 

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Your posts are really hard to read, can you keep them to the essentials. Can you confirm that PHP is actually working, i.e. does phpinfo.php give output vaguely like the attached image, i.e. with the big PHP logo and a bunch of text about the installation.

Attachment phpinfo.jpg
In reply to Marcus Green

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

No I have not got that page yet.  What did you type in to get that page? Maybe I am typing in the wrong moodlesite name that I created. I  thought you could just type your IP or server name in with it, http//server/IP/phpinfo.pnp

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Barry, slow down. One step at a time. 

I gave you the link earlier

http://docs.simplemachines.org/index.php?topic=479.0

This explains what a phpinfo file is, how to produce it and where to put it.  If you can create and upload that file you will know two things. 

1. You are pointing your browser to where a web server is making your files available

2. That PHP and a web server is working.

Once you have established those facts you can move on to installing Moodle. At the moment you don't seem to know where you should be pointing your browser. 

At the moment you are trying to drive a car, but you don't even know if you have a car. </analogy>

Another idea is simply to buy some web space that supports the technologies. For example I pay £50 a year to an outfit called TSOhost and it has a thing called scriptaculous that allows me to install Moodle (and a bunch of other stuff) at the click of the button.

I am not saying they are the greatest, it just works for me. . Then if you like what you find you can get your hands dirty on a self hosted system, or if you have the budget go for a moodle partner.

In reply to Marcus Green

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

In dealing with the TSOhost and sriptaculous that you previously stated that allow you to install Moodle, how does this work and is a good idea for a production server for Moodle?

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Well it works for me for my little classes of around 20 students. You would something beefier for a complete instution.

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

If you have installed it on your localmachine yourmoodlehost will actually be http://localhost/moodle

In reply to Marcus Green

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

I tried, http://localhost/moodle, and it does not work

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Please... "it does not work" and the like does not provide us with anything useful to help you with. What happened? Did you get a blank page, an error message, dancing girls, what??
In reply to Howard Miller

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Guillermo Madero -

ROTFLOL big grin

(sorry, couldn't help it!)

In reply to Howard Miller

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Barry Taylor -

I got a blank page

In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Ok.. that usually means something failed. Did you check the web server error log (I think it's called something different in Windows but it will exist)?
In reply to Barry Taylor

Re: Moodle 2.2, I cant get a installation page when I put in my supposedly moodle site, Ex. "http://yourmoodlehost/moodle", WHAT IS THIS? Also PHPInfo.php file i created want load, I know i configured php correctly PLEASE HELP THANKS! : )

by Stewart McMaster -

I don't know why you are playing with phpinfo when you can't find your site. Start a fresh install.

FTP files to your root directory if this is to be your main program (normally public_html or similiar) or into a directory called moodle if this isn't your main program. Make sure you have set up a DB with admin priveleges.

http://www.yoursite.com.au or http://www.yoursite.com.au/moodle.

maybe in your case you may have a another directory called moodlewithin moodle which would be /moodle/moodle or try moodle/install. Follow the wizard. The file you may need to edit if your server doesn't meet minimum specs is php.ini. You may need to create this in a text editor and place it in moodle/admin.

Best of luck.