Realurl Extension Error Typo3 Update 4.5 to 6.2 - typo3

I've updated a typo3 website from 4.5 to 6.2.9. Now the issues with old extensions are fixed. But now I'm facing an issue with real url extension [ver.1.12.8]. If it's disabled the front end is rendered with no issues. When the extension is enabled it shows this error
#1294587214: Configuration Error: 404 page "D:/Xampp/htdocs/project125/404-melding.html" could not be found.
Please help...

It appears, that you have the following value in your LocalConfiguration.php
[FE][pageNotFound_handling] = READFILE:D:/Xampp/htdocs/project125/404-melding.html
With this configuration, TYPO3 handles a pageNotFound event by displaying the content of the file configured (in your case D:/Xampp/htdocs/project125/404-melding.html). When the file can not be found, TYPO3 throws an exception with the code #1294587214.
Try to check, if the configured 404 HTML page exists in your filesystem and if not, create it. For further debugging purposes you could also set pageNotFound_handling to "true" or "1" to show an error message instead of an individual 404-page.
Also make sure you clear all caches and also the RealURL encode/decode cache.

Related

TYPO3 Upgrade vom 11.2.0 to 11.5.0 - Problems with Form Extension and EXT: path in Frontend

I have upgraded a TYPO3 installation from 11.2.0 to the latest version of today 11.5.0.
After changing my symlinks to the new TYPO3 source files, cleaning all caches, performing all upgrade wizards successfully and without errors, I get 2 new error messages that I haven't seen in previous TYPO3 installations. One in the backend and one in the frontend.
Frontend:
503 - Resource paths must start with "EXT:" and must reference Resources/Public
and in the Backend:
503 - TYPO3.CMS.Form.mixins.formElementMixins.FormElementMixin does not exist within the configuration
I am currently finding out the source of the problem. Since Google has no content about these new issues, I thought it would be a good idea to create this thread.
Does anyone have similar problems upgrading to TYPO3 11.5.0?
I found the answer to the frontend error message Resource paths must start with "EXT:" and must reference Resources/Public myself after looking deeper into the error messages.
I included a SASS file for the bootstrap_package like this in my setup:
page{
includeCSS{
custom = EXT:my_package/Resources/Private/Scss/style.scss
}
}
After I changed "Private" to "Public", the error message disappeared.
page{
includeCSS{
custom = EXT:my_package/Resources/Public/Scss/style.scss
}
}
Conclusion: Apparently TYPO3 now makes sure that your resource paths are named the right way and do NOT point to any other directory.

pibase Extension not working after Upgrade to TYPO3 9

I'm currently upgrading an old TYPO3 6.2 Installation to 9.5. I'm also using fluidtypo3 (flux 9.3.2 and fluidpages 5.0.0). There are several pibase Extensions, that I can't get to work. One of them has the following error:
Oops, an error occurred! Code: 20200320122044742c5a45 - {"exception":"TYPO3Fluid\\Fluid\\Core\\ViewHelper\\Exception: No Content Object definition found at TypoScript object path \"tt_content.list.20.edxdownload_pi1\"
Any hints what is causing the error? Did I forget anything to register?
I added the plugin in tt_content.php, registered it in localconf.php
(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43('edx_download','','_pi1','list_type',0);)
and added the config in sys_template.php
(TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('edx_download','Configuration/TypoScript/PluginSettings/', 'Edx Download Settings');)
If I make a new element using the new element wizard, I get the following error in frontend:
Content Element with uid "9887" and type edx_download_pi1 has no rendering definition!
Where do I have to set the rendering definition?
Do pibase extensions still work with TYPO3 9?
Edit:
It's working now. I put the method "addPItoST43" back into "ext_localconf.php" and now the extension is loaded. It says you should put it into "TCA/Overrides/tt_content.php", but that doesn't work for me with TYPO3 9.5.

Typo3 broken: Frontend / Backend blank pages and no errors even after restoring backup

I was fixing things on a not well-maintained typo3 installation and it resulted in blank pages of frontend, backend and install tool.
I wanted to fix extensions because the powermail-extension was not working anymore even after updating to latest compatible version (tried emptying cache and database compare).
I deactivated an extension "compatibility6" to see if it was interfering and since then all pages have been blank including Install Manager. I reactivated the extension via PackageStates.php, emptied the cache but it did not change anything. I was not able to see any error messages even though I set the parameter in LocalConfiguration.php which made it hard to try to find out what is wrong. Then I restored a backup using vmware. Still, backend and frontend are blank.
I am using Apache and Typo3 7.6.23.
I do not know what might be causing the problem and would like to know what else to look for?
It means you have a PHP error there. The first thing would be to examine logs. If you see anything like "class not found", then your next action would be composer dumpautoload --no-dev.
Long time ago I had an article about blank pages in TYPO3 FE. Not up to date but still can be helpful: https://www.dmitry-dulepov.com/2009/03/blank-empty-page-in-typo3.html
Dmitry already wrote it: you have an error.
In production environment nothing is shown for not revealing any information about your system.
So the only information about the error can be found in the error log of your webserver.
What can you do to get more information about your error?
Enter the install tool and switch to develop mode. This will also enable deprecation logging into a file. Try to avoid filling your system with deprecation warnings by disabling deprecation logging.
Disable the default exceptionhandler by adding this to your typoscript setup:
config.contentObjectExceptionHandler = 0
Now you should see a call stack instead of blank screens.
Be aware that this might reveal confidential information from your system.
because of this you should use a copy of the live-system.

After Upgrade from TYPO3 8.7 to 9.5 I cannot edit my records

After updating my TYPO3 to 9.5 LTS from 8.7 LTS, When trying to edit a content element. I have been running all the relevant Update Wizards. I get:
Oops, an error occurred!
Unable to generate a URL for the named route "wizard_element_browser" because this route was not found.
The is also happening when trying to add new content elements.
When I use the Page Module I see the content in the expected columns, and with the correct connect.
The list view is also not working for me after updating..
Formatting the stack trace here, isn't super easy, so added a gist.
https://gist.github.com/tomasnorre/17ea65ed60f6877801e9260ac316d76e
I is some guesswork without a full stack trace.
First some background:
The route that is not found is registered in typo3/sysext/recordlist/Configuration/Backend/Routes.php.
The Backend routes are initialized in the initializeBackendRouter() method in typo3/sysext/core/Classes/Core/Bootstrap.php and they are cached.
So the first explanation would be, that for some reason the configuration file is missing or the recordlist Extension is not loaded / available.
The second explanation would be a caching problem. Please try to clear all caches using the admin tools and clearing typo3temp and var/cache folders.
The third explanation would be some Extension that accesses the route too early in the bootstrap process before the route is registered.
If nothing of this helps, please enable debugging in the admin tools (Settings -> Configuration Presets -> Debug) an uncomment this line in the .htaccess to enable the Development context:
RewriteRule .? - [E=TYPO3_CONTEXT:Development]
You can then post the stacktrace back here and we try to figure out what is happening.

Typo3 cal (calendar Base) extension update error

have just updated typo3 calendar base extension and suddenly the typo3 backend and frontend displays disappeared and all i see is a blank display. This is the exact error I'm getting
... PHP Fatal error: require_once(): Failed opening required '/var/www/html/typo3conf/ext/cal/res/class.tx_cal_isCalNotAllowedToBeCached.php' (include_path='/var/www/html/typo3/contrib/pear/:.:/usr/share/pear:/usr/share/php') in /var/www/html/typo3temp/Cache/Code/cache_core/ext_localconf_6068a12d352941d6e5ee7dd31447d561068faea3.php on line 3617....
how do I clear this to get my typo3 back? I'm using typo3 6.2.12, my efforts of even deleting the cal extension don't work!
thanks in advance
Open the install tool and clear all caches in the "Important Actions" section. It seems there is some old code from before the update still cached. Note the path of the file doing the include, it is in typo3temp/Cache/Code/.