Results 1 to 19 of 19

Thread: Can't uninstall "Package manager" as the link is missing

  1. #1
    User
    Join Date
    04-01-10.
    Posts
    289

    Frage Can't uninstall "Package manager" as the link is missing

    Hello,

    I've installed Package manager in Contao 3.5.8 but I would like to go back to the 'old' ER. But the link "Go back to the old client' is missing in Package management. I only got : Upadte Composer, Clear composer cache and Experts mode.

    What can I do ?

    Thanks.

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Hm, indeed. I have created an issue here: https://github.com/contao-community-...ent/issues/286

  3. #3
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    Ok. Thanks.

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    See http://de.contaowiki.org/Composer/Client#Deinstallation

    It's in German, though. Do you understand or should I translate it?
    Contao Community Moderator
    → Support options

  5. #5
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    I've understood but there is a problem : when I save settings just after checking !composer and unchecking repository, I got a blank page. No way to go back. And blank page too for ~/contao/install.php.

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Hi,

    enable the error output by adding
    PHP Code:
    $GLOBALS['TL_CONFIG']['displayErrors'] = true
    to your "system/config/localconfig.php"
    Contao Community Moderator
    → Support options

  7. #7
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    More strange :
    ~/website : blank page - no error displayed
    ~/website/contao/ : blank page - no error displayed
    ~/website/contao/install.php : blank page - no error displayed

  8. #8
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Okay. What about the error log file "system/logs/error.log"? Is there an entry regarding your last change?

    You can also check both the folders directly via FTP:
    • system/modules/!composer: there should be a file ".skip"
    • system/modules/repository: there should be no ".skip" file
    Contao Community Moderator
    → Support options

  9. #9
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    Quote Originally Posted by xchs View Post
    Okay. What about the error log file "system/logs/error.log"? Is there an entry regarding your last change?
    Code:
    [24-Mar-2016 23:06:02 Europe/Paris] PHP Fatal error:  Class 'ContaoCommunityAlliance\Contao\EventDispatcher\Event\CreateEventDispatcherEvent' not found in /Users/pro/CLIENTS/LES NOUVELLES HYBRIDES/sites/lnh3dev2-test/system/modules/syncCto/config/config.php on line 70
    Line 70 is :
    PHP Code:
    $GLOBALS['TL_EVENTS'][\ContaoCommunityAlliance\Contao\EventDispatcher\Event\CreateEventDispatcherEvent::NAME][] = 'SyncCtoSubscriber::registerEvents'
    You can also check both the folders directly via FTP:
    • system/modules/!composer: there should be a file ".skip"
    • system/modules/repository: there should be no ".skip" file
    Both ok

  10. #10
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Try to add a new file ".skip" in the "system/modules/syncCto" extension folder. Do you still get the blank page then?
    Contao Community Moderator
    → Support options

  11. #11
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    Still blank.

    To test, I moved the .skip file from !composer/ to repository/ and the site is accessible again.

  12. #12
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Yeah, there may be other resources that trigger an error.

    However, I still wonder why you get a blank page at all, although you have enabled the error output in the localconfig file.
    Contao Community Moderator
    → Support options

  13. #13
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    That can't really work, can it? If you disable the composer client you also disable the autoload.php which will result in the errors described by him.

    I think you actually need to disable all extensions, except the core ones - or use the coreOnlyMode.

  14. #14
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    imho this is the correct way:
    1. Remove all installed packages in the package manager and run a package update1 2 3
    2. Delete /system/modules/!composer and /composer
    3. Enable the Extension Repository module in the system settings
    4. Reinstall all (available) Extensions via the Extension Repository
    1 Don't do a database update afterwards - or at least don't drop any tables (yet)
    2 If you are not able to access the package manager anymore, you need to delete or disable all extensions manually
    3 This step is needed to avoid any problems with loaded extensions that depend on autoloaded classes after you disable the composer client and to avoid any problems with extensions, that are only available via composer

  15. #15
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Quote Originally Posted by Spooky View Post
    That can't really work, can it?
    Idk. Anyway, that was exactly what the core developer has recommended some time ago. See https://community.contao.org/de/show...l=1#post347266

    And there you will find also an answer for your current ticket: https://github.com/contao-community-...ent/issues/286

    Wir werden die Option "zur alten Erweiterungsverwaltung zurück kehren" wird ohnehin entfernt.
    Warum? Weil diese Option nur funktioniert, wenn Composer auch richtig funktioniert. Und in der Regel will man ja zurück, wenn Composer nicht funktioniert.
    Contao Community Moderator
    → Support options

  16. #16
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    Added my 2 cents there as well

  17. #17
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    Ok. So If I understand well, the function was removed as it was not working so well as said here: https://github.com/contao-community-...ent/issues/232

    So I'll try manually.

    Thanks for your help.

  18. #18
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    I have added a proper Wiki entry here: https://github.com/contao-community-...ki/Switch-back

  19. #19
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    *thumbsup*
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •