samsonasik / SanSessionToolbar

:zap: Session Toolbar that can be applied into Zend/Laminas DeveloperTools
MIT License
38 stars 11 forks source link

Could not be initialited #43

Closed andrconstruction closed 9 years ago

andrconstruction commented 9 years ago

Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (SanSessionToolbar) could not be initialized.' in I see this error during enabled the toolbar

this is my config

$env = getenv( 'APP_ENV' ) ?: 'production';

$modules = [
    'AssetsBundle',
    'Application',
    'User',
    'Firm',
    'Unit',
    'Kbase',
    'SCatalog',
    'Claim',
    'Auth',
    'Dep',
    'Exam',
    'DoctrineModule',
    'DoctrineORMModule',
    'Soflomo\Purifier',

];
if ( $env == 'development' ) {
    $modules[] = 'ZendDeveloperTools';
    $modules[] = 'SanSessionToolbar';
    $modules[] = 'BjyProfiler';
}
samsonasik commented 9 years ago

you need to install via composer, please read the readme.

andrconstruction commented 9 years ago

Of course I installed it via composer And of course I read the readme thrice, because it is not so big if composer.json looks like in the readme "san/san-session-toolbar": "0.*"

What an another info I should represent for a solve the issue?

More accurate error : Zend\ModuleManager\Exception\RuntimeException: Module (SanSessionToolbar) could not be initialized. in /var/www/clients/client1/web1/web/z/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 195

A "san" folder underneath z/vendor/ within all files

samsonasik commented 9 years ago

run in shell: composer update, check if the module installed in vendor/san, if you don't have command line access, install via web interface by copying your composer.json in http://composer.borreli.com/

andrconstruction commented 9 years ago

updated, no new files module installed in vendor/san - verified

samsonasik commented 9 years ago

san-session-toolbar folder should be in vendor/san , try remove vendor folder, remove composer.lock, and run composer install

andrconstruction commented 9 years ago

"C:\Program Files (x86)\PHP\php.exe" D:_workSites\claim\z\composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev)

  • Installing san/san-session-toolbar (0.2.2) Loading from cache

san/san-session-toolbar suggests installing ext-xdebug (For better output format of session data, Xdebug should already installed) Writing lock file Generating autoload files

after uploaded to server and no effect the same error

andrconstruction commented 9 years ago

filo

On server

andrconstruction commented 9 years ago

Perhaps I have to do something in configs zdt or somewhere else

samsonasik commented 9 years ago

just re-check the autoloader, remove vendor/ folder in uploaded server, re-upload all files in vendor/ folder. Also, check if your zfskeleton uses composer for autoloader, usually in init_autoloader.php

Warm regards,

Abdul Malik Ikhsan

Pada 2 Nov 2015, pukul 16.18, andrconstruction notifications@github.com menulis:

Perhaps I have to do something in configs zdt or somewhere else

— Reply to this email directly or view it on GitHub.