Jump to content

Recommended Posts

Posted (edited)

Have a new test moodle site (v1.99) set up on a remote web server - safer that using main site.

 

Went throught most of the instruction and got buttons on moodle page - but blank white screen presented.

 

When I had a closer look at the instructions - I had missed a step "Environment Setup". This mentions that 6 different features of PHP need to be enabled.

 

extension=php_mhash.dll

extension=php_mcrypt.dll

extension=php_openssl.dll

extension=php_hash.dll

extension=php_curl.dll

extension=php_soap.dll

 

And mentions the php.ini file - but on the web server install I don't have this file listed in the moodle folder.

 

I've done a lot of seracing and don't really find a solution - one fix mention the .htaccess file (which I can find) but even if can put these lines into this file - how would I make them run?

 

Any advice would be gratefully appreciated - this is driving me nearly mad at this stage.

Ger

Edited by gdoyle
Posted

Apoplgies - you are correct - it should be php.ini (was in too much of a hurry for my own good).

 

What OS are you running your moodle on? Is it linux or is it IIS?

 

I think it might be php.ini rather than php.ine

Posted

Apologies, just a typo. However, have made some progress.

 

But I think solution is still in the same area - have Live login button on Login Screen but on pressing it it presents me with a blank screen.

 

Logged in as administrator.

On the left hand side, under Site Administration, selected Server> Debugging

In the drop down list, choose "Developer"

 

When I pressed the Live button this time I get "Fatal error: Call to undefined function mhash() in /home/..../public_html/test/auth/liveid/windowslivelogin.php on line 1535"

 

This was one of the the items mentioned in my origianal posting "extension=php_mhash.dll" - anyone any advice on sorting this particular one out.

 

Again this on a remote web server (using linux).

 

Progress slow.... but still making progress all the same.

 

So did that fix it? Or was it just a typo in your original post?
Posted (edited)

Which distro of linux? I had to manually modify one of the php files to get it to work with Suse, but that was failing at a later point than yours

 

../moodle/auth/liveid/login.php is the location of the file on mine..

Edited by RabbieBurns
Posted

Thanks for taking the time to answer and try and help me out - it is very much appreciated.

 

From the cpanel - I'm getting "CentOS 5.2 Linux Kernel 2.6.18-92.1.10.el5", "Apache version 2.2.9", "MySQL version 5.0.91-community", "PHP version 5.2.6" - to be honest most of this doesn't mean much.

Posted

We've had the Live plugin for quite a while now and you do need to manually edit the php.ini file to enable the required extensions. It might be in...

 

home/www/apache/bin/php.ini

 

On your Linux box. Or to find out for sure create a file in the web server called a file called phpinfo.php and put the following in there...

 

<?php

phpinfo();

?>

 

Then go to yourwebserveraddress/phpinfo.php and the location of php.ini should be listed under...

 

Configuration File (php.ini) Path home/www/apache/bin/php.ini

 

Having said that you're on a remote server so you might not have rights to enable the extra extensions... almost certainly the case with free hosting unfortunately. I wanted to do the same thing for my beta site but in the end I used Wampserver on a spare PC and hooked it up as an extra web server in our DMZ. I can now mess around as much as I want :D

  • Thanks 1
Posted

Thank you very much for this. I'll have a go at this probably tomorrow - (today is a baby sitting day).

 

If I can't get it sorted I'll have to consider the same route as you and set up a pc with wampserver.

 

Thanks again.

 

We've had the Live plugin for quite a while now and you do need to manually edit the php.ini file to enable the required extensions. It might be in...

 

home/www/apache/bin/php.ini

 

On your Linux box. Or to find out for sure create a file in the web server called a file called phpinfo.php and put the following in there...

 

<?php

phpinfo();

?>

 

Then go to yourwebserveraddress/phpinfo.php and the location of php.ini should be listed under...

 

Configuration File (php.ini) Path home/www/apache/bin/php.ini

 

Having said that you're on a remote server so you might not have rights to enable the extra extensions... almost certainly the case with free hosting unfortunately. I wanted to do the same thing for my beta site but in the end I used Wampserver on a spare PC and hooked it up as an extra web server in our DMZ. I can now mess around as much as I want :D

Posted

Thanks very much for you help on this - now getting additional error messages. It's time to call in the "big guns" who understand this better than I do.

 

Your time and direction was appreciated.

 

We've had the Live plugin for quite a while now and you do need to manually edit the php.ini file to enable the required extensions. It might be in...

 

home/www/apache/bin/php.ini

 

On your Linux box. Or to find out for sure create a file in the web server called a file called phpinfo.php and put the following in there...

 

<?php

phpinfo();

?>

 

Then go to yourwebserveraddress/phpinfo.php and the location of php.ini should be listed under...

 

Configuration File (php.ini) Path home/www/apache/bin/php.ini

 

Having said that you're on a remote server so you might not have rights to enable the extra extensions... almost certainly the case with free hosting unfortunately. I wanted to do the same thing for my beta site but in the end I used Wampserver on a spare PC and hooked it up as an extra web server in our DMZ. I can now mess around as much as I want :D

Posted

Thanks for your help on this but I know when I'm stumped. I've gotten on to the webserver hosts to see if they can do it for me. I'd like to have sorted it myself but I there's a time to call a halt.

 

Thanks again.

 

What additional error messages you getting?
  • 5 weeks later...
Posted

No not yet - all the teaching staff back here for past week - so not getting much time to myself - will give it a go again asap.

 

Intend to go back and start process from start.

 

Thanks for getting in touch again.

 

did you have any more luck getting this working ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...