Forums | Mahara Community

Support /
Mahara: Site unavailable


anonymous profile picture
Account deleted
Posts: 10

24 September 2010, 3:48

Hi,

Our installation of Mahara, which was working OK,  has just been moved over to a new virtual server. Now, when attempting to log in, the following error message is output:

'Mahara: Site unavailable

A nonrecoverable error occured. This probably means you have encountered a bug in the system'

Also output on the page is a mass of 'Hieroglyphic' characters

PHP error log output:

[24-Sep-2010 09:24:09] [WAR] 50 (E:\rkc_mahara\mahara\lib\errors.php:464) An exception was thrown of class PieformException.

[24-Sep-2010 09:24:09] [WAR] 50 (E:\rkc_mahara\mahara\lib\errors.php:464) THIS IS BAD and should be changed to something extending MaharaException,

[24-Sep-2010 09:24:09] [WAR] 50 (E:\rkc_mahara\mahara\lib\errors.php:464) unless the exception is from a third party library.

[24-Sep-2010 09:24:09] [WAR] 50 (E:\rkc_mahara\mahara\lib\errors.php:464) Original trace follows

[24-Sep-2010 09:24:09] [WAR] 50 (E:\rkc_mahara\mahara\lib\pieforms\pieform.php:1195) No such form rule "required"

[24-Sep-2010 09:24:09] Call stack (most recent first):

[24-Sep-2010 09:24:09]   * Pieform->validate(array(size 6)) at E:\rkc_mahara\mahara\lib\pieforms\pieform.php:410

[24-Sep-2010 09:24:09]   * Pieform->__construct(array(size 8)) at E:\rkc_mahara\mahara\auth\lib.php:474

[24-Sep-2010 09:24:09]   * auth_setup() at E:\rkc_mahara\mahara\init.php:239

[24-Sep-2010 09:24:09]   * require("E:\rkc_mahara\mahara\init.php") at E:\rkc_mahara\mahara\index.php:32

[24-Sep-2010 09:24:09]

Thanks in advance

anonymous profile picture
Account deleted
Posts: 214

24 September 2010, 4:05

Kenny,

At a guess, you're missing some files - can you ensure that you've copied everything over from the old system.

The file you're missing is probably lib/pieform/rules/required.php.

I'd advise clearing out and copying over your installation directory again.

Andrew

anonymous profile picture
Account deleted
Posts: 10

24 September 2010, 4:14

Andrew

Thanks, but the file 'lib/pieform/rules/required.php' is already on the server

K

anonymous profile picture
Account deleted
Posts: 214

24 September 2010, 4:25

Since you're not getting a 'Could not find rule "required"' error, the file must be readable. I'd hazard a guess though that there's something wrong with it - perhaps broken or empty following your copy.

You don't say what version of Mahara you're running but I'd hazard a guess at 1.2.x given the line numbers.

I'd still really recommend clearing out the installation directory, and copying it back in place. It really does look like there are some missing/empty files.

Andrew

anonymous profile picture
Account deleted
Posts: 10

24 September 2010, 6:31

Spot on Andrew!

3 php files within pieform dir were corrupted - including required.php

Many thanks

K

5 results