Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Daniel Bugim -
Number of replies: 8

Now I've installed WAMP5 1.7.4 and Moodle 1.9.9 I've pasted Moodle directory on www directory and try to run: http://localhost/moodle/install.php and leads to blank page, do you have any idea?

Average of ratings: -
In reply to Daniel Bugim

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Kanika Goyal -

Hi Daniel,

Just making sure - Can your WAMP server run other PHP files? Did you try?
To check, you can create and upload a test.php file in the document root  -

<?php
phpinfo();
?> 

When you open the above file in the web browser you should get a "similar" output as - http://www.quadrahosting.com.au/web-hosting/features/phpinfo.html (just Google'd for sample phpinfo() output) 

If you do not get something like the above - there is something wrong with the PHP configuration and Apache.
The Apache and PHP error log would have something interesting - as to why you are getting the white screen of death (blank page). Please post the error(s) generated so that we could help you further.

Thanks,
Kanika. 

In reply to Kanika Goyal

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Daniel Bugim -

I've accessed http://localhost then I click on phpinfo link and I got

 

System Windows NT IMPRESSORA 5.1 build 2600
Build Date Nov 8 2007 23:18:08
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\wamp\Apache2\bin\php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

 

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
In reply to Daniel Bugim

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Kanika Goyal -

Hi Daniel,

It is not a regular phpinfo() output (not saying that there errors). I have not worked in a WAMP server envirnoment myself and thus I am not very sure how the phpinfo link on the default landing page (http://localhost) of WAMP fetches information.
Instead of checking it through the default landing page you may want to create a test PHP file inside the www folder - as I mentioned in my previous post.
Also, did you check the Apache and PHP error logs? There might be some error that might be generating when you get the blank page.
The error logs would be usually in - <RootDirectory>:\Wamp\Apache2\logs\ and <RootDirectory>:\Wamp\PHP\logs\. For you it would be - C:\Wamp\Apache2\logs\ and C:\Wamp\PHP\logs\

Last thing - are you using Firefox to access (just a guess)? It generally "hides" the 404 Error and shows a blank page instead. You may want to use Chrome  or IE(just to check the error) instead.

It is not good to cross post smile

Thanks,
Kanika 

In reply to Daniel Bugim

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Guillermo Madero -
In reply to Guillermo Madero

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Daniel Bugim -

Sorry Guillermo. I'll close that one soon.

In reply to Daniel Bugim

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Daniel Bugim -

Hi Kanika, now I'm using WAMP 2.2.6, and I got this log for:

Apache: [Fri Mar 16 10:18:57 2012] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico

PHP and MySQL show nothing.

Even on IE, Chrome and Firefox lead to blank page.

big grin Thanks for your kind attention.

In reply to Daniel Bugim

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Kanika Goyal -

The error that you pasted is just because favicon.ico is missing.
It is quite strange that you are not getting any other errors. Is there any .htaccess file in www directory? Or the Moodle directory? Or have you turned off debugging through php.ini configuration?
Did you try the test PHP file that I mentioned in my previous post with your Wamp server environment? (just trying to make sure PHP is working fine).

/**test.php**/
<?php
phpinfo();
?>
/**end**/

Thanks,
Kanika. 

In reply to Kanika Goyal

Re: Moodle 1.9.9 + Wamp5 1.7.4 = Installation = Blank Screen

by Daniel Bugim -

Hi Kanika

How are you?

Answering to your questions:

Is there any htaccess file in www directory?

R: C:\wamp\www I have only moodle DIRECTORY, test.php "I've created as you told me", index and testmysql files. No Favicon.

Or have you turned off debugging through php.ini configuration?

R: I don't know how to do this.

Did you try the test PHP file that I mentioned in my previous post with your Wamp server environment? (just trying to make sure PHP is working fine).

R: I built the file, but don't know how to perform the test.