Giter Site home page Giter Site logo

Comments (7)

stigfaerch avatar stigfaerch commented on June 15, 2024 2

@bmoex Could this issue be reopened?

from my_redirects.

runningnet avatar runningnet commented on June 15, 2024 1

Hi,
An update to my tests.
I changed that Function to that and now it works

/**
* @param integer $pageId
* @return \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController
*/
protected function getTypoScriptFrontendController($pageId = 0)
{
// Check if GLOBALS['TSFE'] is initiated correctly
$tmp=$GLOBALS['TYPO3_CONF_VARS']["FE"]["pageNotFound_handling"];
unset($GLOBALS['TYPO3_CONF_VARS']["FE"]["pageNotFound_handling"]);
EidUtility::initializeTypoScriptFrontendController($pageId);
$GLOBALS['TYPO3_CONF_VARS']["FE"]["pageNotFound_handling"]=$tmp;

    return $GLOBALS['TSFE'];
} 

I think there is a problem at the initfunctions

from my_redirects.

bmoex avatar bmoex commented on June 15, 2024

Hi @runningnet,

Just installed ext:pagenotfoundhandling and it seems like its working as intended, so I cannot reproduce your issue.
Can you please share your configuration?

Kind regards,

Benjamin Serfhos

from my_redirects.

runningnet avatar runningnet commented on June 15, 2024

Hi and sorry for delay,
I try to reproduce this without pagenotfoundhandling.

If I add a File to the [FE][pageNotFound_handling] parameter the redirect work anymore.
I use: READFILE:PAth/to/the/file

If I change the value from [FE][pageNotFound_handling] to empty the redirect work very well.

I use Real Url 2.2.1 and Typo3 7.6.18

Cheers Oliver

from my_redirects.

bmoex avatar bmoex commented on June 15, 2024

Hi @runningnet,

I just checked and I can only reproduce this with an invalid page destination. So a redirect that goes to a page that is hidden/deleted.

Can you try the referenced Pull Request locally if this solves your problem too? (https://github.com/koninklijke-collective/my_redirects/pull/47/files)
Thanks in advance!

Kind regards,

Benjamin Serfhos

from my_redirects.

stigfaerch avatar stigfaerch commented on June 15, 2024

I tried master (6043193), but it did not resolve this problem for me.
But modifications by @runningnet in \KoninklijkeCollective\MyRedirects\Service\RedirectService::getTypoScriptFrontendController
proves to work.
This is on a TYPO3 CMS 8 multisite solution.
@bmoex I hope for this to be opened again - unless this can be solved in some other way?

Update 8. feb. 2018 Suddenly this fix stopped working, - I don't know why?!

from my_redirects.

nabossha avatar nabossha commented on June 15, 2024

i encounter the same problem - is there any safe way to fix this?

from my_redirects.

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.