Giter Site home page Giter Site logo

Contao Webinstaller about standard-edition HOT 5 CLOSED

contao avatar contao commented on May 24, 2024
Contao Webinstaller

from standard-edition.

Comments (5)

Zeromax avatar Zeromax commented on May 24, 2024

So I tried the following:
Copy app\config\parameters.yml.dist to app\config\parameters.yml

Then I get the "Installation Incomplete screen".
When I try to call "/contao/install" I get the "Installation Incomplete screen" as well.

from standard-edition.

Zeromax avatar Zeromax commented on May 24, 2024

Here is the stack trace from the dev mode and the incomplete exception:

[1] Contao\CoreBundle\Exception\InternalServerErrorHttpException: The installation has not been completed. Open the Contao install tool to continue.
    at n/a
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\EventListener\ExceptionConverterListener.php line 81

    at Contao\CoreBundle\EventListener\ExceptionConverterListener->convertToHttpException(object(IncompleteInstallationException), 'InternalServerErrorHttpException')
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\EventListener\ExceptionConverterListener.php line 58

    at Contao\CoreBundle\EventListener\ExceptionConverterListener->onKernelException(object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
        in  line 

    at call_user_func(array(object(ExceptionConverterListener), 'onKernelException'), object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php line 61

    at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseForExceptionEvent), 'kernel.exception', object(ContainerAwareEventDispatcher))
        in  line 

    at call_user_func(object(WrappedListener), object(GetResponseForExceptionEvent), 'kernel.exception', object(ContainerAwareEventDispatcher))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 164

    at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(GetResponseForExceptionEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 53

    at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php line 167

    at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php line 124

    at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3141

    at Symfony\Component\HttpKernel\HttpKernel->handleException(object(IncompleteInstallationException), object(Request), '1')
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3077

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3222

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 2444

    at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
        in D:\www\contao-4.0.2\web\app_dev.php line 53

[2] Contao\CoreBundle\Exception\IncompleteInstallationException: The installation has not been completed. Open the Contao install tool to continue.
    at n/a
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\ContaoFramework.php line 374

    at Contao\CoreBundle\ContaoFramework->validateInstallation()
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\ContaoFramework.php line 293

    at Contao\CoreBundle\ContaoFramework->initializeFramework()
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\ContaoFramework.php line 166

    at Contao\CoreBundle\ContaoFramework->initialize()
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\Security\User\ContaoUserProvider.php line 61

    at Contao\CoreBundle\Security\User\ContaoUserProvider->loadUserByUsername('frontend')
        in D:\www\contao-4.0.2\vendor\contao\core-bundle\src\Security\ContaoAuthenticator.php line 69

    at Contao\CoreBundle\Security\ContaoAuthenticator->authenticateToken(object(AnonymousToken), object(ContaoUserProvider), 'backend')
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider.php line 37

    at Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider->authenticate(object(AnonymousToken))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager.php line 80

    at Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager->authenticate(object(AnonymousToken))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\SimplePreAuthenticationListener.php line 91

    at Symfony\Component\Security\Http\Firewall\SimplePreAuthenticationListener->handle(object(GetResponseEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall.php line 69

    at Symfony\Component\Security\Http\Firewall->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
        in  line 

    at call_user_func(array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php line 61

    at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
        in  line 

    at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 164

    at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 53

    at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php line 167

    at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
        in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php line 124

    at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3098

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3071

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 3222

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
        in D:\www\contao-4.0.2\app\bootstrap.php.cache line 2444

    at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
        in D:\www\contao-4.0.2\web\app_dev.php line 53

from standard-edition.

leofeyer avatar leofeyer commented on May 24, 2024

The error message is correct. You can only call the install.php script as long as the installation is not complete.

from standard-edition.

Zeromax avatar Zeromax commented on May 24, 2024

Ah, thanks. Didn't see that...

Do now I get the following Error when calling the install.php

( ! ) Fatal error: Uncaught exception 'Symfony\Component\Filesystem\Exception\IOException' with message 'Failed to create symbolic link from "D:/www/contao-4.0.2/D:\www\contao-4.0.2\vendor\contao\core-bundle\src/Resources/contao/themes\flexible" to "D:/www/contao-4.0.2/system/themes/flexible".' in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php on line 314
( ! ) Symfony\Component\Filesystem\Exception\IOException: Failed to create symbolic link from "D:/www/contao-4.0.2/D:\www\contao-4.0.2\vendor\contao\core-bundle\src/Resources/contao/themes\flexible" to "D:/www/contao-4.0.2/system/themes/flexible". in D:\www\contao-4.0.2\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php on line 314
Call Stack
#   Time    Memory  Function    Location
1   0.0137  131472  {main}( )   ..\install.php:0
2   1.5254  3626536 Contao\InstallationBundle\Controller\InstallationController->indexAction( ) ..\install.php:37
3   1.5254  3626680 Contao\InstallationBundle\Controller\InstallationController->runPostInstallCommands( )  ..\InstallationController.php:51
4   1.8144  4124384 Symfony\Component\Console\Command\Command->run( )   ..\InstallationController.php:124
5   1.8146  4124576 Contao\CoreBundle\Command\AbstractLockedCommand->execute( ) ..\Command.php:259
6   1.8161  4125336 Contao\CoreBundle\Command\SymlinksCommand->executeLocked( ) ..\AbstractLockedCommand.php:38
7   1.8161  4125536 Contao\CoreBundle\Command\SymlinksCommand->generateSymlinks( )  ..\SymlinksCommand.php:57
8   1.9504  4569576 Contao\CoreBundle\Command\SymlinksCommand->symlinkThemes( ) ..\SymlinksCommand.php:77
9   1.9725  4617488 Contao\CoreBundle\Command\SymlinksCommand->symlink( )   ..\SymlinksCommand.php:128
10  1.9734  4633400 Symfony\Component\Filesystem\Filesystem->symlink( ) ..\SymlinksCommand.php:168

My Environment:
Xampp on Windowsn and PHP 5.5.15

from standard-edition.

leofeyer avatar leofeyer commented on May 24, 2024

Unfortunately, the error report is not included in the error message in the Filesystem class. Please try a fresh installation and inject a print_r($report); into the Filesystem class if necessary.

from standard-edition.

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.