pibase Extension not working after Upgrade to TYPO3 9 - typo3

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.

Related

TYPO3 Exception Viewhelpers after upgrade to v11

After I have updated my TYPO3 System to v11.4 and PHP8, I recognized, that all my extensions, which include ViewHelpers are not working anymore. If I call the Backend of these extensions, I got a TYPO3\CMS\Core\Error\Exception:
PHP Warning: Undefined array key "selected" in
C:\inetpub\wwwroot\typo3\sysext\fluid\Classes\ViewHelpers\Be\Menus\ActionMenuItemViewHelper.php
line 116
In the log I got
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295:
PHP Warning: Undefined array key "selected" in
C:\inetpub\wwwroot\typo3\sysext\fluid\Classes\ViewHelpers\Be\Menus\ActionMenuItemViewHelper.php
line 116 | TYPO3\CMS\Core\Error\Exception thrown in file
C:\inetpub\wwwroot\typo3\sysext\core\Classes\Error\ErrorHandler.php in
line 145. Requested URL:
https://test.url.de/typo3/module/tools/TeaserBeteaser?token=--AnonymizedToken--
I have absolute no idea, where the array key selected is coming from!
This has to be something to do with the update, because these extensions were working well.
I'm using Windows and IIS.
Has somebody any idea what has changed or how I can figure out the problem?
I created a bug report at forge for this issue as this is a bug in TYPO3 core.
With PHP8 an exceptions is triggered instead of a notice ([see docs])2.
There are quite a few places which still need to be fixed in TYPO3 Core and extensions. Therefore I propose to use PHP 7.4 and upgrade to PHP8 later.

Flux Error: Invalid configuration: "vendorName" is not set after upgrade to Flux 9.4 and Typo3 9.5

I have to make an update from Typo3 8 to Typo3 9.5 LTS. And i have some trouble with the Flux extension which causes some strange errors. I have used Flux 9.4.2 (latest) and Typo3 LTS (9.5.22). I have used Composer for the new version perhaps that causes the problem.
I have followed all the steps in this tutorial and some others instructions but all of them ends in the same error.
https://sigalambigha.home.blog/2020/04/29/how-to-migrate-fluidcontent-to-flux/
In Backend i get the following error:
And in the Frontend i get this error:
This depends on the Flux element which is on that page the Slider element. The Plug & Play configuration is disabled because of some other errors. Perhaps now i missed something in my configuration but i can't find something in the documentation to configure.
Edit
I have made some more tests an i think the problem is that the newest version of Flux is not really compatible with Typo3 9.5. So i changed to version 9.3.2 which is working better but has other bugs.
Make sure these 3 things in your template provider extension are set correct:
Register the provider extension key using the Vendor.ExtName syntax, not ext_name. Here is an example:
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('Nng.MyExtname', 'Page');
\FluidTYPO3\Flux\Core::registerProviderExtensionKey('Nng.MyExtname', 'Content');
Place the above code in the ext_localconf.php of your extension, not the ext_tables.php. You can find this hint hidden in the documentation.
In older versions of FLUX you might also need to create a ClassAliasMap in EXT:myextensionkey/Migrations/Code/ClassAliasMap.php. Here is a simple example.
Did you try to set a small condition for the used parameter if it's null? that maybe can give an error message instead of the error in the page.
Or you should see if there's any error in the namespace
After upgrading Flux to Typo3 9.5 then you have to register "VendorName" with your content element using Typoscript like i did below.
tt_content {
mytemplate_wrapelement.20.vendorName = <vendorname>
}
here mytemplate is my template provider extension.
Wrapelement is the content element.
I was getting same error.

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/.

The page is not configured! [type= 0][]

I've migrated from typo3 4.1 to 4.5 LTS now I got this error.
The page is not configured! [type= 0][]
I've checked DB analyser and fixed the table issues any ideas. Please revert
Apparently TYPO3 can't find TypoScript use Web > Template tool and check if record exists, also if it includes TS from external files, make sure the files exists.

Realurl Extension Error Typo3 Update 4.5 to 6.2

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.