Latest experimental b33762a

pathfinder

Joined: 2003-07-20
Posts: 31
Posted: Sun, 2009-10-25 03:44

I just upgraded my test server to this build and I now get nothing. No upgrade page and no gallery 3. I had thought that the download had been corrupted so I did it again and still nothing. I have upgraded to experimental versions before so I am pretty sure I did it correctly.
Is there perhaps a glitch in this build?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-25 06:51

More info like a url would help.
Without that:
Is there any output when you view the source?
If so; what?
Is there any info in the logs?
Do you have ssh access?
Are you using git?
or did you download and ftp the experimental version?
How many items? If it small whay not just start over?
Try again there has been changes since that build.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 08:14

No upgrade page? Did you go to www.example.com/gallery3/index.php/upgrader?

You have to go to that page manually, you're not automatically redirected to it.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
appelflap

Joined: 2009-06-16
Posts: 23
Posted: Sun, 2009-10-25 10:28

I am having the same difficulties as pathfinder.
Even the upgrader page gives a blank page.
I'm using GIT and it gives me 'b33762a' as last update (at time of this post).

The upgrade 'log' is shown down here. But the normal log in var/logs/2009-10-25.log.php doesn't show anything.

remote: Counting objects: 1572, done.
remote: Compressing objects: 100% (818/818), done.
remote: Total 1360 (delta 1019), reused 679 (delta 487)
Receiving objects: 100% (1360/1360), 175.65 KiB, done.
Resolving deltas: 100% (1019/1019), completed with 151 local objects.
From git://github.com/gallery/gallery3
   99db7e2..b33762a  master     -> origin/master
   7e4c0e7..24bd8e4  talmdal_dev -> origin/talmdal_dev
Updating 99db7e2..b33762a
.htaccess: needs update
Checking out files: 100% (89/89), done.
Fast forward
 installer/install.sql                              |    2 +-
 lib/gallery.common.css                             |  269 ++++++++++++---
 lib/gallery.common.js                              |   46 +++-
 lib/gallery.dialog.js                              |    6 +
 lib/gallery.form.js                                |   34 --
 lib/gallery.panel.js                               |    6 +
 modules/akismet/views/admin_akismet.html.php       |   15 +-
 modules/comment/views/admin_comments.html.php      |  305 ++++++++--------
 modules/digibug/views/admin_digibug.html.php       |   10 +-
 modules/g2_import/views/admin_g2_import.html.php   |  142 ++++----
 modules/gallery/controllers/admin_languages.php    |    3 +-
 modules/gallery/controllers/admin_sidebar.php      |    3 +-
 modules/gallery/controllers/albums.php             |    5 +-
 modules/gallery/controllers/photos.php             |    5 +-
 modules/gallery/helpers/gallery_event.php          |    3 +-
 modules/gallery/helpers/module.php                 |   21 +-
 modules/gallery/helpers/photo.php                  |    2 +-
 modules/gallery/helpers/theme.php                  |   13 +-
 modules/gallery/hooks/init_gallery.php             |    1 -
 modules/gallery/models/item.php                    |    8 +
 modules/gallery/tests/Albums_Controller_Test.php   |    3 +-
 modules/gallery/tests/File_Structure_Test.php      |   32 +--
 modules/gallery/tests/Gallery_Filters.php          |   48 +++
 modules/gallery/tests/Item_Model_Test.php          |  135 +++++++-
 modules/gallery/tests/Photos_Controller_Test.php   |    2 +-
 modules/gallery/tests/controller_auth_data.txt     |   10 +-
 .../gallery/views/admin_advanced_settings.html.php |   61 ++--
 modules/gallery/views/admin_graphics.html.php      |   30 +-
 modules/gallery/views/admin_languages.html.php     |  187 ++++++-----
 modules/gallery/views/admin_maintenance.html.php   |  368 ++++++++++----------
 modules/gallery/views/admin_modules.html.php       |   52 ++--
 modules/gallery/views/admin_sidebar.html.php       |   54 ++-
 modules/gallery/views/admin_theme_options.html.php |    4 +-
 modules/gallery/views/admin_themes.html.php        |  139 ++++----
 modules/gallery/views/form.html.php                |    2 +-
 modules/gallery/views/login.html.php               |    2 +-
 .../controllers/gallery_unit_test.php              |   28 +-
 modules/recaptcha/views/admin_recaptcha.html.php   |   44 ++--
 modules/rss/controllers/rss.php                    |    8 +-
 modules/rss/views/feed.mrss.php                    |    2 +-
 modules/search/helpers/search.php                  |    2 +-
 .../server_add/controllers/admin_server_add.php    |    4 +-
 modules/server_add/css/server_add.css              |   38 ++
 modules/server_add/helpers/server_add_theme.php    |    2 +
 modules/server_add/js/admin.js                     |    2 +-
 modules/server_add/views/admin_server_add.html.php |   28 +-
 modules/tag/css/tag.css                            |   96 +++++
 modules/tag/helpers/tag.php                        |    3 +-
 modules/tag/helpers/tag_theme.php                  |    2 +
 modules/tag/js/tag.js                              |   35 +-
 modules/tag/views/admin_tags.html.php              |   88 +++---
 modules/tag/views/tag_block.html.php               |    5 +-
 modules/user/controllers/admin_users.php           |    3 +-
 modules/{gallery => user}/controllers/password.php |    0
 modules/user/controllers/users.php                 |    1 -
 modules/user/css/user.css                          |   56 +++
 modules/{gallery => user}/helpers/group.php        |    0
 modules/{gallery => user}/helpers/user.php         |    2 +-
 modules/user/helpers/user_theme.php                |   28 ++
 modules/user/tests/No_Direct_ORM_Access_Test.php   |   77 ++++
 modules/user/views/admin_users.html.php            |  159 +++++----
 .../views/reset_password.html.php                  |    0
 modules/watermark/views/admin_watermarks.html.php  |   58 ++--
 system/core/Kohana.php                             |    8 +
 themes/admin_wind/css/fix-ie.css                   |    6 -
 themes/admin_wind/css/screen.css                   |  333 +-----------------
 themes/admin_wind/js/ui.init.js                    |   16 +-
 themes/admin_wind/views/admin.html.php             |    2 +-
 themes/night_wind/css/fix-ie.css                   |    4 -
 themes/night_wind/css/screen.css                   |   46 +---
 themes/night_wind/js/ui.init.js                    |   14 -
 themes/night_wind/views/album.html.php             |    2 +-
 themes/night_wind/views/page.html.php              |    7 +-
 themes/night_wind/views/pager.html.php             |    2 +-
 themes/night_wind/views/photo.html.php             |    2 +-
 themes/night_wind/views/sidebar.html.php           |    2 +-
 themes/wind/css/fix-ie.css                         |    4 -
 themes/wind/css/screen.css                         |  237 +------------
 themes/wind/js/ui.init.js                          |    5 +-
 themes/wind/views/album.html.php                   |    2 +-
 themes/wind/views/dynamic.html.php                 |    2 +-
 themes/wind/views/page.html.php                    |    7 +-
 themes/wind/views/pager.html.php                   |    2 +-
 themes/wind/views/photo.html.php                   |    2 +-
 themes/wind/views/sidebar.html.php                 |    2 +-
 85 files changed, 1803 insertions(+), 1703 deletions(-)
 delete mode 100644 lib/gallery.form.js
 create mode 100644 modules/gallery/tests/Gallery_Filters.php
 create mode 100644 modules/server_add/css/server_add.css
 create mode 100644 modules/tag/css/tag.css
 rename modules/{gallery => user}/controllers/password.php (100%)
 create mode 100644 modules/user/css/user.css
 rename modules/{gallery => user}/helpers/group.php (100%)
 rename modules/{gallery => user}/helpers/user.php (99%)
 create mode 100644 modules/user/helpers/user_theme.php
 create mode 100644 modules/user/tests/No_Direct_ORM_Access_Test.php
 rename modules/{gallery => user}/views/reset_password.html.php (100%)
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 10:23

OOPS, looks like it's broken for the moment. I've left a note for the developers so that should get fixed soon, or if you want to temporarily fix it (note, I don't know if this totally fixes it, but it does make my Gallery load again.

Edit /modules/gallery/helpers/gallery_event.php

Replace line 27 and change from:
identity::load_user();

to:
user::load_user();

http://github.com/gallery/gallery3/commit/b33762a9f803e156f5f4e28af4c8ea350ad1addb
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
appelflap

Joined: 2009-06-16
Posts: 23
Posted: Sun, 2009-10-25 10:33

Thx, it's working again. But will the file update with 'git pull' after I changed it? I always move my .htaccess out of the dir and move it back after a 'git pull' because otherwise it refuses to update the whole dir.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 11:16

No, not by default, there are a bunch of things you can do.

Delete the file

Undo the changes

reset all your changes:
http://codex.gallery2.org/Gallery:Using_Git#Getting_code_updates

Follow some of the different FAQ we've put together:
http://codex.gallery2.org/Gallery:Git_FAQ
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
pathfinder

Joined: 2003-07-20
Posts: 31
Posted: Sun, 2009-10-25 12:41

Thanks for looking at this. I am sorry for my cryptic post but this is on a test server at home so there is no URL. I am not familiar with the git method so I use FTP.
I will try the fix that nivekiam posted and reply.

 
pathfinder

Joined: 2003-07-20
Posts: 31
Posted: Sun, 2009-10-25 12:45

Ok I used that fix and I was able to get to my Gallery and do the upgrade. I did notice a problem though. I took 2 screenshots of the login process and you can see the results.
I guess I'll just wait until the next experimental build.

AttachmentSize
gallery_2.jpg1.29 KB
gallery_1.jpg7.73 KB
 
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Sun, 2009-10-25 13:48

A few folks have seen this ussue after upgrades and it has to do with some code not getting changed. Generally, the view of the page you get is because it does not find the css entries with its 'expected' id/class names. when I had the problem, I just rebuilt with the g3b3 install and then upgraded with the latest exp version, then moved over my var folder and my theme (and reapplied some additional modules).

Martyn T. Griffin

 
appelflap

Joined: 2009-06-16
Posts: 23
Posted: Sun, 2009-10-25 14:43

@nivekiam: thx for the hint.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 17:22

pathfinder, follow griffinmt's advice and all will be well.

There are several issues that's happening when upgrading from B3 if you don't follow the tips for unpacking code here:
http://codex.gallery2.org/Gallery3:Upgrading

If you use Git you won't run into this, the problem is if you just unpack new code over the old code it does not delete and rename unused files and because of Kohana's cascading file system those files are still read.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 17:23

Oh and guys, that bug in that version was fixed, you can download the latest code and Gallery will be working again.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
pathfinder

Joined: 2003-07-20
Posts: 31
Posted: Sun, 2009-10-25 17:56

If I understand correctly, I should erase all folders except var and themes, if I have anything in that but the included themes, and upload all the new folders rather than just overwrite them?

 
appelflap

Joined: 2009-06-16
Posts: 23
Posted: Sun, 2009-10-25 18:48

I ran into the problem with css while only using GIT.. But today I just made a clean GIT dir and moved the var dir to it. Because the database config is in the var dir, it automatically started working without problems!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-10-26 03:50
Quote:
If I understand correctly, I should erase all folders except var and themes,

No, unpack the new G3 into a differently named folder. Move var into that folder. Rename the old G3 folder to something else. Rename the new G3 folder to your old directory.

Forget about carrying themes over right now. Unless you've been staying VERY current with the code any changes you've made to themes are obsolete and are broken.
Read this post:
http://gallery.menalto.com/node/91603
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here