Cgi-sys dir?

foonji

Joined: 2006-06-01
Posts: 14
Posted: Sat, 2009-06-06 07:49

I thought i'd install G3 Beta and see what the latest release is like...

The install was really easy and simple compared to trouble i remember experiencing with previous versions...

It installed ok and took me to the page after the install... however all im getting is a plain white page with some text and links that vaguely resembles gallery...

the links include a dir cgi-sys that doesn't exist on my server hence why none of them are working...plus all the script sources, css, etc include this phantom dir where it thinks this stuff is... Anyone else experienced this? Is there something I can change to point it in the right direction?

plus there is nothing in the logs...

 
foonji

Joined: 2006-06-01
Posts: 14
Posted: Sat, 2009-06-06 07:57

If i remove the cgi-sys and replace it with the correct dir it works... gotta be a config change somewhere...

 
dave8401

Joined: 2009-06-01
Posts: 129
Posted: Sat, 2009-06-06 11:32

Hi,

Was facing the same problem ;-(.
Fixed it via a modification in the config.php file ("application/config/").

$config["site_domain"] = 'david-steinberger.at/gallery3/';
/*$config["site_domain"] = dirname(
empty($_SERVER["ORIG_SCRIPT_NAME"]) ? $_SERVER["SCRIPT_NAME"] : $_SERVER["ORIG_SCRIPT_NAME"]);*/

Quick and dirty, but working.

thanks,
david

 
foonji

Joined: 2006-06-01
Posts: 14
Posted: Sat, 2009-06-06 12:09

Thanks David! I'll whack it in and see how I go!

 
foonji

Joined: 2006-06-01
Posts: 14
Posted: Sat, 2009-06-06 12:11

Success! Thanks again

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2009-06-06 20:21

I can probably get Gallery 3 to handle this automatically if I can see your phpinfo() output. thanks!
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
macnight

Joined: 2005-09-22
Posts: 3
Posted: Sun, 2009-06-07 14:22

Hi all,

I faced the same problem as well.
My main page looked like simple HTML without CSS. Every link was like www.*domain*/fcgi/... Hereby no folder named "fcgi" exists on my server.
Following Davids modification everything works fine.

No logs have been created. So I had absolutely no clue what happened and no information to send.

Michael

btw: thx David :)

 
foonji

Joined: 2006-06-01
Posts: 14
Posted: Wed, 2010-06-09 10:28
bharat wrote:
I can probably get Gallery 3 to handle this automatically if I can see your phpinfo() output. thanks!

up temporarily for you to see...

 
morton

Joined: 2005-09-19
Posts: 52
Posted: Sun, 2009-06-07 18:51

dave8401:

Had the same issue and used your post to resolve.

Will note here that after uploading useing Dreamweaver CS3 to my Shared Host running PHP5 CGI I accessed the site via mydomain/gallery3 which carried me to mydomain/cgi-bin/installer of course it could not find the installer. Then opend the directory mydomain/gallery3/installer. This kicked off the installer.

bharat: I suspect this is a PHP5 CGI issue. I know there are some $_SERVER bugs vs the Apache php5 module. Also, the CGI version of PHP5 as I understand it does not reconize .htaccess php settings. You must create a php.ini in you cgi-bin and make the settings in there along with some other specific modifications to your root .htaccess file to point to the cgi-bin php.ini file (per my host advise).

Still continue to test. So far so good.

EDIT: Whoops! spoke too soon. It seems that every tab menu link and hyper link yealds an error "Dang... Something went wrong!
We tried really hard, but it's broken.
Talk to your Gallery administrator for help fixing this! "

No logs are being created. This solution may not have been the correct one. Continue to look to see where the problem is. - Steve

EDIT 2: Issued resolved on the links issue. Made a mistake on my domain name. Should have checked better. Everything is working now.

Great work - G3 team. Really looking forward to this version.

Cheers!
Steve

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-06-07 18:34

Ticket filed here: http://apps.sourceforge.net/trac/gallery/ticket/362
but more phpinfo() links would help.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-06-07 18:55

It looks like we have some conflicting settings that are going to make it interesting for us to be able to autodetect the right base url. Thanks for the the info.. we'll work on it. For now, modifying application/config/config.php is the way to go.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
morton

Joined: 2005-09-19
Posts: 52
Posted: Mon, 2009-06-08 03:20

bharat:

Here is a link to to a Gallery3 phpinfo for my site.
http://www.srmwebdesign.com/gallery3/infophp.php

I have made the mod above.

Hope it helps.

Cheers,
Steve

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-09 06:06

You guys rock! I think I've found something that works for everybody and I've marked the ticket as fixed. Can you try again? Thanks!

---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
morton

Joined: 2005-09-19
Posts: 52
Posted: Tue, 2009-06-09 20:31

bharat: The latest GIT download fixed this issue for me. Everything works great.

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-06-10 02:08

Woot!!
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2010-06-09 17:09

@foonji: please don't edit and change your old posts, it makes it hard to read the conversation. You mentioned that you put your phpinfo() up somewhere, but didn't provide a link. Can you provide a URL please?

---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git