Results 1 to 9 of 9

Thread: Composer

  1. #1
    User
    Join Date
    05-12-14.
    Posts
    72

    Default Composer

    Composer was working the other day, but now when i click on Manage Packages in the BE, all i get is a blank page.
    Anybody any idea as to why this may be and what i need to do to fix it?

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

    Default

    Please enable the option "Display error messages" in the system settings, so that you get the error message on screen.
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    05-12-14.
    Posts
    72

    Default

    I get:
    Fatal error: Call to undefined method Composer\Autoload\ClassLoader::setPsr4() in phar:///var/www/vhosts/n0n.co.uk/httpdocs/n0n.co.uk/contao3/composer/composer.phar/vendor/composer/autoload_real.php on line 36

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

    Default

    Do you meet the Composer specific requirements (PHP 5.3.4 etc.)?
    Contao Community Moderator
    → Support options

  5. #5
    User
    Join Date
    05-12-14.
    Posts
    72

    Default

    Oh yes, it was all working before, then suddenly for some reason stopped. the thing is this has happened on different versions of the website and on different servers. Same problem, go to Manage Packages in BE, result is a blank screen (until i turned on show errors of course).

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

    Default

    If you have shell access you can try as follows:
    Code:
    php composer.phar global dump-autoload
    Contao Community Moderator
    → Support options

  7. #7
    User
    Join Date
    05-12-14.
    Posts
    72

    Default

    Unfortunately no shell access

  8. #8
    User
    Join Date
    05-12-14.
    Posts
    72

    Default

    So no other solution to this?
    Am i going to have to rebuild the site?

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

    Default

    Sorry, no idea then. But you may ask in the IRC channel, too: irc://chat.freenode.net/#contao.composer
    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
  •