SOLVED (I hope)Cannot Upgrade

klinion

Joined: 2009-02-26
Posts: 180
Posted: Tue, 2013-06-11 16:06

Managed to make a mess of things. Getting the "Dang" message when adding "upgrader" to url.
It happened last evening, then I mistakenly installed a new copy with new database and have since redirected the url to the original database using database.php in var. After trying the upgrader the photos disappeared from var. I copied var with photos to the file again but the database.php was now empty. I now seem very far away from a simple upgrade. Here's the log from var.

2013-06-11 15:33:38 +00:00 --- error: Database_Exception [ 44 ]: #:
/home/talkingw/public_html/gallerywalk/system/libraries/Database_Mysql.php [ 56 ]
#0 /home/talkingw/public_html/gallerywalk/system/libraries/Database_Mysql.php(130): Database_Mysql_Core->connect()
#1 /home/talkingw/public_html/gallerywalk/system/libraries/Database.php(429): Database_Mysql_Core->escape('var_cache')
#2 [internal function]: Database_Core->quote('var_cache')
#3 /home/talkingw/public_html/gallerywalk/system/libraries/Database_Builder.php(764): array_map(Array, Array)
#4 /home/talkingw/public_html/gallerywalk/system/libraries/Database_Builder.php(1021): Database_Builder_Core->compile_conditions(Array)
#5 /home/talkingw/public_html/gallerywalk/modules/kohana23_compat/libraries/MY_Database_Builder.php(48): Database_Builder_Core->compile()
#6 /home/talkingw/public_html/gallerywalk/system/libraries/Database_Builder.php(957): Database_Builder->compile()
#7 /home/talkingw/public_html/gallerywalk/modules/gallery/libraries/drivers/Cache/Database.php(105): Database_Builder_Core->execute()
#8 /home/talkingw/public_html/gallerywalk/system/libraries/Cache.php(141): Cache_Database_Driver->get(Array, true)
#9 /home/talkingw/public_html/gallerywalk/modules/gallery/helpers/module.php(454): Cache_Core->get('var_cache')
#10 /home/talkingw/public_html/gallerywalk/modules/gallery/config/locale.php(36): module_Core::get_var('gallery', 'timezone', 'UTC')
#11 /home/talkingw/public_html/gallerywalk/system/libraries/drivers/Config/Array.php(70): require('/home/talkingw/...')
#12 /home/talkingw/public_html/gallerywalk/system/libraries/drivers/Config.php(111): Config_Array_Driver->load('locale', false)
#13 /home/talkingw/public_html/gallerywalk/system/core/Kohana_Config.php(121): Config_Driver->get('locale.language', false, false)
#14 /home/talkingw/public_html/gallerywalk/system/core/Kohana.php(385): Kohana_Config_Core->get('locale.language', false, false)
#15 /home/talkingw/public_html/gallerywalk/system/core/Kohana.php(150): Kohana_Core::config('locale.language')
#16 /home/talkingw/public_html/gallerywalk/application/Bootstrap.php(49): Kohana_Core::setup()
#17 /home/talkingw/public_html/gallerywalk/index.php(116): require('/home/talkingw/...')
#18 {main}
Thanks,
Ken
www.talkingwalk.com/gallerywalk

 
klinion

Joined: 2009-02-26
Posts: 180
Posted: Tue, 2013-06-11 18:31

I used a backup and copied the database.php into the "new", 3.0.8, var database and lo and behold it works,
Ken
www.talkingwalk.com/gallerywalk