|
|
Choosing A Webhost: |
Re: fix when using a port other than 80: msg#00257bug-tracking.flyspray.devel
Gaël Beaudoin escribió: > Le Jeudi 21 Septembre 2006 19:02, Cristian Rodriguez R. a écrit : >> Gaël Beaudoin escribió: >>> Hello :) >>> >>> Today I upgraded our flyspray setup to latest svn. >>> I had a problem : the site starts to load and stops during loading : the >>> browser waits indefinitely. >>> >>> Here is the fix I found : >>> >>> In the file includes/constants.inc.php : >>> >>> 20,22d19 >>> >>>> // gaboo 20060921 >>>> $_SERVER['SERVER_PORT'] = '81'; >>>> // gaboo >>> (taht is, just before the line "$baseurl = >>> rtrim(Flyspray::absoluteURI($webdir),'/\\') . '/' ;" >>> >>> I believe there's a better way to fix this, hope it will be easier to >>> find with this :) >> make sure you are using the 0.9.9 branch.. and **not** trunk. >> >> check "svn info" if it displays >> >> "URL: http://svn.ivt.com.au/flyspray/trunk" >> >> >> execute the following command >> >> svn switch http://svn.ivt.com.au/flyspray/branches/0.9.9 >> >> abaout the error, something is different in your enviroment, works as >> expected here.. if the $port argument is not passed to >> (Flyspray::absoluteURI() , the function calculates the port based on the >> value of $_SERVER['SERVER_PORT'] automatically for you. what is the >> value of $_SERVER['SERVER_PORT'] BEFORE you set it to 81 ? >> >> try echo'ing it before you force it, and then exit; >> >> i.e >> >> echo $_SERVER['SERVER_PORT']; >> exit; >> //code that sets server_port here, never executes.. >> >> btw.. forcing server port is a really bad idea and something is messed >> in your setup then. > > Arf, indeed, I was using trunk. I switched to 0.9.9 branch. > The bug is still present though. > > Echo'ing it give me this : 16081 > Dunno why. > > I'm using apache on an apple xserve running macos x server. > please var_dump($_SERVER);exit; _______________________________________________ flyspray mailing list flyspray@xxxxxxxxxxxxxx http://lists.rocks.cc/listinfo.cgi/flyspray-rocks.cc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: fix when using a port other than 80, Cristian Rodriguez R. |
|---|---|
| Next by Date: | Re: fix when using a port other than 80, Cristian Rodriguez R. |
| Previous by Thread: | Re: fix when using a port other than 80, Cristian Rodriguez R. |
| Next by Thread: | Re: fix when using a port other than 80, Cristian Rodriguez R. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |