Comments (7)
@bmoex Could this issue be reopened?
from my_redirects.
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.
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.
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.
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.
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.
i encounter the same problem - is there any safe way to fix this?
from my_redirects.
Related Issues (20)
- links of extension linkhandler are ignored HOT 2
- Unknown Protocol HOT 1
- Redirects not working if multiple domains are used HOT 1
- TSFE initialisation fails
- Sorting in backend module does not work with v4 HOT 1
- No redirect works with v4 (new and old, even after Upgrade wizard!) HOT 13
- Default status code 301 HOT 2
- Redirect not working after domain-switch
- Editors have no access to redirects HOT 11
- Add import possibility HOT 1
- RealUrl import script does not import anything HOT 1
- Redirects to pages with hidden default language
- No TER release for 4.x HOT 2
- Exception in Backend module ("unserialize() expects parameter 2")
- Redirects doesn't work on a multi root and multi domain setup HOT 6
- Using records as target does not work HOT 1
- my_redirects cannot handle "From" containing UTF-8 characters
- composer.json and/or ext_emconf has wrong version constraints HOT 2
- Too "long" exception codes on 32 bit systems
- Error "File could not be converted to string" when targeting a File
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from my_redirects.