Problem with upgrading from 1.4 to 1.6 - PHP Fatal Error

Asked by hafriz azhan

Hi,

seem that there is problem as before i'm using xibo 1.4 and now try to upgrade to 1.6

For your info Here is my server information

Apache 2.2
PHP 5.3.10

Have try to install 1.6.2 with no success. then lower down to 1.6.0 same with no success.

The error :

[Thu Jul 24 14:20:00 2014] [error] [client 192.168.*.*] PHP Fatal error: Using $this when not in object context in /var/www/xibo/lib/app/kit.class.php on line 342

not yet try to lower again to 1.5

anyone can help?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Best Dan Garner (dangarner) said :
#1

Are you sure you have a good copy of Xibo? That line number in kit.class.php is: break;

There is one error I can see in kit.class.php on line 375.

$page = $this->ValidateParam($page, _WORD);

should be

$page = Kit::ValidateParam($page, _WORD);

Revision history for this message
hafriz azhan (hafriz-azhan) said :
#2

hi Dan,

i try to re-download today. and reinstall and let u know

Revision history for this message
hafriz azhan (hafriz-azhan) said :
#3

hi,

already redownload again. looks like the problem is solve. somehow when i posting the question, i already download so many times. even down to 1.6.0. it showing the error.

But now upgrading looks like smooth and working.

Thanks a lot

Revision history for this message
hafriz azhan (hafriz-azhan) said :
#4

Thanks Dan Garner, that solved my question.