I installed two new extensions (formhandler & dix_urltool) in a new typo3 6.2.6 install. But in the backend when I click on the extension I'm getting an typo3 page error with the message "Page Not Found Reason: File "index.php" was not found (2)!"
Are these extensions need some manual setting up?
Related
Here is what I did:
Downloaded zip TYPO3 11.3.0 from https://get.typo3.org/version/11
Unzip into /subfolder
touch FIRST_INSTALL
Followed instructions of the setup wizard with new database
Try to login via /subfolder/typo3/ and enter credentials
/subfolder/typo3/login?loginProvider=... leads to a 404
What I already checked:
typo3temp/var/log/typo3_[...].log is empty
MAMP logs don't show anything suspicious
Install Tool Environment Status shows a weird error:
http://localhost:8888/subfolder/typo3temp/assets/e35bd633.tmp/e77fab4e.php.wrong: unexpected content PHP content
Install Tool Directory Status is all green
Original .htaccess file exists
Created typo3conf/sites/mysite/config.yaml by copying from an existing (working) project, TYPO3 10
Of course, before I created the site configuration YAML, /subfolder/typo3/login?loginProvider=... was leading to a "no site config" error.
Now, it feels like there is a problem with the .htaccess, but I can't pinpoint where.
Running Apache / PHP 7.4.12
You have to make sure to use the proper .htaccess configuration for CMS 11, so you can't just resue the one provided with CMS 10.
Have a look at this documentation of the related breaking change in TYPO3 CMS 11
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-93048-BackendURLRewrites.html
I tried to install the introduction package in Typo3 cms.
But I receive the following error:
Service Unavailable (503) No TypoScript template found!
You might need to include the package into your core template in Typo3.
Whenever you are using a new package/extension which having template files, you are needed to added those in your root template.
Go to Template Menu in the typo3 backend
Select the root page from the treelist on the left side panel (it might be Congratulations).
Choose the info/modify from the top list
click on Edit the whole template record button.
Choose the includeTab
Add the package related to it.
I installed a copy of a TYPO3 project. So, I'm using an existing TYPO3 database.
When running the home page of the site, I get the 'standard error':
Service Unavailable (503)
The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured.
More information regarding this error might be available online.
which refers to following site: https://wiki.typo3.org/Exception/CMS/1294587217
But when I modify the setup of the template of the root as given in the link. I get an empty page with "HELLO WORLD" and the whole website is gone.
The old root setup code was:
config.contentObjectExceptionHandler = 0
page.meta.description.data = page:description
page.meta.keywords.data = page:keywords
How can I solve this problem without losing the rest of the website? Using TYPO3 8.7
Addition to the db install I also copied the extension folders to the typo3conf/ext folder and edited the PackageStates.php with the path to the extensions.
I see the extensions in the extensions tab the status is 'local'.
1st: make sure you have the correct configuration of all domains (as it is a copy it can not run with the same domain, otherwise you will switch between servers unpredictably.
2nd: enter list mode and look for multiple template records in your web root page. Multiple records will result in ignoring all but one record. maybe you just edit the wrong one. Normally the content is not lost but only inaccessible for the moment.
3rd: have you activated all the extensions which are active in the source installation? especially any site extension, which probably include the configuration for the TypoScript page object.
4th: you can use the TSOB (TypoScript Object Browser) and the template analyzer to view the active or resulting typoscript.
I have a problem with the extension alm_iconpicker. This creates a new content element with a popup window and some Javascript. I deleted the typo3temp folder, and now I get a 404 of a merged js-file:
/typo3/typo3temp/assets/compressed/merged-adc822bc42f4d0d49c1bddf919a03b2a.js
I uninstall the extension and install it again, I clear all caches from TYPO3 but this file doesn't be created new. In earlier versions of TYPO3 I could say, no concatenates in the backend. But in 8.7 I don't find this option. Also I change the Mode to develope but still the same error. I search in the Database for the file, but I don't find it.
What can I do?
I want to include PHP code in my TYPO3, I found php_page_content, I installed the extension that I found here .
The installation went fine, no error, then I cleared my cache.
After addind a PHP content in my page
Then I got a fatal error saying :
PHP Fatal error: require_once(): Failed opening required
'/var/www/clevvermail/typo3/sysext/cms/tslib/class.tslib_pibase.php'
(include_path='/var/www/my_typo3/typo3/contrib/pear/:.:/usr/share/php')
in
/var/www/my_typo3/typo3conf/ext/page_php_content/pi1/class.tx_pagephpcontent_pi1.php
on line 30
I checked and I found no class.tslib_pibase.php in my TYPO3!!! How can I manage this ?
PS: I tried to use the extension Page PHP Content Element but it didn't work for me, I install and I find no PHP script in the content list to include.
You can find the solution here
In your class.tx_pagephpcontent_pi1.php on line 30
You can replace this
require_once(PATH_tslib . 'class.tslib_pibase.php');
By
if (!class_exists('tslib_pibase')) require_once(PATH_tslib . 'class.tslib_pibase.php');
This works for both Typo3 4.x and 6.2
I think that the extension is outdated and no compatible with TYPO3 6.2.
It gives no error just because in the file ext_emconf.php there is no constraint about the CMS version (!)
About the other extension you cited: I was able to make it work with these steps (TYPO3 6.2.30:
Install Extension
TS Setup > edit whole template record > include static from extension > include "Page PHP Content Element
(pe_pagephpcontentelement)"
Create a Sysfolder (like "phpscripts")
go to "phpscripts" > list view > create new > "Page PHP Content Element > P H P Content"
insert some code (like the one you provided) and save
go to a page > create new content element > tab "Plugins > "General
plugin"
After you insert the element, edit it, tab "Plugin" > from the
"selected plugin" dropdown, select "Page PHP content"
Tab Behavior > Record storage page > select the sysfolder
"phpscripts"
Save and preview
I am sorry, but I was not able to figure out how to select a single record from the sysfolder :(
You can install the extension migration_core or the extension compatibility6.
migration_core contains a Migrations/Code/ folder with class alias mappers. Every reference to the class "tslib_pibase" will be automatically referred to "\TYPO3\CMS\Frontend\Plugin\AbstractPlugin::class". It is sufficient to have it installed. However compatibility6 is not recommended, because it also contains other changes which have drawbacks.
If you still have the same error message, then open the TYPO3 Install Tool first tab "Important actions".
Dump Autoload Information
[Create autoload information for extensions]
This (re-)dumps autoload information for all active third party extensions.