[TYPO3-realty] Realty and Realurl Konfiguration

Christoph Stadler christophe at stadler.com
Fri Jan 14 14:11:54 CET 2011


I am using the realurl configuration from Thorben Dyk  sucessfully but 
it doesn't work with the front end editor:

When pressing save in the image uploader or record editor the following 
error appears:

Error!

Reason: Multiple pages exist for path "": 2, 3, 6, 7, 22, 30, 31, 32, 
33, 34, 35, 29, 24, 25, 26, 27, 28, 37, 39, 40

The Url it gets redirected to after the save displays the domain root 
path twice:

*http://mydomain.com/http://mydomain.com/*no_cache/editor/mycity/testrecord.html

With reaUrl switched off everything works correctly so i'm sure it's ot 
a problem with my realty install.

any ideas ?

(i've also added this to the bug tracker)

On 3/17/10 2:03 PM, Thorben Dyk wrote:
> Sorry, I guess no attachments allowed...
>
> ### realurlconf.php START ###
>
> <?php
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>
>   'init' =>  array(
>    'enableCHashCache' =>  'true',
>    'appendMissingSlash' =>  'ifNotFile',
>    'enableUrlDecodeCache' =>  1,
>    'enableUrlEncodeCache' =>  1,
>   ),
>   'pagePath' =>  array(
>    'type' =>  'user',
>    'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>    'spaceCharacter' =>  '-',
>    'languageGetVar' =>  'L',
>    'expireDays' =>  3,
>    'rootpage_id' =>  1, 	
>   ),
>   'fileName' =>  array (
>    'defaultToHTMLsuffixOnPrev' =>  true,
>    'index' =>  array(
>     'backend.php' =>  array(
>      'keyValues' =>  array (
>       'type' =>  1,
>      ),
>     ),
>      'druckversion.html' =>  array(
>          'keyValues' =>  array(
>          'type' =>  98,
>          ),
>        ),
>      'pdf-download' =>  array(
>          'keyValues' =>  array(
>          'type' =>  123,
>          ),
>        ),	
>    ),
>   ),
>   'preVars' =>  array(
>    array(
>     'GETvar' =>  'no_cache',
>     'valueMap' =>  array(
>      'no_cache' =>  1,
>     ),
>     'noMatch' =>  'bypass',
>    ),
>    array(
>     'GETvar' =>  'L',
>     'valueMap' =>  array(
> 	'de' =>  '0',
>      'en' =>  '1',
>     ),
>     'noMatch' =>  'bypass',
>    ),
>   ),
>          'fixedPostVars' =>  array(),
>          'postVarSets' =>  array(
>              '_DEFAULT' =>  array(
>                  // REALTY MANAGER
>                  'hamburg' =>  array(
>                      array(
>                          'GETvar' =>  'tx_realty_pi1[showUid]' ,
>                          'lookUpTable' =>  array(
>                              'table' =>  'tx_realty_objects',
>                              'id_field' =>  'uid',
>                              'alias_field' =>  'title',
>                              'addWhereClause' =>  ' AND NOT deleted',
>                              'useUniqueCache' =>  1,
>                              'useUniqueCache_conf' =>  array(
>                                  'strtolower' =>  1,
>                                  'spaceCharacter' =>  '-',
>                                  )
>                              ),
>                          ),	
> 				),
> 				'browse' =>  array(
> 					array(	
> 						'GETvar' =>
> 'tx_realty_pi1[pointer]',
> 						'valueMap' =>  array(
> 						'Seite-1' =>  '0',
> 						'Seite-2' =>  '1',
> 						'Seite-3' =>  '2',
> 						'Seite-4' =>  '3',
> 						'Seite-5' =>  '4',
> 						'Seite-6' =>  '5',
> 						'Seite-7' =>  '6',
> 						'Seite-8' =>  '7',
> 						'Seite-9' =>  '8',
> 						'Seite-10' =>  '9',
> 						'Seite-11' =>  '10',
> 						'Seite-12' =>  '11',
> 						'Seite-13' =>  '12',
> 						'Seite-14' =>  '13',
> 						'Seite-15' =>  '14',
> 						'Seite-16' =>  '15',
> 						'Seite-17' =>  '16',
> 						'Seite-18' =>  '17',
> 						'Seite-19' =>  '18',
> 						'Seite-20' =>  '19',
> 						'Seite-21' =>  '20',
> 						'Seite-22' =>  '21',
> 						'Seite-23' =>  '22',
> 						'Seite-24' =>  '23',
> 						'Seite-25' =>  '24',
> 						'Seite-26' =>  '25',
> 						'Seite-27' =>  '26',
> 						'Seite-28' =>  '27',
> 						'Seite-29' =>  '28',
> 						'Seite-30' =>  '29',
>
> 						'Seite-31' =>  '30',
>
> 						)
> 					),
> 				),				
>                  ),
>              ),
> );
>
> ?>
>
> ### realurlconf.php END ###
>
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: typo3-project-realty-bounces at lists.typo3.org [mailto:typo3-
>> project-realty-bounces at lists.typo3.org] Im Auftrag von Thorben Dyk
>> Gesendet: Mittwoch, 17. März 2010 13:45
>> An: typo3-project-realty at lists.typo3.org
>> Betreff: Re: [TYPO3-realty] Realty and Realurl Konfiguration
>>
>> Hi,
>>
>> don't konw if this helps - this is the way it works:
>>
>> http://www.domain.de/no_cache/mieten/moebliertes-wohnen-in-
>> hamburg/objektans
>> icht/hamburg/moeblierte-1-zimmer-wohnung.html
>>
>> ==>  "/hamburg/" is hardcoded, because all objects located in Hamburg.
>>
>> My realurlconf.php is attached.
>>
>> Kind regards, Thorben
>>
>>
>>
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: typo3-project-realty-bounces at lists.typo3.org [mailto:typo3-
>>> project-realty-bounces at lists.typo3.org] Im Auftrag von Oliver Klee
>>> Gesendet: Mittwoch, 17. März 2010 13:25
>>> An: typo3-project-realty at lists.typo3.org
>>> Betreff: Re: [TYPO3-realty] Realty and Realurl Konfiguration
>>>
>>> Hi,
>>>
>>> Georg Rienzner schrieb:
>>>> I'm looking for a way to run realty Extension with speaking url.
>>>> The url should look like this:
>>>> http://www.domain.com/nc/de/type/buy-or-rent/location/title-of-
>>> objekt.html
>>>>
>> Ex:http://www.domain.com/nc/de/wohnimmobilien/kaufen/ortschaft/title
>>>> -
>>> of-objekt.html
>>>>
>>>> Is there someone who got to work it?
>>> When you get it to work, could you please post it here? Then I will
>>> include it in the manual (or even create a file for automatically
>>> configuring realURL).
>>>
>>>
>>> Oli
>>> --
>>> Certified TYPO3 Integrator | TYPO3 Security Team Member
>>> _______________________________________________
>>> TYPO3-project-realty mailing list
>>> TYPO3-project-realty at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-realty



More information about the TYPO3-project-realty mailing list