Just tried updating my 1.0.6 installation to 1.2.0rc1...

Asked by Bartek

... and there is result:

Xibo Upgrade

Tworzenie zapasowej kopii bazy danych......................... (backup of db in polish)

20.sql .........................................

20.php
Fatal error: Call to a member function Boot() on a non-object in /var/www/upgrade.php on line 303

PS. Yes, I know, it's not for production, please don't shoot :)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Strange. 20.php is the upgrade step to 1.1.0 (which is normal, the upgrader goes through each interim version) which has been run by a fair few people now - so I think it's likely to be an install-specific thing rather than a general problem.

Can you mail over a backup of your database and I'll try upgrading it here.

Alex

Revision history for this message
Bartek (czajka) said :
#2

Sent to <email address hidden>.

Please check spam folder if it's not there.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

OK. I got it. I put it on my test server and it upgraded fine using the .tar.gz download from launchpad.

Can you perhaps have another go, download a fresh tarball incase there was a problem with it or something? You'll need to restore your db back to 1.0.6 first.

Cheers

Alex

Revision history for this message
Alex Harrington (alexharrington) said :
#4

If it fails again, some info on the server would be handy - specifically PHP version as I wonder if this is another change in PHP 5.3 that's causing problems.

Cheers

Alex

Revision history for this message
Bartek (czajka) said :
#5

Restored all stuff to 1.0.6 state and tried again in firefox with polish locale - crashed again with php syntax error.
After next reset and test in IE with english locale - completed successfully.

Maybe something related to localisation code

Revision history for this message
Alex Harrington (alexharrington) said :
#6

Hmm. OK. We'll look at it.

Bartek <email address hidden> wrote:

Question #115852 on Xibo changed:
https://answers.launchpad.net/xibo/+question/115852

    Status: Answered => Open

Bartek is still having a problem:
Restored all stuff to 1.0.6 state and tried again in firefox with polish
locale - crashed again with php syntax error.
After next reset and test in IE with english locale - completed
successfully.

Maybe something related to localisation code

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Bartek (czajka) said :
#7

Good luck :)

Anyway, is there no longer a piece of code changing display name after renaming in client and pressing Register again?
It was always first piece of code commented out by me in xmds, am i right that it's gone now? :)

Revision history for this message
Alex Harrington (alexharrington) said :
#8

All the webservice code has been rewritten. As far as I know (I didn't write it), it's implementation is like for like so I expect that behaviour is still there.

It'll be somewhere in that function: http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/annotate/head:/server/lib/service/xmdssoap.class.php#L47

Alex

Revision history for this message
Best Alex Harrington (alexharrington) said :
#9

Hmm. I had a quick dig through and it looks like there isn't. I'm not aware that's a conscious decision though - it's certainly not something that was discussed so it may well find its way back in at some point.

That said, in the long term the webservice will be pushing config back to the client so I expect it will never be reimplemented like it was.

Alex

Revision history for this message
Bartek (czajka) said :
#10

Thanks Alex Harrington, that solved my question.

Revision history for this message
Alex Harrington (alexharrington) said :
#11

Found it. There's some over-zealous translating gone on :D

http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/annotate/head:/server/upgrade.php#L300

That's the name of the class so the word "Step" shouldn't have been translated. I'll target a bug - but if anyone else hits this changing line 300 as follows should resolve:

$stepName = __("Step") . $i;

becomes

$stepName = "Step" . $i;