getNullDate() Error when installing Joomla

Uncategorized Add comments

Joomla Logo

I’ve been meaning to try Joomla for some time and a friend mentioning it last night was the impetus for me to give it a go. I downloaded the latest stable version just now and decided to give it a go.

I was very impressed by the installation script and how it guides you through the installation process with handy guidance, however, I feel it falls down in one area.

On the penultimate installation screen there is an option to load default content into the database or previously saved data. This didn’t work for me and when I tried to go to the final screen of the installation I was greeted with the following errors…

Notice: Undefined index: DBtype in /var/www/xxx/htdocs/joomla_directory/installer/models/model.php on line 702

Fatal error: Call to undefined method JException::getNullDate() in/var/www/xxx/htdocs/joomla_directory/installer/helper.php on line 290

It took a bit of searching to figure it out but the problem lied with where joomla stores its configuration variables. At the second step of the installation there is a list of requirements one of which is write access to a file called ‘configuration.php’ in Joomla’s root directory. I noticed there’s a sample configuration file called ‘configuration.php-dist‘ so I copied it and gave the webserver write access to the file and the installer’s check seemed happy with this.

It turns out that the webserver either needs write access to the folder to write its own configuration file or if you provided the file with write access then it must be blank. I used touch to create the file and made it writeable by the webserver and the installation finally worked.

🙂

One Response to “getNullDate() Error when installing Joomla”

  1. klkl Says:

    Comments for this post have been disabled due to excessive spam.

WP Theme & Icons by N.Design Studio | Akismet has gobbled 341,113 spam comments...Mmmm Tasty :-)
Entries RSS Comments RSS Log in