bootstrap_package icon indicating copy to clipboard operation
bootstrap_package copied to clipboard

Update from 11 to 12 crashes my site to acces denied

Open amr-webdesign opened this issue 3 years ago • 5 comments

Bug Report

Prerequisites

  • [x] Can you reproduce the problem on TYPO3 v10.4 LTS
  • [ ] Can you reproduce the problem on TYPO3 v11.3
  • [ ] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description

[A clear and concise description of what the bug is.]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior

[What you expected to happen]

Actual behavior

[What actually happened]

Screenshots

[If applicable, add screenshots to help explain your problem.]

Versions

You can get this information from executing composer show at the command line if your TYPO3 installation is composer based, otherwise the version number will be shown in the extension manager.

amr-webdesign avatar Dec 18 '21 08:12 amr-webdesign

Using 10.4 with BP 11.03 at update to 12 the site crash with acces denied - not possible to reach ext_manager or anything in the backend. using sitepackage builder theme for BP10 depends = bootstrap_package 10.0.0-12.9.99 Only deleting BP Package and install old makes the site run again

amr-webdesign avatar Dec 18 '21 09:12 amr-webdesign

You should check your logs to get more information. The Sitepackage needs some smaller changes like an adaption of the inlcude path in the theme.scss.

gilbertsoft avatar Jan 09 '22 21:01 gilbertsoft

I'm facing the same problem (Typo3 10.4.9 + BP 11.0.2). I have nothing in my logs, but this might be because I'm using a docker container.

If some changes have to be done, is there a migration guide to upgrade BP from 11 to 12 ? Or is there a list of the changes we should apply ?

edit: I found that the "Access denied" message come from the first line in some php files :

defined('TYPO3') or die('Access denied.');

In the previous version, the test was defined('TYPO3_MODE'). Is BP 12 compatible with Typo3 10.4 ?

sebdavid avatar Mar 03 '22 12:03 sebdavid

Seeing same problem on clean build of 10.4.9 + BP 11.0.3

dwangove avatar Mar 23 '22 17:03 dwangove

I don't know what ever ist the ground to give a theme or extention porgramming a :(die) function so that it is not possible to check errors by TYPO3 system debbugging, sorry that ist crazy!

amr-webdesign avatar Mar 23 '22 19:03 amr-webdesign

I just had exactly the same problem. Despite the claims bootstrap_package 12 is definitely not compatible with all typo3 10 versions.

The TYPO3 constant was introduced somewhere along the way during an 10.4.x release. I could not exactly identify which one, but updating to a later 10.4 release fixes the problem.

Jaykju avatar Feb 03 '23 11:02 Jaykju