- 
	
	
	
		
Can't install package
	
	
		
	Code:
	
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In IniParser.php line 94:
File ../system/modules/news_categories/config/autoload.ini cannot be decoded
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "contao:install-web-dir" command:
In IniParser.php line 94:
File ../system/modules/news_categories/config/autoload.ini cannot be decoded
 Process terminated with exit code 1
Result: General error
contao 4.4.36
PHP Version 7.3.3
contao manager 1.1.4
	 
 - 
	
	
	
	
		There is something wrong with the 
	Code:
	
system/modules/news_categories/config/autoload.ini
 The error means it can not be parsed by the parse_ini_file php function (i.e. it is not a valid ini file)
If you can not figure out yourself what's wrong post the content here
	 
 - 
	
	
	
	
		
	Code:
	
;;
; List modules which are required to be loaded beforehand
;;
requires[] = "core"
requires[] = "*_autoload"
;;
; Configure what you want the autoload creator to register
;;
register_namespaces = false
register_classes    = false
register_templates  = false
 
	 
 - 
	
	
	
	
		Assuming you are using version 3.1.0 of codefog/contao-news_categories, like you said in your GitHub issue, then your Contao installation is in a broken state, because system/modules/news_categories should not exist.
Try the following:
- Delete system/modules/news_categories
 - Delete vendor/codefog/contao-news_categories
 - Delete var/cache
 - Execute composer update
 
	 
 - 
	
	
	
	
		ok
	Code:
	
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 1 install, 1 update, 0 removals
  - Updating ua-parser/uap-php (v3.8.6 => v3.8.8): Downloading (100%)
  - Installing codefog/contao-news_categories (3.1.0): Loading from cache
Generating optimized autoload files
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In IniParser.php line 94:
                                                                               
  File .../system/modules/haste/config/autolo  
  ad.ini cannot be decoded                                                     
                                                                               
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
                                                                               
  An error occurred while executing the "contao:install-web-dir" command:      
  In IniParser.php line 94:                                                    
                                                                               
                                                                               
    File .../system/modules/haste/config/auto  
  lo                                                                           
    ad.ini cannot be decoded                                                   
                                                                               
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
# Process terminated with exit code 1
# Result: General error
 
	 
 - 
	
	
	
	
		There seems to be a problem with the .ini files in all your old Contao 3 installations. Try to purge the system/modules, vendor/ and var/cache folder completely and then run a composer update again.
	 
 - 
	
	
	
	
		it is new clear install contao 4.4.36...
	 
 - 
	
	
	
	
 - 
	
	
	
	
		yes
	Code:
	
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
InvalidArgumentException: Config file "/.../contao-manager/composer-install.set.json" does not exist. in phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/AbstractProcess.php:52
Stack trace:
#0 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(175): Terminal42\BackgroundProcess\AbstractProcess::readConfig('/home/i1479291/...')
#1 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(106): Terminal42\BackgroundProcess\ProcessRunner->loadConfig()
#2 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(53): Terminal42\BackgroundProcess\ProcessRunner->wait(1)
#3 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/Command/ProcessRunnerCommand.php(36): Terminal42\BackgroundProcess\ProcessRunner->run()
#4 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(255): Terminal42\BackgroundProcess\Command\ProcessRunnerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Terminal42\BackgroundProcess\Command\ProcessRunnerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 phar:///.../web/contao-manager.phar.php/api/ApiApplication.php(76): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(148): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 phar:///.../web/contao-manager.phar.php/api/console(84): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#10 /.../web/contao-manager.phar.php(54): require('phar:///home/i1...')
#11 {main}
# Process terminated with exit code 143
# Result: Termination (request to terminate) [signal 15]
 ps
other packages are installed without errors
	 
 - 
	
	
	
	
		more
	Code:
	
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 114 installs, 0 updates, 0 removals
  - Installing contao-components/installer (1.3.1): Downloading (100%)
  - Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
  - Installing twig/twig (v1.38.4): Downloading (100%)
  - Installing paragonie/random_compat (v2.0.18): Downloading (100%)
  - Installing symfony/polyfill-php70 (v1.11.0): Downloading (100%)
  - Installing symfony/polyfill-util (v1.11.0): Downloading (100%)
  - Installing symfony/polyfill-php56 (v1.11.0): Downloading (100%)
  - Installing symfony/polyfill-mbstring (v1.11.0): Downloading (100%)
  - Installing symfony/symfony (v3.4.23): Downloading (100%)
  - Installing contao-community-alliance/composer-plugin (3.0.9): Downloading (100%)
  - Installing contao/manager-plugin (2.7.0): Downloading (100%)
  - Installing symfony/polyfill-intl-icu (v1.11.0): Downloading (100%)
  - Installing symfony/polyfill-apcu (v1.11.0): Downloading (100%)
  - Installing psr/simple-cache (1.0.1): Downloading (100%)
  - Installing psr/log (1.1.0): Downloading (100%)
  - Installing psr/link (1.0.0): Downloading (100%)
  - Installing psr/container (1.0.0): Downloading (100%)
  - Installing psr/cache (1.0.1): Downloading (100%)
  - Installing fig/link-util (1.0.0): Downloading (100%)
  - Installing doctrine/lexer (v1.0.1): Downloading (100%)
  - Installing doctrine/annotations (v1.6.1): Downloading (100%)
  - Installing doctrine/reflection (v1.0.0): Downloading (100%)
  - Installing doctrine/event-manager (v1.0.0): Downloading (100%)
  - Installing doctrine/collections (v1.6.1): Downloading (100%)
  - Installing doctrine/cache (v1.8.0): Downloading (100%)
  - Installing doctrine/persistence (v1.1.0): Downloading (100%)
  - Installing doctrine/inflector (v1.3.0): Downloading (100%)
  - Installing doctrine/common (v2.10.0): Downloading (100%)
  - Installing webmozart/assert (1.4.0): Downloading (100%)
  - Installing webmozart/path-util (2.3.0): Downloading (100%)
  - Installing true/punycode (v2.1.1): Downloading (100%)
  - Installing psr/http-message (1.0.1): Downloading (100%)
  - Installing php-http/message-factory (v1.0.2): Downloading (100%)
  - Installing clue/stream-filter (v1.4.0): Downloading (100%)
  - Installing php-http/message (1.7.2): Downloading (100%)
  - Installing php-http/discovery (1.6.1): Downloading (100%)
  - Installing php-http/promise (v1.0.0): Downloading (100%)
  - Installing php-http/httplug (v1.1.0): Downloading (100%)
  - Installing ralouphie/getallheaders (2.0.5): Downloading (100%)
  - Installing guzzlehttp/psr7 (1.5.2): Downloading (100%)
  - Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
  - Installing guzzlehttp/guzzle (6.3.3): Downloading (100%)
  - Installing php-http/guzzle6-adapter (v1.1.1): Downloading (100%)
  - Installing php-http/client-common (1.9.1): Downloading (100%)
  - Installing friendsofsymfony/http-cache (2.5.4): Downloading (100%)
  - Installing friendsofsymfony/http-cache-bundle (2.6.1): Downloading (100%)
  - Installing terminal42/header-replay-bundle (1.5.3): Downloading (100%)
  - Installing tecnickcom/tcpdf (6.2.26): Downloading (100%)
  - Installing swiftmailer/swiftmailer (v5.4.12): Downloading (100%)
  - Installing symfony/swiftmailer-bundle (v2.6.7): Downloading (100%)
  - Installing simplepie/simplepie (1.5.2): Downloading (100%)
  - Installing phpunit/php-token-stream (3.0.1): Downloading (100%)
  - Installing phpspec/php-diff (v1.1.0): Downloading (100%)
  - Installing patchwork/utf8 (v1.3.1): Downloading (100%)
  - Installing oyejorge/less.php (v1.7.0.14): Downloading (100%)
  - Installing nelmio/cors-bundle (1.5.5): Downloading (100%)
  - Installing michelf/php-markdown (1.8.0): Downloading (100%)
  - Installing matthiasmullie/path-converter (1.1.2): Downloading (100%)
  - Installing matthiasmullie/minify (1.3.61): Downloading (100%)
  - Installing jeremykendall/php-domain-parser (3.0.0): Downloading (100%)
  - Installing league/uri (4.2.2): Downloading (100%)
  - Installing leafo/scssphp (v0.7.7): Downloading (100%)
  - Installing knplabs/knp-time-bundle (1.8.0): Downloading (100%)
  - Installing knplabs/knp-menu (2.3.0): Downloading (100%)
  - Installing knplabs/knp-menu-bundle (v2.2.1): Downloading (100%)
  - Installing imagine/imagine (v0.7.1): Downloading (100%)
  - Installing doctrine/doctrine-cache-bundle (1.3.5): Downloading (100%)
  - Installing jdorn/sql-formatter (v1.2.17): Downloading (100%)
  - Installing doctrine/dbal (v2.8.1): Downloading (100%)
  - Installing doctrine/doctrine-bundle (1.10.2): Downloading (100%)
  - Installing contao/imagine-svg (0.2.2): Downloading (100%)
  - Installing contao/image (0.3.9): Downloading (100%)
  - Installing contao-components/tinymce4 (4.6.7.2): Downloading (100%)
  - Installing contao-components/tablesorter (2.1.0): Downloading (100%)
  - Installing contao-components/tablesort (3.4.11): Downloading (100%)
  - Installing contao-components/swipe (2.1.1): Downloading (100%)
  - Installing contao-components/simplemodal (2.1.0): Downloading (100%)
  - Installing contao-components/respimage (1.4.2): Downloading (100%)
  - Installing contao-components/mootools (1.6.0.5): Downloading (100%)
  - Installing contao-components/mediaelement (4.2.10): Downloading (100%)
  - Installing contao-components/mediabox (1.5.4.2): Downloading (100%)
  - Installing contao-components/jquery-ui (1.12.1.1): Downloading (100%)
  - Installing contao-components/jquery (1.12.4): Downloading (100%)
  - Installing contao-components/html5shiv (3.7.3): Downloading (100%)
  - Installing contao-components/highlight (8.9.1): Downloading (100%)
  - Installing contao-components/dropzone (4.3.0): Downloading (100%)
  - Installing contao-components/datepicker (2.3.0): Downloading (100%)
  - Installing contao-components/contao (7.1.5): Downloading (100%)
  - Installing contao-components/compass (0.12.2.1): Downloading (100%)
  - Installing contao-components/colorpicker (1.5.0): Downloading (100%)
  - Installing contao-components/colorbox (1.6.4.1): Downloading (100%)
  - Installing contao-components/chosen (1.2.1): Downloading (100%)
  - Installing contao-components/ace (1.4.2): Downloading (100%)
  - Installing contao/core-bundle (4.4.36): Downloading (100%)
  - Installing contao/news-bundle (4.4.36): Downloading (100%)
  - Installing codefog/contao-haste (4.23.2): Downloading (100%)
  - Installing codefog/contao-news_categories (3.1.0): Downloading (100%)
  - Installing contao/calendar-bundle (4.4.36): Downloading (100%)
  - Installing contao/comments-bundle (4.4.36): Downloading (100%)
  - Installing contao/conflicts (dev-master 04c0e80)
  - Installing contao/faq-bundle (4.4.36): Downloading (100%)
  - Installing contao/listing-bundle (4.4.36): Downloading (100%)
  - Installing monolog/monolog (1.24.0): Downloading (100%)
  - Installing symfony/monolog-bundle (v3.3.1): Downloading (100%)
  - Installing composer/ca-bundle (1.1.4): Downloading (100%)
  - Installing ua-parser/uap-php (v3.8.8): Downloading (100%)
  - Installing nelmio/security-bundle (2.5.1): Downloading (100%)
  - Installing lexik/maintenance-bundle (v2.1.5): Downloading (100%)
  - Installing sensiolabs/ansi-to-html (v1.1.3): Downloading (100%)
  - Installing sensiolabs/security-checker (v5.0.3): Downloading (100%)
  - Installing sensio/distribution-bundle (v5.0.24): Downloading (100%)
  - Installing contao/installation-bundle (4.4.36): Downloading (100%)
  - Installing contao/manager-bundle (4.4.36): Downloading (100%)
  - Installing contao/newsletter-bundle (4.4.36): Downloading (100%)
Generating optimized autoload files
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
In IniParser.php line 94:
                                                                               
  File /.../system/modules/haste/config/autolo  
  ad.ini cannot be decoded                                                     
                                                                               
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
                                                                               
  An error occurred while executing the "contao:install-web-dir" command:      
  In IniParser.php line 94:                                                    
                                                                               
                                                                               
    File /.../system/modules/haste/config/auto  
  lo                                                                           
    ad.ini cannot be decoded                                                   
                                                                               
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
InvalidArgumentException: Config file "/.../contao-manager/composer-install.set.json" does not exist. in phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/AbstractProcess.php:52
Stack trace:
#0 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(175): Terminal42\BackgroundProcess\AbstractProcess::readConfig('/home/i1479291/...')
#1 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(106): Terminal42\BackgroundProcess\ProcessRunner->loadConfig()
#2 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(53): Terminal42\BackgroundProcess\ProcessRunner->wait(1)
#3 phar:///.../web/contao-manager.phar.php/vendor/terminal42/background-process/src/Command/ProcessRunnerCommand.php(36): Terminal42\BackgroundProcess\ProcessRunner->run()
#4 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(255): Terminal42\BackgroundProcess\Command\ProcessRunnerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Terminal42\BackgroundProcess\Command\ProcessRunnerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 phar:///.../web/contao-manager.phar.php/api/ApiApplication.php(76): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 phar:///.../web/contao-manager.phar.php/vendor/symfony/console/Application.php(148): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 phar:///.../web/contao-manager.phar.php/api/console(84): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#10 /.../web/contao-manager.phar.php(54): require('phar:///home/i1...')
#11 {main}
# Process terminated with exit code 1
# Result: General error
 
	 
 - 
	
	
	
	
		Dumping Composer Autoloader 
	Code:
	
$ /usr/local/bin/php '-q' '/.../web/contao-manager.phar.php' 'composer' 'dump-autoload' '--optimize' 2>&1
Generating optimized autoload filesGenerated optimized autoload files containing 4732 classes
# Process terminated with exit code 0
# Result: OK
 dots? :) What is this?
	 
 - 
	
	
	
	
		i think problem in "Use the Composer Cloud Resolver: yes"
on local machine "Use the Composer Cloud Resolver: no" - no errors
	 
 - 
	
	
	
	
		i did new issue:
https://github.com/contao/manager-plugin/issues/19
parse_ini_file not works for me
my solution:
	Code:
	
$ini = parse_ini_string(file_get_contents($file));
 in https://github.com/contao/manager-pl...Parser.php#L91
	 
 - 
	
	
	
	
		You need to find out why this function does not work for you. I doubt there is a general problem.
	 
 - 
	
	
	
	
		sorry...
	Code:
	
disable_functions        exec,passthru,shell_exec,system,popen,curl_multi_exec,parse_ini_file,show_source