Comments (14)
Please add same more information (TYPO3 Version, autoloader version). Are you in non-composer mode in TYPO3 > 7.x? Than you have to drop typo3temp/autoload/ if you change the class structure.
from autoloader.
I am using Typo3 7 LTS (7.6.0) installed via composer. Autoloader is 1.11.1.
I still am in composer mode.
Thank you
from autoloader.
Do you try to remove the folder (typo3temp/autoload/) or run the CLI for the dumpClassLoader? The ohmex example extension seems to be right...
from autoloader.
there is no typo3temp/autoload, but I deleted the hole directory and it didn't work. How do I call the dumpClassLoader?
Here a Screenshot of the error attached. It happens right after I install this extension and I have to deactivate it manually in PackageStates.php to get Typo3 working again.
from autoloader.
I did a fresh install of typo3 with this composer.json
{
"repositories": [
{ "type": "composer", "url": "http://composer.typo3.org/" }
],
"name": "typo3/cms-base-distribution",
"description" : "TYPO3 CMS Base Distribution",
"license": "GPL-2.0+",
"require": {
"typo3/cms": "7.6.",
"typo3-ter/autoloader": "1.",
"helhum/typo3-console": "1.2."
},
"require-dev": {
"mikey179/vfsStream": "1.4.@dev",
"phpunit/phpunit": "~4.7.0"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": "web"
}
}
}
But I still have this problem
from autoloader.
if I try to use the console after installing, I get the following error:
$ ./typo3cms help
Uncaught Exception in TYPO3 CMS Class OH\Ohmex\Controller\FirstController does not exist
thrown in file ext/autoloader/Classes/Utility/ReflectionUtility.php
in line 30
#0 Helhum\Typo3Console\Error\ExceptionHandler::handleException()
from autoloader.
Here is the typo3 Exception:
TYPO3 Exception.pdf
from autoloader.
I will check this in a composer env in the next days. It is a error of the Class autoloading mechanism (not the autoloader extension), because the structure of the folder, files and classnames in the dummy extension is right.
from autoloader.
Hey @fduarte42
I install your extension and cannot reproduce the error!?! I think it is a SPL autoload problem in your instance (not related to the autoloader).
Autoloader generate the language file and the plugins are selectable in the backend:
from autoloader.
I'm using php 5.5. Which version did you use? I just don't understand, why you extension is working without changing the namespaces. But as soon es I rename the extension and change the namespaces it doesn't work. Any Idea?
from autoloader.
Do you use any OPcaches (e.g. http://php.net/manual/de/book.opcache.php), that cache the classes? in my t.6 test env I also use PHP 5.5 without any problems...
from autoloader.
On typo3 6.2 LTS the extension is working without problems. I use APCu as a Cache.
from autoloader.
Hey @fduarte42
any news for this topic? Do you invest same time in debugging?
Regards,
Tim
from autoloader.
I close this issue, because there are no news or debugging information.
from autoloader.
Related Issues (20)
- Documentation Cleanups HOT 3
- PHP 8.0 Warnings HOT 1
- Extension key missing in composer.json HOT 4
- $GLOBALS array cannot be passed by reference since PHP 8.1 HOT 2
- New Installation runs into many errors HOT 4
- Error after update to TYPO3 10 in autoloader 7.3.5 HOT 1
- PHP version constraint in ext_emconf.php doesn't match version constraint in composer.json HOT 1
- ContentObjects not working in Typo3 v11 HOT 1
- Check Broken Extension HOT 8
- Undefined array key "columns" in Classes/Service/SmartObjectInformationService.php line 147 HOT 1
- TypeError when dataProcessing is added to ContentObject settings HOT 3
- Input fields of content elements not visible HOT 5
- The latest version 7.3.8 is available via Composer, but not via Extension Manager HOT 1
- PHP Warning "Undefined array key AUTOLOADER" in Extension Manager with PHP 8.1
- "Undefined array key" on composer install (TYPO3 11, PHP 8.0) HOT 1
- TYPO3_MODE should not be used in ext_tables.php and ext_localconf.php, use defined('TYPO3') or die(); HOT 1
- t3ver_label not supported any more
- Problems with FlexForms for ContentObjects HOT 2
- typo3 12 support HOT 4
- php 8 attributes instead of annotations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoloader.