While Upgrading from Elgg 1.8.20 to 1.9.1 getting Fatal Error

While trying to upgrade from elgg 1.8.20 to elgg 1.9.1 when i visited the upgrade page as per the instruction i get an error stating "You need to change your .htaccess as per htacces_dist i did that after which i got a plane upgrade page there was nothing running in upgrade. Then i tried to visit my web page home i get an Fatal error msg stating as.
 

Unknown column 'rv.enabled' in 'where clause'

QUERY: SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL)

DatabaseException Object
(
[message:protected] => Unknown column 'rv.enabled' in 'where clause'

QUERY: SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) 
[string:Exception:private] => exception 'DatabaseException' with message 'Unknown column 'rv.enabled' in 'where clause'

QUERY: SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) ' in /home/xxxyyy/public_html/engine/classes/Elgg/Database.php:367
Stack trace:
#0 /home/xxxyyy/public_html/engine/classes/Elgg/Database.php(306): Elgg_Database->executeQuery('SELECT COUNT(DI...', Resource id #62)
#1 /home/xxxyyy/public_html/engine/classes/Elgg/Database.php(191): Elgg_Database->getResults('SELECT COUNT(DI...', '', true)
#2 /home/xxxyyy/public_html/engine/lib/database.php(67): Elgg_Database->getDataRow('SELECT COUNT(DI...', '')
#3 /home/xxxyyy/public_html/engine/lib/river.php(427): get_data_row('SELECT COUNT(DI...')
#4 /home/xxxyyy/public_html/engine/lib/river.php(510): elgg_get_river(Array)
#5 /home/xxxyyy/public_html/pages/river.php(53): elgg_list_river(Array)
#6 /home/xxxyyy/public_html/engine/lib/river.php(733): require_once('/home/xxxyyy/...')
#7 [internal function]: _elgg_river_page_handler(Array, 'activity')
#8 /home/xxxyyy/public_html/engine/classes/Elgg/Router.php(79): call_user_func('_elgg_river_pag...', Array, 'activity')
#9 /home/xxxyyy/public_html/index.php(22): Elgg_Router->route(Object(Elgg_Http_Request))
#10 {main}
[code:protected] => 0
[file:protected] => /home/xxxyyy/public_html/engine/classes/Elgg/Database.php
[line:protected] => 367
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/xxxyyy/public_html/engine/classes/Elgg/Database.php
[line] => 306
[function] => executeQuery
[class] => Elgg_Database
[type] => ->
[args] => Array
(
[0] => SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) 
[1] => Resource id #62
)

)

[1] => Array
(
[file] => /home/xxxyyy/public_html/engine/classes/Elgg/Database.php
[line] => 191
[function] => getResults
[class] => Elgg_Database
[type] => ->
[args] => Array
(
[0] => SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) 
[1] => 
[2] => 1
)

)

[2] => Array
(
[file] => /home/xxxyyy/public_html/engine/lib/database.php
[line] => 67
[function] => getDataRow
[class] => Elgg_Database
[type] => ->
[args] => Array
(
[0] => SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) 
[1] => 
)

)

[3] => Array
(
[file] => /home/xxxyyy/public_html/engine/lib/river.php
[line] => 427
[function] => get_data_row
[args] => Array
(
[0] => SELECT COUNT(DISTINCT rv.id) AS total FROM elgg_river rv JOIN elgg_entities oe ON rv.object_guid = oe.guid LEFT JOIN elgg_entities te ON rv.target_guid = te.guid WHERE rv.enabled = 'yes' AND ((1 = 1) AND (oe.enabled = 'yes')) AND (((1 = 1) AND (te.enabled = 'yes')) OR te.guid IS NULL) 
)

)

[4] => Array
(
[file] => /home/xxxyyy/public_html/engine/lib/river.php
[line] => 510
[function] => elgg_get_river
[args] => Array
(
[0] => Array
(
[offset] => 0
[limit] => 20
[pagination] => 1
[list_class] => elgg-list-river
[no_results] => 
[count] => 1
)

)

)

[5] => Array
(
[file] => /home/xxxyyy/public_html/pages/river.php
[line] => 53
[function] => elgg_list_river
[args] => Array
(
[0] => Array
(
)

)

)

[6] => Array
(
[file] => /home/xxxyyy/public_html/engine/lib/river.php
[line] => 733
[args] => Array
(
[0] => /home/xxxyyy/public_html/pages/river.php
)

[function] => require_once
)

[7] => Array
(
[function] => _elgg_river_page_handler
[args] => Array
(
[0] => Array
(
)

[1] => activity
)

)

[8] => Array
(
[file] => /home/xxxyyy/public_html/engine/classes/Elgg/Router.php
[line] => 79
[function] => call_user_func
[args] => Array
(
[0] => _elgg_river_page_handler
[1] => Array
(
)

[2] => activity
)

)

[9] => Array
(
[file] => /home/xxxyyy/public_html/index.php
[line] => 22
[function] => route
[class] => Elgg_Router
[type] => ->
[args] => Array
(
[0] => Elgg_Http_Request Object
(
[query] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
[__elgg_uri] => activity
)

)

[request] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
)

)

[cookies] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
[Elgg] => df637626cc2d1e72555eb972146dac59
[__atuvc] => 2|8
[__utma] => 192460088.29875839.1424758733.1424758733.1424758733.1
[__utmc] => 192460088
[__utmz] => 192460088.1424758733.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[__utmv] => 192460088.|1=role=admin=1
)

)

[files] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
)

)

[server] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
[SERVER_SIGNATURE] => <address>Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at xxxyyyalaxy.com Port 80</address>

[UNIQUE_ID] => VOyQP6L66f0AADD9AL8AAAAC
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36
[SERVER_PORT] => 80
[HTTP_HOST] => xxxyyyalaxy.com
[REDIRECT_HANDLER] => application/x-httpd-php5
[DOCUMENT_ROOT] => /home/xxxyyy/public_html
[SCRIPT_FILENAME] => /home/xxxyyy/public_html/index.php
[REQUEST_URI] => /activity
[SCRIPT_NAME] => /index.php
[HTTP_CONNECTION] => keep-alive
[REMOTE_PORT] => 61922
[PATH] => /usr/local/bin:/usr/bin:/bin
[CONTEXT_PREFIX] => /cgi-sys
[PWD] => /usr/local/cpanel/cgi-sys
[SERVER_ADMIN] => webmaster@xxxyyyalaxy.com
[REQUEST_SCHEME] => http
[REDIRECT_STATUS] => 200
[REDIRECT_QUERY_STRING] => __elgg_uri=activity
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8,ta;q=0.6
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[REMOTE_ADDR] => 117.193.70.120
[SHLVL] => 0
[SERVER_NAME] => xxxyyyalaxy.com
[SERVER_SOFTWARE] => Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
[QUERY_STRING] => __elgg_uri=activity
[SERVER_ADDR] => 162.250.233.253
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch
[REDIRECT_URL] => /index.php
[REQUEST_METHOD] => GET
[HTTP_COOKIE] => Elgg=df637626cc2d1e72555eb972146dac59; __atuvc=2%7C8; __utma=192460088.29875839.1424758733.1424758733.1424758733.1; __utmc=192460088; __utmz=192460088.1424758733.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=192460088.|1=role=admin=1
[CONTEXT_DOCUMENT_ROOT] => /usr/local/cpanel/cgi-sys/
[ORIG_SCRIPT_FILENAME] => /usr/local/cpanel/cgi-sys/php5
[ORIG_PATH_INFO] => /index.php
[ORIG_PATH_TRANSLATED] => /home/xxxyyy/public_html/index.php
[ORIG_SCRIPT_NAME] => /cgi-sys/php5
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1424789567.16
[REQUEST_TIME] => 1424789567
[argv] => Array
(
[0] => __elgg_uri=activity
)

[argc] => 1
)

)

[headers] => Elgg_Http_ParameterBag Object
(
[parameters:protected] => Array
(
[User-Agent] => Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36
[Host] => connectgalaxy.com
[Connection] => keep-alive
[Accept-Language] => en-US,en;q=0.8,ta;q=0.6
[Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[Accept-Encoding] => gzip, deflate, sdch
[Cookie] => Elgg=df637626cc2d1e72555eb972146dac59; __atuvc=2%7C8; __utma=192460088.29875839.1424758733.1424758733.1424758733.1; __utmc=192460088; __utmz=192460088.1424758733.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=192460088.|1=role=admin=1
)

)

[baseUrl:protected] => 
[requestUri:protected] => 
[pathInfo:protected] => 
)

)

)

)

[previous:Exception:private] => 
)

Kindly help me.

 

Performance and Scalability

Performance and Scalability

If you've got a need for speed, this group is for you.