GithubHelp home page GithubHelp logo

Shortcut leads to 404 about typo3-realurl HOT 18 CLOSED

dmitryd avatar dmitryd commented on June 3, 2024
Shortcut leads to 404

from typo3-realurl.

Comments (18)

markuskappe avatar markuskappe commented on June 3, 2024

Complete 404 message:
Reason: Segment "mypagename" was not a keyword for a postVarSet as expected on page with id=1.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

I cannot reproduce it. Please, post your config.

from typo3-realurl.

markuskappe avatar markuskappe commented on June 3, 2024

unserialized it for readability; generated by autoconf feature

array (
  '_DEFAULT' => 
  array (
    'init' => 
    array (
      'appendMissingSlash' => 'ifNotFile,redirect',
      'emptyUrlReturnValue' => '/',
    ),
    'pagePath' => 
    array (
      'rootpage_id' => '1',
    ),
    'fileName' => 
    array (
      'defaultToHTMLsuffixOnPrev' => 0,
      'acceptHTMLsuffix' => 1,
      'index' => 
      array (
        'print' => 
        array (
          'keyValues' => 
          array (
            'type' => 98,
          ),
        ),
      ),
    ),
    'postVarSets' => 
    array (
      '_DEFAULT' => 
      array (
        'news' => 
        array (
          0 => 
          array (
            'GETvar' => 'tx_news_pi1[news]',
            'lookUpTable' => 
            array (
              'table' => 'tx_news_domain_model_news',
              'id_field' => 'uid',
              'alias_field' => 'title',
              'useUniqueCache' => 1,
              'useUniqueCache_conf' => 
              array (
                'strtolower' => 1,
                'spaceCharacter' => '-',
              ),
            ),
          ),
        ),
      ),
    ),
  ),
)

from typo3-realurl.

 avatar commented on June 3, 2024

same problem here, I enabled automatic configuration.

from typo3-realurl.

 avatar commented on June 3, 2024

I get the same error msg with disabled pages in the rootline . I have a fresh Typo3 6.2.19 website with no own realurl configuration, just auto config.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

Disabled pages in the rootline usually break the rootline and does not allow browsing.

from typo3-realurl.

jdequeant avatar jdequeant commented on June 3, 2024

Same problem only when I'm logged in backend (works perfectly when not logged in), no page disabled in the rootline.

I use TYPO3 7.6.4

from typo3-realurl.

Kephson avatar Kephson commented on June 3, 2024

Same problem for me only when I'm logged in in TYPO3 backend and it works when I'm not logged in.
TYPO3 7.6.4
I will try to find out, what's the problem and give you feedback.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

Yes, reproduced. Going to fix.

from typo3-realurl.

Kephson avatar Kephson commented on June 3, 2024

Thanks a lot for your realurl update! Coding is really clean to understand now ;-).
\DmitryDulepov\Realurl\Utility->getCache() produces the problem, I think you still found out the problem.
Why is the cache initialized as NullCache when backend user is logged in? Is there a strange behaviour or problems?

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

Cache must be null when the BE user is logged in because BE user can see some pages that normal visitors cannot see (for example, hidden pages). If it is not null, cache may get wrong entries.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

Those, who want to help with testing, try this branch: https://github.com/dmitryd/typo3-realurl/tree/feature/bug_42

You will need to clear both path cache and url cache. Sorry about that. Alternatively delete cache entries for shortcut page (source).

To clear caches using sql:

truncate tx_realurl_urlcache;
truncate tx_realurl_pathcache;

from typo3-realurl.

Kephson avatar Kephson commented on June 3, 2024

Hi Dmitry,
thanks for the fast update! I tested your branch with the fix and for me it's working like expected.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

Okay, good. Let's see if works for somebody else too. If yes, I will merge it.

from typo3-realurl.

jdequeant avatar jdequeant commented on June 3, 2024

Works for me !! Thanks for all your hard work.

from typo3-realurl.

dmitryd avatar dmitryd commented on June 3, 2024

You can now update to release 2.0.3, which contains the fix.

from typo3-realurl.

stekna avatar stekna commented on June 3, 2024

i still get this error with fresh installed realurl 2.0.10 (typo3 is on 7.6.4).
e.g. error on "normal page"

- shortcut-page
-- sub-shortcut-page
--- normal page (error)

e.g. no error on "normal page"

- shortcut-page
-- normal page (no error)

from typo3-realurl.

ogrosko avatar ogrosko commented on June 3, 2024

Can confirm
Same problem at typo3 v7.6.6 and realurl v2.0.14

from typo3-realurl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.