0
votes

i got a problem. I am using tx_news (1.13.3) together with realURL. For some reason the searchform and datemenu don't work together with realURL. Searchform doesn't work at all = getting 404 when submitting search request. And Datemenu lists all months but when i click on a month to get the listview i get a 404. The items "listview" and "detailview" are working fine. Additionally I ve set up a local test-enviroment with the same typo3 installation but deactivated realURL and for some reason it worked fine (listview from the datemenu AND searchform). Does anybody know whats wrong and/or missing in the realURL config to get this also working with realURL?? TIA for your time.

This is my realURL config for tx_news:

        // EXT:news start
        'news' => array(
            array(
                'GETvar' => 'tx_news_pi1[action]',
            ),
            array(
                'GETvar' => 'tx_news_pi1[controller]',
            ),
            array(
                'GETvar' => 'tx_news_pi1[news]',
                'lookUpTable' => array(
                    'table' => 'tx_news_domain_model_news',
                    'id_field' => 'uid',
                    'alias_field' => 'title',
                    'addWhereClause' => ' AND NOT deleted',
                    'useUniqueCache' => 1,
                    'useUniqueCache_conf' => array(
                        'strtolower' => 1,
                        'spaceCharacter' => '-',
                    ),
                    'languageGetVar' => 'L',
                    'languageExceptionUids' => '',
                    'languageField' => 'sys_language_uid',
                    'transOrigPointerField' => 'l10n_parent',
                    'autoUpdate' => 1,
                    'expireDays' => 180,
                ),
            ),
        ),
        // EXT:news end
1
Can you post the html from the searchform? When I watch at my searchform I see that post-method is used. So realURl have nothing to do with it. + Can you reporduce the error on your test-enviroment when realURL is enabled?nbar
I ve deactivated realURL in my production-enviroment and now searchform + datemenu->listview are working fine. So the problem is with realURL, but i can not figure out what s missing exactly..d4ny3l
can you post the URL with and without realURL`?nbar
With realURL(leads to 404): info.local.dev/alle-nachrichten/hs/… without realURL(works fine): info.local.dev/…d4ny3l
Hmm I think there is a problem with the cHash. the cHash gets into your URL as hs. Search in your realURL config for something like 'hs' => array( and remove that for testing.nbar

1 Answers

1
votes

according to your comment you created a realURL config for the cHash 'hs' => array(.

remove that array and it should work.