Forums | Mahara Community

Support /
Upgrade 16.04->16.10 (auth/lib.php syntax error)


Viktor's profile picture
Posts: 13

27 October 2016, 23:04

Hello,

I would like upgrade Mahara from 16.04 to 16.10. I copied 16.10 files to new directory and web browser returned error 500. I found following error in log. How should I proceed?

PHP Parse error: syntax error, unexpected ''login_submitted'' (T_CONSTANT_ENCAPSED_STRING) in auth/lib.php on line 1443

Robert Lyon's profile picture
Posts: 757

28 October 2016, 11:07

Hi Viktor,

This is a bug in the code, and is reported here https://bugs.launchpad.net/mahara/+bug/1636854

Try applying this patch https://reviews.mahara.org/#/c/7212/ to your 16.10 code

Let me know if it fixes you problem

Cheers

Robert

Viktor's profile picture
Posts: 13

31 October 2016, 20:55

Hi Robert,

thank you for answer. Main page is visible now, but when I can start upgrade with filled "urlsecret", browser return error 500 again. Without "urlsecret" is upgrade page visible (but of course, upgrade will not proceed).

PHP Fatal error:  Can't use function return value in write context in auth/saml/lib.php on line 453

Robert Lyon's profile picture
Posts: 757

31 October 2016, 22:48

Hi Viktor,

It sounds like you are experiencing this bug as well https://bugs.launchpad.net/mahara/+bug/1636866

And there is a fix for that here: https://reviews.mahara.org/#/c/7213/

Cheers

Robert

Viktor's profile picture
Posts: 13

01 November 2016, 0:40

Thanks, update succeeded.

Jawyei Wong's profile picture
Posts: 23

23 November 2016, 10:47

We got these two errors on a fresh install of 16.10. We are working of Centos7 using Postgres

Ghada El-Zoghbi's profile picture
Posts: 122

15 December 2016, 16:14

Hi Jawyei,

The same fixes Robert listed above should work for you as well. Have you patched your code?

Also, Mahara released a patch this week - 16.10.1. Can you please try that version if you're still having issues with 16.10.0.

Thanks,

Ghada

7 results