Discussion:
[TYPO3-english] realurl and jk_poll
Stephan de Bruin
2009-03-22 17:32:00 UTC
Permalink
Hello,

I've just installed realurl on my site and it works like a charm. Only
thing is that it breaks the extension jk_poll. I know I have to write a
configuration for this to work, but I have no idea what that
configuration should look like.

Can anyone help me out?

Thanx in advance!

Greetings,
Stephan
Dmitry Dulepov
2009-03-23 11:39:05 UTC
Permalink
Hi!
Post by Stephan de Bruin
I've just installed realurl on my site and it works like a charm. Only
thing is that it breaks the extension jk_poll. I know I have to write a
configuration for this to work, but I have no idea what that
configuration should look like.
I never worked with jk_poll but if you tell what exactly breaks, we can try to figure out the solution :)
--
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/article/typo3-installation-and-upgrade-e-book.html
Stephan de Bruin
2009-03-24 09:37:59 UTC
Permalink
Hi Dmitry,

thanks for your reply. I foud a solution in the form of another
extension (cbrealurl). This takes care of that problem.

I have got another issue though. In the backend of TYPO3, when I click
the preview-button, I get a error page (a custom 404-page that is show
when a realurl-page is not found).

Maybe you seen this before and know of a solution.

I've installed the following extensions to 'aid' realurl:
- cbrealurl
- realurlmanagement
- forcerealurls

Thanks!
Post by Dmitry Dulepov
Hi!
Post by Stephan de Bruin
I've just installed realurl on my site and it works like a charm. Only
thing is that it breaks the extension jk_poll. I know I have to write a
configuration for this to work, but I have no idea what that
configuration should look like.
I never worked with jk_poll but if you tell what exactly breaks, we can try to figure out the solution :)
Dmitry Dulepov
2009-03-24 10:00:46 UTC
Permalink
Hi!
Post by Stephan de Bruin
I have got another issue though. In the backend of TYPO3, when I click
the preview-button, I get a error page (a custom 404-page that is show
when a realurl-page is not found).
Maybe you seen this before and know of a solution.
No, never seen this :(
--
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html
Stephan de Bruin
2009-03-25 10:49:01 UTC
Permalink
Dmitry,

I know I said I thought I fixed the issue with jk_poll, but somehow it
now breaks again. If you go to www.sense.info and vote on the poll, you
see what I mean. I thin k it has something to do with the extra / being
added after www.sense.info/

Could you tell me how to remove this extra / ?

Thanks!
Post by Dmitry Dulepov
Hi!
Post by Stephan de Bruin
I have got another issue though. In the backend of TYPO3, when I click
the preview-button, I get a error page (a custom 404-page that is show
when a realurl-page is not found).
Maybe you seen this before and know of a solution.
No, never seen this :(
Dmitry Dulepov
2009-03-25 12:19:56 UTC
Permalink
Hi!
Post by Stephan de Bruin
I know I said I thought I fixed the issue with jk_poll, but somehow it
now breaks again. If you go to www.sense.info and vote on the poll, you
see what I mean. I thin k it has something to do with the extra / being
added after www.sense.info/
Hm, I do not see :( When I vote, I see "U moet ??n van de antwoorden selecteren." Is it a error message?
Post by Stephan de Bruin
Could you tell me how to remove this extra / ?
Most likely it is a postVar or preVar with empty value. Please, post your postVarSets and preVars configuration.
--
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html
Stephan de Bruin
2009-03-25 12:41:28 UTC
Permalink
Hi,

"U moet ??n van de antwoorden selecteren." means that no answer has been
selected, although it has.

My postVarSets and PreVars (from the cbrealurl extension, since it is my
understanding that these override all other configs):

'preVars' => array(
array(
'GETvar' => 'no_cache'
, 'valueMap' => array(
'nc' => 1
)
, 'noMatch' => 'bypass'
)
, array(
'GETvar' => 'L',
'valueMap' => array(
// id's need to line up with Website Language Ids in TYPO3
// 'english' => '0',
// 'en' => '0',
// 'us' => '0',
'' => '0',
// 'french' => '1',
'fr' => '1',
// Simplified Chinese
'cn' => '2',
// norwegian?
// 'no' => '2',
// Simplified Chinese
'tw' => '3',
// 'german' => '3',
// 'de' => '3',
// 'danish' => '4',
'dk' => '4',
// 'spanish' => '5',
'es' => '5',
// British English
'uk' => '6',
// Traditional Chinese
'tw' => '8',
),
'noMatch' => 'bypass',
),
array ( // add complete type array
'GETvar' => 'type',
'valueMap' => array (
'validation' => '3131'
),
'noMatch' => 'bypass'
),
)
, 'pagePath' => array(
'type' => 'user'
, 'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main'
, 'spaceCharacter' => '-'
, 'languageGetVar' => 'L'
, 'rootpage_id' => 1
, 'segTitleFieldList' => 'tx_realurl_pathsegment,alias,title'
, 'expireDays' => 1095
)
, 'fixedPostVars' => array()
, 'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]'
)
, array(
'GETvar' => 'tx_ttnews[month]'
// MLC uncomment if month names instead of numbers are
// desired
/*
, 'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
*/
)
, array(
'GETvar' => 'tx_ttnews[day]'
, 'noMatch' => 'bypass',
)
, array(
'GETvar' => 'tx_ttnews[pS]'
, 'noMatch' => 'bypass',
)
, array(
'GETvar' => 'tx_ttnews[pL]'
, 'noMatch' => 'bypass',
)
)
// news pagebrowser
, 'p' => array(
array(
'GETvar' => 'tx_ttnews[pointer]'
)
)
// news category
, 'c' => array (
array(
'GETvar' => 'tx_ttnews[cat]'
, 'lookUpTable' => array(
'table' => 'tt_news_cat'
, 'id_field' => 'uid'
, 'alias_field' => 'title'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
),
),
),
)
// news item
, 'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]'
, 'lookUpTable' => array(
'table' => 'tt_news'
, 'id_field' => 'uid'
// MLC Goolge wants uniqueness for spidering
, 'alias_field' => 'concat(title, " ", uid)'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
, 'spaceCharacter' => '-'
)
)
)
, array(
'GETvar' => 'tx_ttnews[swords]'
)
)
, 'abp' => array(
array(
'GETvar' => 'tx_ttnews[backPid]'
)
)
, 'nq' => array(
array(
'GETvar' => 'news_search[search_text]'
)
)
, 'nqc' => array(
array(
'GETvar' => 'news_search[category][]'
)
)
, 'login' => array(
array(
'GETvar' => 'tx_newloginbox_pi3[showUid]'
)
)
, 'forgot-login' => array(
array(
'GETvar' => 'tx_newloginbox_pi1[forgot]'
)
)
, 'forgot' => array(
array(
'GETvar' => 'tx_felogin_pi1[forgot]'
)
)
, 'query' => array(
array(
'GETvar' => 'tx_indexedsearch[sword]'
)
, array(
'GETvar' => 'tx_indexedsearch[ext]'
)
, array(
'GETvar' => 'tx_indexedsearch[submit_button]'
)
, array(
'GETvar' => 'tx_indexedsearch[_sections]'
)
, array(
'GETvar' => 'tx_indexedsearch[pointer]'
)
, array(
'GETvar' => 'tx_indexedsearch[extResume]'
)
, array(
'GETvar' => 'tx_indexedsearch[type]'
)
, array(
'GETvar' => 'tx_indexedsearch[group]'
)
, array(
'GETvar' => 'tx_indexedsearch[_freeIndexUid]'
)
, array(
'GETvar' => 'tx_indexedsearch[media]'
)
, array(
'GETvar' => 'tx_indexedsearch[defOp]'
)
, array(
'GETvar' => 'tx_indexedsearch[ang]'
)
, array(
'GETvar' => 'tx_indexedsearch[desc]'
)
, array(
'GETvar' => 'tx_indexedsearch[results]'
)
, array(
'GETvar' => 'tx_indexedsearch[sections]'
)
, array(
'GETvar' => 'tx_indexedsearch[lang]'
)
, array(
'GETvar' => 'tx_indexedsearch[order]'
)
, array(
'GETvar' => 'tx_indexedsearch[freeIndexUid]'
)
)
, 'srfu' => array(
array(
'GETvar' => 'tx_srfeuserregister_pi1[cmd]'
)
, array(
'GETvar' => 'tx_srfeuserregister_pi1[pointer]'
)
, array(
'GETvar' => 'tx_srfeuserregister_pi1[mode]'
)
, array(
'GETvar' => 'tx_srfeuserregister_pi1[sword]'
)
, array(
'GETvar' => 'tx_srfeuserregister_pi1[sort]'
)
)
, 'scal' => array(
array(
'GETvar' => 'tx_desimplecalendar_pi1[showUid]'
)
, array(
'GETvar' => 'tx_desimplecalendar_pi1[form]'
)
, array(
'GETvar' => 'tx_desimplecalendar_pi1[mode]'
)
, array(
'GETvar' => 'tx_desimplecalendar_pi1[backPath]'
)
)
, 'calender-category' => array(
array(
'GETvar' => 'tx_advCalendar_pi1[category]'
)
)
, 'view' => array(
array(
'GETvar' => 'view'
)
)
, 'cforum' => array(
array(
'GETvar' => 'cat_uid'
)
, array(
'GETvar' => 'conf_uid'
)
, array(
'GETvar' => 'thread_uid'
)
, array(
'GETvar' => 'page'
)
, array(
'GETvar' => 'flag'
)
)
, 'event' => array(
array(
'GETvar' => 'eventid'
)
)
, 'ef' => array(
array(
'GETvar' => 'editflag'
)
)
, 'start' => array(
array(
'GETvar' => 'start'
)
)
, 'day' => array(
array(
'GETvar' => 'day'
)
)
, 'week' => array(
array(
'GETvar' => 'week'
)
)
, 'month' => array(
array(
'GETvar' => 'month'
)
)
, 'bu' => array(
array(
'GETvar' => 'backURL'
)
)
, 'cmd' => array(
array(
'GETvar' => 'cmd'
)
)
, 'year' => array(
array(
'GETvar' => 'year'
)
)
, 'rdfi' => array(
array(
'GETvar' => 'tx_nrdfimport_pi1[showUid]'
)
)
, 'sponsor' => array(
array(
'GETvar' => 'tx_t3consultancies_pi1[showUid]'
, 'lookUpTable' => array(
'table' => 'tx_t3consultancies'
, 'id_field' => 'uid'
, 'alias_field' => 'title'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
, 'spaceCharacter' => '-'
)
)
)
, array(
'GETvar' => 'tx_t3consultancies_pi1[service]'
)
, array(
'GETvar' => 'tx_t3consultancies_pi1[pointer]'
)
)
, 'slide-show' => array(
array(
'GETvar' => 'tx_gsislideshow_pi1[total]'
)
, array(
'GETvar' => 'tx_gsislideshow_pi1[lastUid]'
)
, array(
'GETvar' => 'tx_gsislideshow_pi1[firstUid]'
)
, array(
'GETvar' => 'tx_gsislideshow_pi1[current]'
)
, array(
'GETvar' => 'tx_gsislideshow_pi1[showUid]'
, 'lookUpTable' => array(
'table' => 'tx_gsislideshow_images'
, 'id_field' => 'uid'
, 'alias_field' => 'caption'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
, 'spaceCharacter' => '-'
)
)
)
)
, 'tac' => array(
array(
'GETvar' => 'tac'
)
)
, 'bp' => array(
array(
'GETvar' => 'backPID'
)
)
, 'product' => array(
array(
'GETvar' => 'tt_products'
, 'lookUpTable' => array(
'table' => 'tt_products'
, 'id_field' => 'uid'
// MLC Goolge wants uniqueness for spidering
, 'alias_field' => 'concat(title, " ", uid)'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
),
)
)
)
// MLC Bahag photo gallery
, 'gallery' => array(
array(
'GETvar' => 'gallery'
)
)
, 'image' => array(
array(
'GETvar' => 'viewImage'
)
)
, 'rp' => array(
array(
'GETvar' => 'resultPage'
)
)
, 'idx' => array(
array(
'GETvar' => 'idx'
)
)
, 'anmode' => array (
array('GETvar' => 'tx_piapappnote_pi1[mode]')
)
, 'anptr' => array (
array('GETvar' => 'tx_piapappnote_pi1[pointer]')
)
, 'anfile' => array (
array('GETvar' => 'tx_piapappnote_pi1[file]')
)
, 'anseach' => array (
array('GETvar' => 'tx_piapappnote_pi1[sword]')
)
, 'annote' => array (
array('GETvar' => 'tx_piapappnote_pi1[noteid]')
)
, 'anauth' => array (
array('GETvar' => 'tx_piapappnote_pi1[author]')
)
, 'anname' => array (
array('GETvar' => 'tx_piapappnote_pi1[title]')
)
, 'andesc' => array (
array('GETvar' => 'tx_piapappnote_pi1[description]')
)
, 'ancat' => array (
array('GETvar' => 'tx_piapappnote_pi1[categorylist]')
)
, 'anver' => array (
array('GETvar' => 'tx_piapappnote_pi1[versionlist]')
)
, 'andev' => array (
array('GETvar' => 'tx_piapappnote_pi1[devicelist]')
)
, 'galp' => array (
array('GETvar' => 'tx_hldamgallery_pi1[galleryPID]')
)
, 'galcat' => array (
array('GETvar' => 'tx_hldamgallery_pi1[galleryCID]')
)
, 'galimg' => array (
array('GETvar' => 'tx_hldamgallery_pi1[imgID]')
)
, 'faq-category' => array (
array('GETvar' => 'tx_irfaq_pi1[cat]'
, 'lookUpTable' => array(
'table' => 'tx_irfaq_cat'
, 'id_field' => 'uid'
, 'alias_field' => 'title'
, 'addWhereClause' => ' AND deleted != 1'
, 'useUniqueCache' => 1
, 'useUniqueCache_conf' => array(
'strtolower' => 1
, 'spaceCharacter' => '-'
)
)
)
)
// page comments
, 'skcomm' => array(
array(
'GETvar' => 'tx_skpagecomments_pi1[showComments]',
),
array(
'GETvar' => 'tx_skpagecomments_pi1[showForm]',
),
)
// ab_downloads
, 'dl-act' => array(
array(
'GETvar' => 'tx_abdownloads_pi1[action]',
'valueMap' => array(
'show-category' => 'getviewcategory',
'propose-a-new-download' => 'getviewaddnewdownload',
'open-download' => 'getviewclickeddownload',
'show-details-for-download' => 'getviewdetailsfordownload',
'report-broken-download' => 'getviewreportbrokendownload',
'rate-download' => 'getviewratedownload',
),
),
)
, 'dl-cat' => array(
array(
'GETvar' => 'tx_abdownloads_pi1[category_uid]',
'valueMap' => array(
'home' => '0',
),
'lookUpTable' => array(
'table' => 'tx_abdownloads_category',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)
, 'dl-file' => array(
array(
'GETvar' => 'tx_abdownloads_pi1[uid]',
'lookUpTable' => array(
'table' => 'tx_abdownloads_download',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)
, 'dl-ptr' => array(
array(
'GETvar' => 'tx_abdownloads_pi1[pointer]',
),
)
, 'll-act' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[action]',
'valueMap' => array(
'show-category' => 'getviewcategory',
'propose-a-new-link' => 'getviewaddnewlink',
'open-link' => 'getviewclickedlink',
'show-details-for-link' => 'getviewdetailsforlink',
'report-broken-link' => 'getviewreportbrokenlink',
'rate-link' => 'getviewratelink',
),
),
)
, 'll-cat' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[category_uid]',
'valueMap' => array(
'home' => '0',
),
'lookUpTable' => array(
'table' => 'tx_ablinklist_category',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)
, 'll-link' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[uid]',
'lookUpTable' => array(
'table' => 'tx_ablinklist_link',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)
, 'll-ptr' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[pointer]',
),
)
, 'cal'=> array(
array(
'GETvar' => 'tx_cal_controller[view]'
),
array(
'GETvar' => 'tx_cal_controller[getdate]'
),
array(
'GETvar' => 'tx_cal_controller[lastview]'
),
array(
'GETvar' => 'tx_cal_controller[type]'
),
array(
'GETvar' => 'tx_cal_controller[category]',
'lookUpTable' => array(
'table' => 'tx_cal_category',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),

),
),
array(
'GETvar' => 'tx_cal_controller[uid]',
'lookUpTable' => array(
'table' => 'tx_cal_event',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND deleted != 1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
)
, 'rating' => array(
array(
'GETvar' => 'tx_accessibleratings[ref]',
),
array(
'GETvar' => 'tx_accessibleratings[value]',
),
)
, 'ch' => array(
array(
'GETvar' => 'cHash',
'noMatch' => 'bypass',
),
),
)
)
Post by Dmitry Dulepov
Hi!
Post by Stephan de Bruin
I know I said I thought I fixed the issue with jk_poll, but somehow it
now breaks again. If you go to www.sense.info and vote on the poll, you
see what I mean. I thin k it has something to do with the extra / being
added after www.sense.info/
Hm, I do not see :( When I vote, I see "U moet ??n van de antwoorden selecteren." Is it a error message?
Post by Stephan de Bruin
Could you tell me how to remove this extra / ?
Most likely it is a postVar or preVar with empty value. Please, post your postVarSets and preVars configuration.
Dmitry Dulepov
2009-03-25 13:04:19 UTC
Permalink
Hi!
Post by Stephan de Bruin
'GETvar' => 'L',
'valueMap' => array(
// id's need to line up with Website Language Ids in TYPO3
// 'english' => '0',
// 'en' => '0',
// 'us' => '0',
'' => '0',
Please, remove the last quoted line and see if it helps. This value (1) does not make sense and (2) may cause empty segments.
--
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html
Stephan de Bruin
2009-03-25 14:27:47 UTC
Permalink
Hi,

I tried this, but it didn't have any effect (good or bad).
Post by Dmitry Dulepov
Hi!
Post by Stephan de Bruin
'GETvar' => 'L',
'valueMap' => array(
// id's need to line up with Website Language Ids in TYPO3
// 'english' => '0',
// 'en' => '0',
// 'us' => '0',
'' => '0',
Please, remove the last quoted line and see if it helps. This value (1) does not make sense and (2) may cause empty segments.
Dmitry Dulepov
2009-04-02 07:45:16 UTC
Permalink
Hi!
Post by Stephan de Bruin
I tried this, but it didn't have any effect (good or bad).
Did you solve it? :) If no, I am out of ideas too.
--
Dmitry Dulepov
Skype: liels_bugs
In the blog: http://dmitry-dulepov.com/article/automatic-realurl-configuration-howto.html
Loading...