Fullsize images not working

dansell

Joined: 2008-03-23
Posts: 16
Posted: Fri, 2009-11-13 14:22

Hi there,
I've been running a test installation of G3 since the beginning and lately fullsize images aren't displaying. You can check it out at http://g3.dkcp.com

I'll I get is the dimmed view with an empty box. Nothing has changed on the server (I run my own).

I would be grateful for any ideas or tips.

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 17:38

Check your /var/albums directory to make sure the files actually exist there. I get a 404 with this URL:
http://g3.dkcp.com/var/albums/test/DSC00067.JPG

But this URL does exist:
http://g3.dkcp.com/var/resizes/test/DSC00067.JPG

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

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Sat, 2009-11-14 00:10

All files exist. I get a message saying "No input file specified". Permissions seem correct.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-11-14 00:59

Ah, post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Sat, 2009-11-14 12:14

Thanks for your help and patience.

http://g3.dkcp.com/phpinfo.php

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-11-14 14:26

It is possible for you to change from FastCGI to just the "normal" CGI? To test.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Sat, 2009-11-14 17:02

I'll look into it. I'm running Virtualmin GPL hosting several servers so FastCGI is there as part of a solution to run the websites under their respective user accounts. Otherwise they wouldn't have permissions on their own files.

I had fullsize images working in G3 beta 1 but it hasn't worked since then.

I'll do some digging and see if I can figure out how to switch to CGI.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sat, 2009-11-14 21:00

Another thing to see about is:
This server is protected with the Suhosin Patch 0.9.6.2
I have seen '"No input file specified".' with this before.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Mon, 2009-11-16 08:06

Ok, another thing to look into then. I'll do that as soon as I can find some time. Need to read up a fair bit as it's a shared server and am afraid I'll mess things up for the other websites.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-16 17:04

If you're not root, there's nothing you can do to mess up the other user's sites.

But you can still run PHP CGI as individual users using php-cgiwrap.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Tue, 2009-11-17 08:00

Hmm...I tried php-cgiwrap but it's not working so obviously I messed up somewhere. Do you happen to know any decent tutorials on how to set it up? Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-11-17 13:47

No, I don't. Sorry. But doing a little searching, it looks like cgiwrap will work with php files:
http://cgiwrap.sourceforge.net/changes.html
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dansell

Joined: 2008-03-23
Posts: 16
Posted: Wed, 2009-11-18 07:45

I setup a new testsite (http://g3b.dkcp.com) and it's working there (same server). Must be something broken in my first installation. Strange.