Blank Index

leschek

Joined: 2006-07-29
Posts: 44
Posted: Wed, 2009-07-01 15:10

Last three days I tried to upgrade to the last code (3-4 times), but when I open gallery I always got blank white page. Last working version of gallery is "gallery-gallery3-067e9f8ef7c7ed5763a5290b0e8d2f4a48123a86".
I'm using:
# PHP: 5.2.6
# MySQL: 5.0.67-community
I will send other information if you need.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-07-01 16:20

What if you wipe everything and start over not just upgrade?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
leschek

Joined: 2006-07-29
Posts: 44
Posted: Wed, 2009-07-01 18:09

Thank you floridave,
I erased database and everything on server and it seems it works.
I did translation to Czech language and the API number is changed now. Does it mean anything for me?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-07-01 21:56

I don't know about translations. The translation server is being worked on for you to submit translations. Beyound that I don't know.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Wed, 2009-07-01 22:27

I'm having the same problem... upgrade leaves me with a blank screen... How would you suggest upgrading now without damaging uploaded content?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-01 22:41

If you're using an Alpha version, there is no way. You need to start a new db, everything.

If you're using the beta, http://bit.ly/g3up
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Thu, 2009-07-02 21:57

I'm still getting a blank screen on upgrade... I'm using a beta from about a week ago, and if I unzip the new code over my existing installation I produce the same problem every time.

Can anyone help me?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-07-02 22:16

If there is nothing in the logs and you did the directions nivekiam posed then you could try to start over with a recent GIT version and try again.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Fri, 2009-07-03 08:20

Still having the problem...

I tried making a new instance of G3 using the latest GIT version, copied the var folder across and still same error... I also, now that I think about it, copied across the database content... was I not supposed to do that somehow?

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Fri, 2009-07-03 08:32

Still having the problem...

I tried making a new instance of G3 using the latest GIT version, copied the var folder across and still same error... I also, now that I think about it, copied across the database content... was I not supposed to do that somehow?

....

Ok... I've tried making a new instance and just copying in the var folder... still gives me a blank index.... Ahhh...

I'm really keen for latest version now! :)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-07-03 15:24

Start really fresh, NO var, NO database

Just a fresh, clean, new install.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Fri, 2009-07-03 18:29

And what about my image captions, descriptions, tags...... comments....??? There's got to be a better way nivekiam

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-07-03 18:40

You're using beta software. You'll find no compassion here :)
EDIT: by 'here', I mean from me. You shouldn't be using this on a production site.

Try a fresh install into a different directory, different database and see if things are working there.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Fri, 2009-07-03 22:15

Anyone out there have a heart???

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-07-04 02:47

I echo nivekiam. I have a bit of compassion but still can't help. sorry, but is is free beta software.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-07-04 03:01

Even if it was proprietary, closed source, non-free beta software, you still shouldn't be using alpha or beta software it in a production environment that you rely upon.

Read the 2nd and 3rd paragraphs:
http://gallery.menalto.com/gallery_3.0_beta_1_released

Beta 2 is most likely going to have similar of even the exact same statements.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Sat, 2009-07-04 10:24

Ok ok... I still think Gallery is the best app in development, and my enthusiasm endures! Last question and we can let this thread die ~ Actually I'll ask it in features forum...

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Thu, 2009-07-09 21:13

Having the same trouble. Well I was, then I switched over to the default theme before upgrade and then I at least get the header, but nothing else. If this is just simply a "can't upgrade from this to that" issue I'm curious why more people haven't seen it...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-09 21:19

Default theme? Right now G3 only has 1 theme shipping with it. What did you upgrade from or to? Are you using the latest G3 code from git or did you download the Beta?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Thu, 2009-07-09 21:39

I had my own theme created. Upgraded from beta1 to the latest code I downloaded today.

edit-installing fresh with new db works fine. Just a bummer to not be able to upgrade.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-09 21:46

Have you gone to /gallery3/index.php/upgrader ?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Thu, 2009-07-09 21:59

I sure did, and it said everything went just fine.

---
The fresh install works fine, however I'm trying to import from my g2, and I don't think it sat on "Starting up" this long with beta1....

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Thu, 2009-07-09 22:14

Now this is interesting. After 1/2 hour of "starting up" I paused it and went to the dashboard. It said I have 2 albums. I go to the gallery, and I get a blank page again.

 
AndrewRH
AndrewRH's picture

Joined: 2009-02-05
Posts: 52
Posted: Sat, 2009-07-11 21:25

Just echoing this issue - happened for me too. But then I learned how to fix it.

Firstly, I was told to just unzip into same directory. I made a backup of /gallery and then I unzipped the latest version into /gallery. I got just a blank screen when I went to my URL. I also tried running /installer and it said success - but it wasn't.

Then, I tried this: I went to http://gallery.<myurl>/index.php/upgrader (as stated here) and it showed a list of items, all with the same number beside them (installed/available) with the 'Gallery3' item highlighted. I clicked 'Upgrade All' and it said it had upgraded.

But, I thought that this had automatically done the upgrade (I'm used to Wordpress doing this). It hadn't. The tip-off was that all the numbers (installed/available) were the same.

So, I followed the other instructions on that upgrade page (!!):
- I downloaded the latest experimental version from git
- I uploaded it to my webserver
- I unzipped it (it unpacked into, as expected, a very long directory name)
- I copied the 'var' directory from my old /gallery subdirectory to a known place (remember, I had kept a backup before I had started anything, above)
- I renamed /gallery to /gallery-original
- I renamed the very long unpacked directory to /gallery
- I copied the var directory from the known place into /gallery
- I went to http://gallery.<myurl>/index.php/upgrader
- This time the installed/available numbers in the list differed!
- It did the upgrade (I assume) -- there was no definitive proof though (see next point)

Is there a way that the dashboard info about the version could say more about the version, other than just "Version: 3.0 pre beta 2 (git)" -- how will I know which date it was pulled from?

Thanks,

~Andrew~

---
http://Reeves-Hall.net
http://WhitchurchForums.org.uk

 
jasonh

Joined: 2009-07-09
Posts: 31
Posted: Sat, 2009-07-11 22:51

Well I just tried again with a new download. Unzipped, renamed, copied old /var over, ran upgrader (it said it was already done, but I hit the upgrade button anyway) and it works. Must've been something about that particular download or something...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-07-12 05:50
Quote:
Is there a way that the dashboard info about the version could say more about the version, other than just "Version: 3.0 pre beta 2 (git)" -- how will I know which date it was pulled from?

You have to remember i guess. This is beta software and you can expect some bugs. If you encounter a major issue like this again, delete everything and start over.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2009-07-13 04:06

Unfortunately, git doesn't make it easy for us to tag each download :-(

And don't be hard on floridave and nivekiam for not having compassion.. you have to poke around the forums to see what they're enduring before you can really grasp the scope of what crazy stuff people expect for free :-)
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
mrl586

Joined: 2009-05-07
Posts: 30
Posted: Mon, 2009-07-13 14:44

I have same problem. Gallery index page source code seems this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>
                                  Browse Album :: Gallery                            </title>
    <link rel="shortcut icon" href="/themes/default/images/favicon.ico" type="image/x-icon" />
                    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="/themes/default/css/fix-ie.css"
          media="screen,print,projection" />
    <![endif]-->
                                      <script type="text/javascript">
    var MSG_CANCEL = "Cancel";
    </script>
                    
        
    <!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->

<script type="text/javascript" src="/index.php/combined/javascript/e26686a54e7c775e7e59f6e4e5ec77a9.js"></script>

<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
<link rel="stylesheet" type="text/css" href="/index.php/combined/css/6981ae94060d1ff4cefc4e96531dc466.css" media="screen,print,projection" />

<link rel="alternate" type="application/rss+xml" href="/index.php/rss/feed/gallery/album/1" />


<script src="http://lite.piclens.com/current/piclens_optimized.js"type="text/javascript"></script>
  </head>

  <body 
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 16:08

Are you using the latest code from git? (see link in bharat's sig above for a link to that)

Does your gallery3/var/logs directory show any errors?

My G3 install shows some inline CSS above this

                                      <script type="text/javascript">
    var MSG_CANCEL = "Cancel";
    </script>

That's not in yours and mine is a fresh pull from this morning.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
mrl586

Joined: 2009-05-07
Posts: 30
Posted: Mon, 2009-07-13 16:55
nivekiam wrote:
Are you using the latest code from git? (see link in bharat's sig above for a link to that)

Does your gallery3/var/logs directory show any errors?

My G3 install shows some inline CSS above this

                                      <script type="text/javascript">
    var MSG_CANCEL = "Cancel";
    </script>

That's not in yours and mine is a fresh pull from this morning.

Yes, I run pull command early in the evening (my timezone is UTC +2). No error in log file.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 17:30

Can you post or PM a link to your site?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
mrl586

Joined: 2009-05-07
Posts: 30
Posted: Mon, 2009-07-13 17:46
nivekiam wrote:
Can you post or PM a link to your site?

Yes, I can. I send PM to you.

EDIT: PM sent.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 17:53

hmm, yeah, the output just stops. Can you check your server's error logs?
FAQ: What is the webserver error log?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
mrl586

Joined: 2009-05-07
Posts: 30
Posted: Mon, 2009-07-13 18:40
nivekiam wrote:
hmm, yeah, the output just stops. Can you check your server's error logs?
FAQ: What is the webserver error log?

Yes, but I can't see this problem related line in server's error log.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2009-07-13 19:45
 
mrl586

Joined: 2009-05-07
Posts: 30
Posted: Mon, 2009-07-13 19:57

Now, I have one error in index page: Fatal error: Call to undefined method Locale::is_rtl() in /var/www/gallery3/modules/gallery/libraries/MY_View.php on line 48

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-07-14 13:30

Are you using PHP 5.3? Looks like you're hitting this issue: http://sourceforge.net/apps/trac/gallery/ticket/194

Choices are to downgrade to PHP 5.2 or wait until we fix it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-07-14 16:36

Yes, his server reports PHP/5.3.0-0.dotdeb.6

Thanks for pointing that out bharat, I would have kept beating my head up against a wall :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here