Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend-Login Problem #98

Closed
hoezaykut opened this issue Oct 5, 2018 · 6 comments
Closed

Backend-Login Problem #98

hoezaykut opened this issue Oct 5, 2018 · 6 comments

Comments

@hoezaykut
Copy link

@hoezaykut hoezaykut commented Oct 5, 2018

Bug Report

Current Behavior
After install the extension an clear the caches in Backend - im make a reload of the backend and become
this message:

Oops, an error occurred!
Call to a member function getPackagePath() on null

Expected behavior/output
i want to see what happens after install in the backend - a new module or whatever
later,
--- i want to login in the backend --- but its not possible.

Environment

  • TYPO3 version(s): [8.7.19]
  • staticfilecache version: [6.1.0]
  • Is your TYPO3 installation set up with Composer (Composer Mode): [no]
  • PHP Version 7.2.4 - Linux ( PHP 7.2-latest FPM )
  • OPcache 64MB
  • APCu 16MB
  • APCu cache backend [Active] (...and in specific Server-Details because APCu and OPcache i have datas in the AdditionalConfiguration.php

Possible Solution

i have cleared all database caches, droped ols database caches and in the typo3temp -Folder
and the OPcache and APCu in additional
---- without success -----

Additional context
... they want the getPackagePath() i searched by [BE][lockRootPath] in install tool, but i didnt make entries of a path ...

@lochmueller

This comment has been minimized.

Copy link
Owner

@lochmueller lochmueller commented Oct 5, 2018

Could you send me the line of the problem and a function call graph? There are many getPackagePath() calls in the core and NO getPackagePath call in the staticfilecache extension. Without more detail information I cannot fix this problem. At the moment I think it is a regression with some other extension?!

Regards,
Tim

@lochmueller

This comment has been minimized.

Copy link
Owner

@lochmueller lochmueller commented Oct 5, 2018

PS: Please enable your debugging in TYPO3 so you get more information than the default "Oops, an error occurred!" message

@hoezaykut

This comment has been minimized.

Copy link
Author

@hoezaykut hoezaykut commented Oct 5, 2018

Error-Static-file-Cache_5.10.2018.pdf

Hello Tim,

now, i go to the info-module in the backend (without reload th page) an see this:

Uncaught TYPO3 Exception
Call to a member function getPackagePath() on null

My Extensions are: t3sbootstrap , ws_flexslider, cookies , dyncss, dyncss_scss, gridelements , ke_search ,
metaseo, powermail , realurl, rte_ckeditor , rte_ckeditor_fontawesome

Error thrown in file
/html/typo3/typo3_src-8.7.19/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php in line 136.

@hoezaykut

This comment has been minimized.

Copy link
Author

@hoezaykut hoezaykut commented Oct 5, 2018

Core: Error handler (BE): PHP Warning: Use of undefined constant TYPO3_cliMode - assumed 'TYPO3_cliMode' (this will throw an Error in a future version of PHP) in /html/typo3/typo3conf/ext/dyncss/Classes/Service/DyncssService.php line 47

This is another Extension - and produced maybee a conflict .

This Error of DyncssService.php line 47 is fixed
-> kaystrobach/TYPO3.dyncss@92ecd90

... but after calling the Info-Modul the error comes again

@hoezaykut

This comment has been minimized.

Copy link
Author

@hoezaykut hoezaykut commented Oct 5, 2018

Problem solved

Oh my God i forget to rename thr main extension-Folder from Staticfilecache-master to Staticfilecache

... but good to handle the other bug.

@lochmueller

This comment has been minimized.

Copy link
Owner

@lochmueller lochmueller commented Oct 5, 2018

OK. I will close this issue. One more hint: Since TYPO3 7.x composer is recommended to manage the TYPO3 installations. I suggest to switch to composer... ;)

@lochmueller lochmueller closed this Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.