Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration not loaded correctly #688

Open
taherbensassi opened this issue May 20, 2021 · 0 comments
Open

Configuration not loaded correctly #688

taherbensassi opened this issue May 20, 2021 · 0 comments

Comments

@taherbensassi
Copy link

taherbensassi commented May 20, 2021

Hello everyone,
I couldn't find any other idea only to post an issue, I don't know yet if I need to write it here!

  `'init' => array(
                'enableCHashCache' => 1,
                'appendMissingSlash' => 'ifNotFile',
                'enableUrlDecodeCache' => 1,
                'enableUrlEncodeCache' => 1,
                'postVarSet_failureMode' => '',
              ),
              'cache' => array(
                  'ignoredGetParametersRegExp' => '/^(?:fbclid|utm_[a-z]+|pk_campaign|pk_kwd|TSFE_ADMIN_PANEL.*)$/',
              ),
            'redirects' => array(),
            'preVars' => array(
                array(
                    'GETvar' => 'no_cache',
                    'valueMap' => array(
    //                    'nc' => 1,
    //                    'no_cache' => 1,
                    ),
                    'noMatch' => 'bypass',
                ),
                array(
                    'GETvar' => 'L',
                    'valueMap' => array(
                        # 'de' => '0',
                        'en' => '1',
                    ),
                    'valueDefault' => 'de',
                    'noMatch' => 'bypass',
                ),
            ),`
      
   `'normal' => array(
          array(
              'GETvar' => 'tx_prod_detail[action]',
              'noMatch' => 'bypass',
          ),
          array(
              'GETvar' => 'tx_prod_detail[controller]',
              'noMatch' => 'bypass',
          ),
          array(
              'GETvar' => 'tx_prod_detail[prodtype]',
              'noMatch' => 'bypass',
          ),
          array(
              'GETvar' => 'tx_prod_detail[production]',
              'lookUpTable' => array(
                  'table' => 'tx_prod_model_production',
                  'id_field' => 'uid',
                  'alias_field' => "IF (seo_realurl != '', seo_realurl, prod_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,
              ),
          ),
          66 => 'normal',`

I have a project with Typo3 8.7.40 and i am using realurl verion 2.2.1
I have a plugin and a realurlconf file:

My problem is: that the url working fine for some and for some other record the Uid would be shown in the url instead of seo_realurl or prod_title.

So if the page link
exemple/prodTitile
it would be
exemple/202

I couldn’t find why it’s not working or why it’s working for some prod and not others.
Note: in english the page is always working

Is there any why to force this alias_field no matter what, or any hint in my code that could somehow cause this problem!
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant