nothing on screen after upgrading fra Beta1 to Beta2

phisk
phisk's picture

Joined: 2008-07-31
Posts: 33
Posted: Wed, 2009-07-15 07:23

After upgrading from Beta1 to Beta2 there is just nothing on the screen when opening my Gallery url. I followed the very simple instructions. What should I do to fix the problem?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 07:36

Did you go to gallery3/index.php/upgrader

Did you check gallery3/var/logs?

FAQ: Why am I seeing a blank, or partially blank page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
phisk
phisk's picture

Joined: 2008-07-31
Posts: 33
Posted: Wed, 2009-07-15 08:22

I did go to gallery3/index.php/upgrader

The logfile from upgrading says:

2009-07-15 09:01:02 +02:00 --- error: #0 [internal function]: Theme_View_Core->__call('url', Array)
#1 /var/www/vhosts/phnet.dk/httpdocs/g3/themes/mytheme/views/page.html.php(18): Theme_View->url('images/favicon....')
#2 /var/www/vhosts/phnet.dk/httpdocs/g3/system/libraries/Controller.php(74): include('/var/www/vhosts...')
#3 /var/www/vhosts/phnet.dk/httpdocs/g3/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/var/www/vhosts...', Array)
#4 /var/www/vhosts/phnet.dk/httpdocs/g3/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false)
#5 /var/www/vhosts/phnet.dk/httpdocs/g3/system/libraries/View.php(244): View->render()
#6 /var/www/vhosts/phnet.dk/httpdocs/g3/modules/gallery/controllers/albums.php(76): View_Core->__toString()
#7 /var/www/vhosts/phnet.dk/httpdocs/g3/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model))
#8 [internal function]: REST_Controller->__call('1', Array)
#9 /var/www/vhosts/phnet.dk/httpdocs/g3/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#10 /var/www/vhosts/phnet.dk/httpdocs/g3/system/core/Event.php(209): Kohana::instance()
#11 /var/www/vhosts/phnet.dk/httpdocs/g3/system/core/Bootstrap.php(55): Event::run(Array)
#12 /var/www/vhosts/phnet.dk/httpdocs/g3/index.php(85): require('/var/www/vhosts...')
#13 {main}

I do not know, if that logfile tells anything helpfull. But I sure would appreciate, if anyone could encode it and perhaps help make the Gallery work again, as I have a lot of photos uploaded.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 13:42

Check on this FAQ and I'll see if I can find out more:
FAQ: Why am I seeing a blank, or partially blank page?

Also, are those the only log files? Have you checked your server's error logs?

What if you enable debug information?
FAQ: How do I see debug information?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
hiwilson

Joined: 2009-06-23
Posts: 10
Posted: Wed, 2009-07-15 15:23

From your log, I guess your problem maybe the same as mine. I have my own theme changed based on beta 1 and keep to use it during upgrading. Then the page blanked. Finally, I observe there are some changes on some function name in beta 2 default theme. i.e. you may have to adopt the code changes of beta 2 default theme to your own theme.

I changed for some hours. Now it works fine.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 16:36

AH! good eyes, didn't notice that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Wed, 2009-07-15 16:39

Yes you'll definitely want to set your gallery back to the default theme before copying the files and upgrading. Ran into that one upgrading from beta1 to a git pull.

 
phisk
phisk's picture

Joined: 2008-07-31
Posts: 33
Posted: Wed, 2009-07-15 17:55

Thank you very much for that hint. I followed your advice, and now it runs fine again - and I am happy not to have to opload my 1.300 fotos again ;-)