Coder Social home page Coder Social logo

Comments (4)

NamelessCoder avatar NamelessCoder commented on June 14, 2024

Needs composer install (this error is raised when the ContentPreview class from this extension cannot be loaded by the composer autoloader) - if you clone the repository into typo3conf/ext manually then you must add class loading information manually, for example in the root composer.json of the site:

{
    "require": {
        "typo3/cms": "^7.6",
        "namelesscoder/inline-page-editing": "^1.0"
    },
    "autoload": {
        "psr-4": {
            "NamelessCoder\\InlinePageEditing\\": "typo3conf/ext/inline_page_editing/Classes/"
        }
    }
}

(and then composer dump-autoload).

You are correct about the version. Forgot to increment it in ext_emconf.php - will fix.

from inline_page_editing.

 avatar commented on June 14, 2024

Didn't do it manually; did a composer require namelesscoder/inline-page-editing and then activated extension in TYPO3 via Extension Manager. I have the require line in composer.json, but the autoload line wasn't added... why not?

from inline_page_editing.

NamelessCoder avatar NamelessCoder commented on June 14, 2024

I have only been able to reproduce this one on sites where the files were manually uploaded and composer install or composer dump-autoload was not executed. I have checked this on a case insensitive file system as well, so it doesn't seem to be the class loader either. Are you sure this one is an issue? Could there be external causes why the class loading might fail (symlink structure, location of composer relative to project, changed vendor-dir, other...?)

I have the require line in composer.json, but the autoload line wasn't added... why not?

It is only needed when you install the extension manually and it will never be added automatically, so that's as expected.

from inline_page_editing.

NamelessCoder avatar NamelessCoder commented on June 14, 2024

Could not reproduce and no other users report the problem - taking the liberty of closing this and assuming it was caused by class loader caches or other installation-related issues.

from inline_page_editing.

Related Issues (4)

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.