[TYPO3-english] Betr: Re: Betr: Re: Betr: Re: CoolURI URL cannot exceed 45 chars. Bug or configuration?

Roy van Lamoen mailinglists at telfort.nl
Sat Sep 5 21:52:25 CEST 2009


Hi Jan,

Okay, thank you. I'll extend my debugging there.

But at this moment, after 40+ hours of software testing for a living, I
don't feel like testing, so I changed the if-statement on line 65 in
class.tx_cooluri.php to if ( 1 < 0). This way it always goes to the else,
which work for me. 

This is of course a temporary change.

I'll keep you updated, if you like!

Rgds,
Roy

-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] Namens Jan Bednarik
Verzonden: zaterdag 5 september 2009 10:27
Aan: typo3-english at lists.netfielders.de
Onderwerp: Re: [TYPO3-english] Betr: Re: Betr: Re: Betr: Re: CoolURI URL
cannot exceed 45 chars. Bug or configuration?

Hi,

> Now, I can't seem to find where siteScript comes from, or what it's
function
> is. I'm not that familiar with the Typo3 code, so I don't know why
> siteScript is set to this value. But it seems to me that this is a bug?

siteScript is taken from Typo3. It is set in tslib_fe:

$this->siteScript = t3lib_div::getIndpEnv('TYPO3_SITE_SCRIPT');

t3lib_div says:

TYPO3_SITE_SCRIPT = [script / Speaking URL] of the TYPO3 website

$retVal = 
substr(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'),strlen(t3lib_div::getIndpE
nv('TYPO3_SITE_URL')));

it is kinda complicated. You will need to debug t3lib_div::getIndpEnv

Regards

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list