Installation issues (blank screen after DB entry)

Installation issues (blank screen after DB entry)

by Tej Sarup -
Number of replies: 3

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:

http://10.0.0.11/moodle/admin/index.php?lang=en

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,

Tej 

Average of ratings: -
In reply to Tej Sarup

Re: Installation issues (blank screen after DB entry)

by Mark Hayes -

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.

In reply to Tej Sarup

Re: Installation issues (blank screen after DB entry)

by Ken Task -
Picture of 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:

http://www.networkworld.com/reviews/2013/120913-ubuntu-test-276581.html

"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.

http://www.ubuntu.com/download/server

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

In reply to Ken Task

Re: Installation issues (blank screen after DB entry)

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Agree, in general. But the OP is tinkering for sure. Look at the link to the private IP-address 10.0.0.11. And the Ubuntu is inside VirtualBox (see the attachment phpinfo().htm and this post https://moodle.org/mod/forum/discuss.php?d=199542#p1096641 ). 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"!