[Solved] 503 Error, No Thumb generated, Refresh

BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Fri, 2005-02-11 13:38

[Edit: I solved most of these problems, read next post]

Somehow I seem to be having quite a few problems with G2, and can't seem to track the cause. I'm running G2 from cvs, and I'm having these problems for the last 4 days or so, so that rules out this specific cvs version. I just (11/2/05) updated G2 from cvs, deleted the database tables, deleted everything in the data directory, and did a clean install.

Importing albums from G1 works great, but when I create my own album, and upload a picture, the thumbnail and intermediate are not displayed (the red cross image), only the full-size picture. So the upload goes fine, and EXIF information is also displayed, just not the images. Everything is fine for the imported albums. When I click on 'edit photo' or some other link, I get the webserver error: '503 Script did not end header'. This error occurs also with 'move album'.

G2 doesn't refresh automatically for me. I'm using Windows XP SP2 with IE6 SP1 (incl. most recent updates), as probably the majority of users does. However, when I change something in G2, I have to press F5 to see the changes. My cache is set to 'automatically' (default). This is highly annoying.

When I click on 'details' (EXIF info) or on 'back to album' I get a 404 error for the URL: gallery2/main.phpg2_view=core:ShowItem&g2_itemId=11?g2_fromNavId=x2a4cff5a Somehow an '?' is missing after main.php.

I hope to find a solution for these problems, since I'd really like to use G2 large scale (not on production servers), but it's currently causing too much problems for me. This is especially weird, since most other users don't seem to have these problems.
----

System Information
Gallery version 2.0-alpha-4+
PHP version 4.3.10 cgi
Webserver xs-httpd/3.2 gamma/0.1
Database mysqlt 3.23.58
Toolkits ImageMagick, SquareThumb, NetPBM, Gd
Operating system FreeBSD 4.10-STABLE FreeBSD 4.10-STABLE #15: Tue Se i386
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

 
BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Fri, 2005-02-11 13:53

OK, I decided to change the toolkit priority in G2, and made GD lowest priority. That solved most of the problems. Imagemagick (first priority) created the thumbs and intermediates of my new photos without problem. I can move the albums and photos again, without the 503 error. Even the page refresh seems to work better, but still not perfect, I'm getting old pages sometimes. The strange thing is that G2 reported GD (version 2.0.28 (bundled)) to work successfully and so I assumed it would, but it created tons of problems for me, which ImageMagick solved.

One error still remains:
When I click on 'details' (EXIF info) or on 'back to album' I get a 404 error for the URL: gallery2/main.phpg2_view=core:ShowItem&g2_itemId=11?g2_fromNavId=x2a4cff5a Somehow an '?' is missing after main.php.

Also, the XHTML validator (default matrix layout) fails on id="%ID" in the albums image tag.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-02-11 16:47

a bug was filed on improper urls, here, though that was for login urls.

%ID% issue reported here.. yours is the first report not on windows.

please (someone) start a new topic about the url issues.
please move any imageframe/%ID% discussion to the topic above.. thanks.

 
BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Sat, 2005-02-12 14:12

mindless, thanks a lot.
In the latest cvs, the %ID% issue is resolved. I also updated the tracker with some extra info on improper URLs.