Git Product home page Git Product logo

Comments (14)

lochmueller avatar lochmueller commented on June 17, 2024

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.

fduarte42 avatar fduarte42 commented on June 17, 2024

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.

lochmueller avatar lochmueller commented on June 17, 2024

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.

fduarte42 avatar fduarte42 commented on June 17, 2024

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.
bildschirmfoto 2015-12-02 um 14 08 48

from autoloader.

fduarte42 avatar fduarte42 commented on June 17, 2024

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.

fduarte42 avatar fduarte42 commented on June 17, 2024

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.

fduarte42 avatar fduarte42 commented on June 17, 2024

Here is the typo3 Exception:
TYPO3 Exception.pdf

from autoloader.

lochmueller avatar lochmueller commented on June 17, 2024

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.

lochmueller avatar lochmueller commented on June 17, 2024

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:
bildschirmfoto 2015-12-02 um 19 40 43

from autoloader.

fduarte42 avatar fduarte42 commented on June 17, 2024

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.

lochmueller avatar lochmueller commented on June 17, 2024

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.

fduarte42 avatar fduarte42 commented on June 17, 2024

On typo3 6.2 LTS the extension is working without problems. I use APCu as a Cache.

from autoloader.

lochmueller avatar lochmueller commented on June 17, 2024

Hey @fduarte42
any news for this topic? Do you invest same time in debugging?
Regards,
Tim

from autoloader.

lochmueller avatar lochmueller commented on June 17, 2024

I close this issue, because there are no news or debugging information.

from autoloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.