Comment 2 for bug 288698

Revision history for this message
bengtan (bengtan) wrote :

Okay, got some more information, and a potential fix.

Firstly, you shouldn't be seeing Garland as the theme during installation. You should be seeing ProsePoint's base theme which is tma2. However, this may not be relevant, so let's put that aside for now.

There is a bug in ProsePoint 0.04 and 0.05 which causes the installation process to crash if your server uses PHP 5.1.x or earlier ie. any PHP other than 5.2.x.

You can either try to fix this yourself (with my help, I provide instructions below), or you can wait for the next version of ProsePoint to be released with this fix.

I'd prefer that you try to fix this, so that if there is anything else that may cause problems (like the theme being incorrect), we can uncover them now rather than later.

It's a simple one liner change to two files.

In the file .../profiles/prosepoint/variants/prosepoint-variant-demo.php, line 11 is:

  $months = array_fill_keys(array('now', '-1 month', '-2 month', '-3 month', '-4 month', '+1 month'), '');

Edit and change this to

  $months = array('now' => '', '-1 month' => '', '-2 month' => '', '-3 month' => '', '-4 month' => '', '+1 month' => '');

And then in the file .../profiles/prosepoint/variants/prosepoint-variant-minimal.php, line 11 is:

  $months = array('now' => '', '-1 month' => '', '-2 month' => '', '-3 month' => '', '-4 month' => '', '+1 month' => '');

Edit and change this to

  $months = array_fill_keys(array('now', '-1 month', '-2 month', '-3 month', '-4 month'), '');

In other words, replace with the same line again.

When you try this, don't type in the code. Do a copy and paste of the entire line from here.

If you are using a shared host, you may have to re-upload these two changed files.

After doing that, you will have to clear out your database and redo the installation process from the beginning.

Earlier, the installation process stopped in the middle, and the database only had some of the necessary data. That's why you were getting error messages.

Please give it a go, and let me know the results.

Thank you.