[TYPO3-ttnews] Real Url Errors from tt_news 2.4.0 related news

Errol Mars errolmars at gmail.com
Wed Aug 2 18:00:03 CEST 2006


Since updating to the latest version of tt_news 2.4.0 I have been 
getting url errors when I click on related news items and articles 
broken into multi pages only show fist page but gives errors on other 
pages. I'm using typo3 4.0, realurl 1.1.0.

When I create a relationship between articles and click on a related 
link I get url error. If I go to original article it will also show as 
error.

Error Message:
"The page did not exist or was inaccessible. Reason: Request parameters 
could not be validated (&cHash comparison failed)"

Has any one else had this problem?

#=======================================================
#extention  tt_news TS Setup
#=======================================================

plugin.tt_news.useHRDates = 1
plugin.tt_news.useMultiPageSingleView = 1
plugin.tt_news.useBidirectionalRelations = 1
plugin.tt_news.usePagesRelations = 1
plugin.tt_news.useSubCategories = 1
plugin.tt_news.displaySubCategories = 1
plugin.tt_news.showRelatedNewsByCategory = 1



options.saveDocNew.tt_news = 1
options.saveDocNew.tt_news_cat = 1

#Change or hide the "latestHeader" title
plugin.tt_news._LOCAL_LANG.default.latestHeader =  
# hide the "no news id" message
plugin.tt_news._LOCAL_LANG.default.noNewsIdMsg = The article you are 
looking for has moved or no longer exist.
#Change or hide the "goToArchive" title
plugin.tt_news._LOCAL_LANG.default.goToArchive = More News ->
plugin.tt_news._LOCAL_LANG.default.archiveHeader =  
plugin.tt_news._LOCAL_LANG.default.archiveItems = Articles
plugin.tt_news._LOCAL_LANG.default.textRelated = Relationships:
#This example assumes, that you've installed the extension "Meta tags 
extended" (extKey: metatags). The output of the extension is added to 
the "page" object as "headerData.999" (extension default).

page.headerData.999 {
local >
   local {
     description.data = register:newsSubheader
     keywords.data = register:newsKeywords
   }
}


#Get related content
plugin.tt_news.getRelatedCObject {
   10.default.10.typolink.parameter = {$plugin.tt_news.singlePid}
   10.default.10.typolink.additionalParams.data = register:newsAddParams
}

# Add page browser to multi-page news item in single view
plugin.tt_news {
  appendSViewPBtoContent=1
  general_stdWrap >
   general_stdWrap {
     parseFunc < tt_content.text.20.parseFunc
   }
#automatically display related news that have the same category in 
single view 12/05/2005
# useSPidFromCategory = 1

# enable the use of 'year' and 'month' instead of 'pS', 'pL' and 'arc' 
for archive periods
   useHRDates = 1
   useHRDatesSingle = 1
   useHRDatesSingleWithoutDay = 1

# To change the author from capital to lower or firstcaps you can do 
this as follows were equal can be firstupper, lower or caps:
  displaySingle.author_stdWrap.case = firstupper

#to add or remove the berackets were equal can be (|) or |:
  plugin.tt_news. displaySingle.author_stdWrap.wrap = |

#Pagebreak settings
   pageBreakToken = <break>
   maxWordsInSingleView = 280
   useParagraphAsPagebreak = 1
   subheaderOnAllSViewPages = 0
   appendSViewPBtoContent = 1

# disable the BackPid in links to the single view (for nicer RealUrls)
  dontUseBackPid = 1

displayList {
    subheader_stdWrap.stripHtml = 0
}
   displaySingle {
#    title_stdWrap.wrap =
#    subheader_stdWrap.wrap
   }

pageBrowser {
    maxPages = 10
    showPBrowserText = 0
    tableParams = cellpadding=2
    showResultCount = 0
    pagefloat = 1

   }
}

#=======================================================
#News RSS Feed
#=======================================================
# Setup for RSS2
xmlnews = PAGE
xmlnews {
   typeNum = 100

   10 >
   10 < plugin.tt_news
   10.pid_list >
   10.pid_list = {$plugin.tt_news.pid_list}
   10.singlePid = {$plugin.tt_news.singlePid}
   10.defaultCode = XML
}

#page {
   headerData.500 = TEXT
   headerData.500.value = <link rel="alternate" 
type="application/rss+xml" title="RSS-Feed" 
href="http://www.mydomain.com/index.php?id=6&type=100">
}


Real URL Configuration

[www.domain.com]
[init]
[enableCHashCache]=1
[appendMissingSlash]=ifNotFile
[enableUrlDecodeCache]=0
[enableUrlEncodeCache]=0
[respectSimulateStaticURLs]=1
[redirects]
[preVars]
[0]
[GETvar]=no_cache
[valueMap]
[nc]=1
[noMatch]=bypass
[1]
[GETvar]=L
[valueMap]
[en]=0
[noMatch]=bypass
[pagePath]
[type]=user
[userFunc]=EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main
[spaceCharacter]=-
[languageGetVar]=L
[expireDays]=7
[rootpage_id]=9
[fixedPostVars]
[postVarSets]
[_DEFAULT]
[archive]
[0]
[GETvar]=tx_ttnews[year]
[1]
[GETvar]=tx_ttnews[month]
[valueMap]
[january]=01
[february]=02
[march]=03
[april]=04
[may]=05
[june]=06
[july]=07
[august]=08
[september]=09
[october]=10
[november]=11
[december]=12
[browse]
[0]
[GETvar]=tx_ttnews[pointer]
[select_category]
[0]
[GETvar]=tx_ttnews[cat]
[article]
[0]
[GETvar]=tx_ttnews[tt_news]
[lookUpTable]
[table]=tt_news
[id_field]=uid
[alias_field]=title
[addWhereClause]= AND NOT deleted
[useUniqueCache]=1
[useUniqueCache_conf]
[strtolower]=1
[spaceCharacter]=-
[1]
[GETvar]=tx_ttnews[swords]
[fileName]
[index]
[rss.xml]
[keyValues]
[type]=100
[rss091.xml]
[keyValues]
[type]=101
[rdf.xml]
[keyValues]
[type]=102
[atom.xml]
[keyValues]
[type]=103



More information about the TYPO3-project-tt-news mailing list