Installing and upgrading help

Installation issues (blank screen after DB entry)

Picture of Tej Sarup
Installation issues (blank screen after DB entry)

Hello everyone,

I am definitely new to moodle and completely alien to PHP. However I do have a little experience in working with Apache. I am facing a problem where after entering the database details I get a blank screen on the following URL:

It seems to be an incomplete page (I have attached the page). I have tried everything almost 2 days or reading on the net but i have not had any success. 


Details of my environment:

Moodle 2.6
Ubuntu 13.10
MySQL 5.6 Community Edition
PHP Version 5.5.3-1ubuntu2.1
New Installation

The ubuntu machine is an Oracle Virtual box VM. The MySQL database is running on my windows 7 host.

I can confirm the following:

  1. No connectivity issues between VM and Host. Checked it using mysql client on ubuntu
  2. The user moodle has correct access and usage limit
  3. php memory limit is 128 MB (php info file also attached)

I can not seem to fix this issue. I have tried everything on this page sad

Please help!!


Thank you so much,


Picture of Mark Hayes
Re: Installation issues (blank screen after DB entry)

ubuntu 13.10 does not include JSON in its PHP bundle. see this discussion.

if you display PHP errors, you may see something about a JSON error.

you may have to wait the 30 mins as i just added something about this issue to that discussion.

Average of ratings: -
Picture of Ken Task
Re: Installation issues (blank screen after DB entry)
Particularly helpful Moodlers

Let's backup here a minute ... is the installation to be a true server for production?  or is it a tinker thang?

Reason I ask ... think you'd want to install it on an OS which has long term support (a server version of whatever) rather than a workstation OS.   Please see:

"As with Ubuntu 13.04, Ubuntu 13.10 will only be supported for nine months. Prior to this year, non-long-term releases were supported for 18 months."

So if you are thinking server and you manage to get it installed and have it in production ... students enrolled and accessing/using, you will be looking at upgrading the OS in 9 months.

Another item that begs a question ... why put the DB on a Windows 7?   Is that a DB server or is it the host OS in your VirtualBox virt?    Gee, we are making a rather complicated system here!!!    Think it *very wise* to keep things as simple as possible when first beginning any journey ... and Moodle is a "journey".   It is not, never has been, install it once and forget it.   It will require update and maintenace ... not only the code, but the parts that make Moodle go ... PHP, Apache, and MySQL (if sticking with a 'stock' moodle).

Truth in assisting: I run a Virtual Box on a Mac OS 10.9.1 laptop ... ubuntu server version.

with support guaranteed until April 2017

The Moodle on it was installed via git.   DB server is on the same server.

OK ... to the current problem at hand ... one of the things about virtual setups is that one must allocate enough memory from the VBox to be able to run the OS + Apache/PHP and a 'heavy' app like Moodle 2.x.  Let's also remember that installing a guest OS meant for GUI desktop means even more memory ... including video memory.

So how much memory does the host box have?  How much memory/settings have you allocated to the guest OS right now?   Yes, Moodle does launch ... but considering we're having issues with installing right now, even if one is successful in installing, think you'll be revisiting such issues during development of courses.

Firm believer in keeping things as simple as possible when beginning!

'spirit of sharing', Ken

Average of ratings: -
Picture of Visvanath Ratnaweera
Re: Installation issues (blank screen after DB entry)
Particularly helpful Moodlers
Agree, in general. But the OP is tinkering for sure. Look at the link to the private IP-address And the Ubuntu is inside VirtualBox (see the attachment phpinfo().htm and this post ). So it is OK to play with anything.

I think, I have the anwser to the MySQL on Windows "host" too. The OP is a new comer to Linux as well. No Unix user would call a file phpinfo().htm let alone "Installation - Moodle 2.6.1+ (Build 20140123).htm"!
Average of ratings: -