Warning (512) : _cake_model_ cache was unable to write 'default_sections' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_sections'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'sections'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'parent_id' => [
[maximum depth reached]
],
'is_virtual' => [
[maximum depth reached]
],
'is_prototype' => [
[maximum depth reached]
],
'code' => [
[maximum depth reached]
],
'name' => [
[maximum depth reached]
],
'locked' => [
[maximum depth reached]
],
'unlocks' => [
[maximum depth reached]
],
'rubric_id' => [
[maximum depth reached]
],
'hidden' => [
[maximum depth reached]
],
'created' => [
[maximum depth reached]
],
'modified' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'parent_id' => 'integer',
'is_virtual' => 'boolean',
'is_prototype' => 'boolean',
'code' => 'string',
'name' => 'string',
'locked' => 'boolean',
'unlocks' => 'integer',
'rubric_id' => 'integer',
'hidden' => 'boolean',
'created' => 'datetime',
'modified' => 'datetime'
]
[protected] _indexes => [
'rubric_id' => [
[maximum depth reached]
],
'id' => [
[maximum depth reached]
],
'parent_id' => [
[maximum depth reached]
]
]
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Query::addDefaultTypes() - CORE/src/ORM/Query.php, line 210
Cake\ORM\Query::__construct() - CORE/src/ORM/Query.php, line 167
Cake\ORM\Table::query() - CORE/src/ORM/Table.php, line 1569
Cake\ORM\Table::find() - CORE/src/ORM/Table.php, line 1171
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 350
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1401 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (512) : _cake_model_ cache was unable to write 'default_templates' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_templates'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'templates'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'type' => [
[maximum depth reached]
],
'locale' => [
[maximum depth reached]
],
'code' => [
[maximum depth reached]
],
'name' => [
[maximum depth reached]
],
'description' => [
[maximum depth reached]
],
'priority' => [
[maximum depth reached]
],
'important' => [
[maximum depth reached]
],
'file_name' => [
[maximum depth reached]
],
'created' => [
[maximum depth reached]
],
'modified' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'type' => 'string',
'locale' => 'string',
'code' => 'string',
'name' => 'string',
'description' => 'text',
'priority' => 'integer',
'important' => 'boolean',
'file_name' => 'string',
'created' => 'datetime',
'modified' => 'datetime'
]
[protected] _indexes => []
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Query::addDefaultTypes() - CORE/src/ORM/Query.php, line 210
Cake\ORM\Query::__construct() - CORE/src/ORM/Query.php, line 167
Cake\ORM\Table::query() - CORE/src/ORM/Table.php, line 1569
Cake\ORM\Table::find() - CORE/src/ORM/Table.php, line 1171
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 356
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1402 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (512) : _cake_model_ cache was unable to write 'default_rubrics' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_rubrics'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'rubrics'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'code' => [
[maximum depth reached]
],
'name' => [
[maximum depth reached]
],
'priority' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'code' => 'string',
'name' => 'string',
'priority' => 'integer'
]
[protected] _indexes => []
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Table::getPrimaryKey() - CORE/src/ORM/Table.php, line 652
Cake\ORM\Query::_addAssociationsToTypeMap() - CORE/src/ORM/Query.php, line 414
Cake\ORM\Query::contain() - CORE/src/ORM/Query.php, line 391
App\Model\Table\SectionsTable::getAllRelated() - APP/Model/Table/SectionsTable.php, line 1427
App\Lib\CompositeView::addHierarchy() - APP/Lib/CompositeView.php, line 281
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 363
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1524 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (512) : _cake_model_ cache was unable to write 'default_concepts_rubrics_questions' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_concepts_rubrics_questions'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'concepts_rubrics_questions'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'concepts_rubric_id' => [
[maximum depth reached]
],
'question_id' => [
[maximum depth reached]
],
'type' => [
[maximum depth reached]
],
'alias' => [
[maximum depth reached]
],
'actual' => [
[maximum depth reached]
],
'required' => [
[maximum depth reached]
],
'editable' => [
[maximum depth reached]
],
'characterizing' => [
[maximum depth reached]
],
'max_length' => [
[maximum depth reached]
],
'min' => [
[maximum depth reached]
],
'max' => [
[maximum depth reached]
],
'step' => [
[maximum depth reached]
],
'suffix' => [
[maximum depth reached]
],
'priority' => [
[maximum depth reached]
],
'hint_type' => [
[maximum depth reached]
],
'hint' => [
[maximum depth reached]
],
'placeholder_type' => [
[maximum depth reached]
],
'placeholder' => [
[maximum depth reached]
],
'initial_type' => [
[maximum depth reached]
],
'initial' => [
[maximum depth reached]
],
'alias_sap_header_file' => [
[maximum depth reached]
],
'global' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'concepts_rubric_id' => 'integer',
'question_id' => 'integer',
'type' => 'string',
'alias' => 'string',
'actual' => 'boolean',
'required' => 'string',
'editable' => 'boolean',
'characterizing' => 'boolean',
'max_length' => 'integer',
'min' => 'integer',
'max' => 'integer',
'step' => 'integer',
'suffix' => 'string',
'priority' => 'integer',
'hint_type' => 'string',
'hint' => 'string',
'placeholder_type' => 'string',
'placeholder' => 'string',
'initial_type' => 'string',
'initial' => 'string',
'alias_sap_header_file' => 'string',
'global' => 'boolean'
]
[protected] _indexes => [
'question_id' => [
[maximum depth reached]
]
]
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Query::addDefaultTypes() - CORE/src/ORM/Query.php, line 210
Cake\ORM\Query::__construct() - CORE/src/ORM/Query.php, line 167
Cake\ORM\Table::query() - CORE/src/ORM/Table.php, line 1569
Cake\ORM\Table::find() - CORE/src/ORM/Table.php, line 1171
App\Lib\Indexing\AdvancedIndexService::getQuestionDefinitions2() - APP/Lib/Indexing/AdvancedIndexService.php, line 203
App\Lib\CompositeView::addNode() - APP/Lib/CompositeView.php, line 61
App\Lib\CompositeView::addHierarchy() - APP/Lib/CompositeView.php, line 283
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 363
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1684 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (512) : _cake_model_ cache was unable to write 'default_concepts_rubrics' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_concepts_rubrics'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'concepts_rubrics'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'concept_id' => [
[maximum depth reached]
],
'rubric_id' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'concept_id' => 'integer',
'rubric_id' => 'integer'
]
[protected] _indexes => []
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Table::getPrimaryKey() - CORE/src/ORM/Table.php, line 652
Cake\ORM\Query::_addAssociationsToTypeMap() - CORE/src/ORM/Query.php, line 414
Cake\ORM\Query::contain() - CORE/src/ORM/Query.php, line 391
App\Lib\Indexing\AdvancedIndexService::getQuestionDefinitions2() - APP/Lib/Indexing/AdvancedIndexService.php, line 205
App\Lib\CompositeView::addNode() - APP/Lib/CompositeView.php, line 61
App\Lib\CompositeView::addHierarchy() - APP/Lib/CompositeView.php, line 283
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 363
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1628 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (512) : _cake_model_ cache was unable to write 'default_questions' to Cake\Cache\Engine\FileEngine cache [CORE/src/Cache/Cache.php , line 241 ]Code Context get_class ( $engine )
),
E_USER_WARNING
$key = 'default_questions'
$value = object(Cake\Database\Schema\TableSchema) {
[protected] _table => 'questions'
[protected] _columns => [
'id' => [
[maximum depth reached]
],
'code' => [
[maximum depth reached]
],
'name' => [
[maximum depth reached]
],
'priority' => [
[maximum depth reached]
],
'name_en' => [
[maximum depth reached]
]
]
[protected] _typeMap => [
'id' => 'integer',
'code' => 'string',
'name' => 'string',
'priority' => 'integer',
'name_en' => 'string'
]
[protected] _indexes => []
[protected] _constraints => [
'primary' => [
[maximum depth reached]
]
]
[protected] _options => [
'engine' => 'InnoDB',
'collation' => 'utf8_general_ci'
]
[protected] _temporary => false
[protected] _columnKeys => [
'type' => null,
'baseType' => null,
'length' => null,
'precision' => null,
'null' => null,
'default' => null,
'comment' => null
]
[protected] _columnExtras => [
'string' => [
[maximum depth reached]
],
'text' => [
[maximum depth reached]
],
'integer' => [
[maximum depth reached]
],
'biginteger' => [
[maximum depth reached]
],
'decimal' => [
[maximum depth reached]
],
'float' => [
[maximum depth reached]
]
]
[protected] _indexKeys => [
'type' => null,
'columns' => [[maximum depth reached]],
'length' => [[maximum depth reached]],
'references' => [[maximum depth reached]],
'update' => 'restrict',
'delete' => 'restrict'
]
[protected] _validIndexTypes => [
(int) 0 => 'index',
(int) 1 => 'fulltext'
]
[protected] _validConstraintTypes => [
(int) 0 => 'primary',
(int) 1 => 'unique',
(int) 2 => 'foreign'
]
[protected] _validForeignKeyActions => [
(int) 0 => 'cascade',
(int) 1 => 'setNull',
(int) 2 => 'setDefault',
(int) 3 => 'noAction',
(int) 4 => 'restrict'
]
}
$config = '_cake_model_'
$engine = object(Cake\Cache\Engine\FileEngine) {
[protected] _File => null
[protected] _defaultConfig => [
'duration' => (int) 3600,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 436,
'path' => null,
'prefix' => 'cake_',
'probability' => (int) 100,
'serialize' => true
]
[protected] _init => true
[protected] _groupPrefix => null
[protected] _config => [
'duration' => (int) 120,
'groups' => [[maximum depth reached]],
'isWindows' => false,
'lock' => true,
'mask' => (int) 438,
'path' => '/home/adviniwim/awim/app/tmp/cache/models/',
'prefix' => 'myapp_cake_model_',
'probability' => (int) 100,
'serialize' => true,
'url' => null
]
[protected] _configInitialized => true
}
$success = false Cake\Cache\Cache::write() - CORE/src/Cache/Cache.php, line 241
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 66
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 531
Cake\ORM\Table::getPrimaryKey() - CORE/src/ORM/Table.php, line 652
Cake\ORM\Query::_addAssociationsToTypeMap() - CORE/src/ORM/Query.php, line 414
Cake\ORM\Query::contain() - CORE/src/ORM/Query.php, line 391
App\Lib\Indexing\AdvancedIndexService::getQuestionDefinitions2() - APP/Lib/Indexing/AdvancedIndexService.php, line 205
App\Lib\CompositeView::addNode() - APP/Lib/CompositeView.php, line 61
App\Lib\CompositeView::addHierarchy() - APP/Lib/CompositeView.php, line 283
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 363
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1621 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (2) : file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 2956 bytes written, possibly out of free disk space [APP/Lib/DocumentBuilder.php , line 75 ]Code Context
$sanitizedTemplateFile = microtime ( true ) * 10000 ;
file_put_contents ( DOC_BUILDER_TMP . $sanitizedTemplateFile . '.blade.php' , $sanitizedTemplateString );
$template = '../Html/fiche_standard_EN.blade'
$templateFolder = '/home/adviniwim/awim/app/src/Template/DocumentBuilder/Pdf/'
$templateString = '<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
@include('Html.snippets.css_reset') <!-- neutralize default CSS values -->
@include('Html.snippets.css_A4') <!-- initialize page -->
<title>=Fiche Standard</title>
<?php $randPostfix = ("rnd_" . rand(100000, 999999)); ?>
@include('Html.custom_css.fiche_standard', ['randPostfix' => $randPostfix])
<!-- CSS custom à ce template -->
</head>
<body id="fiche_standard">
<div class="container">
@include('Html.snippets.allergenes_EN',['before'=>'','after'=>''])
<div class="header">
@include('Html.snippets.logo',['before'=>'','after'=>''])
</div>
<div class="bottle" id="{{ $randPostfix }}">
@include('Html.snippets.labels',['before'=>'','after'=>''])
</div>
<div class="column-center">
@include('Html.snippets.cepages',['before'=>'<h3>Grape varieties</h3><p>','after'=>'</p>'])
@include('Html.snippets.carte',['before'=>'','after'=>''])
@include('Html.snippets.appellation',['before'=>'<h3>Appellation</h3><p>','after'=>'</p>'])
@include('Html.snippets.degre',['before'=>'<h3>Alcohol content</h3><p>','after'=>'</p>'])
@include('Html.snippets.contenant_elevage',['before'=>'<h3>Ageing container</h3><p>','after'=>'</p>'])
@include('Html.snippets.type_sol',['before'=>'<h3>Soil</h3><p>','after'=>'</p>'])
@include('Html.snippets.acidite',['before'=>'<h3>Total acidity</h3><p>','after'=>'</p>'])
@include('Html.snippets.ph',['before'=>'<h3>PH</h3><p>','after'=>'</p>'])
@include('Html.snippets.sucre_residuel',['before'=>'<h3>Residual sugar</h3><p>','after'=>'</p>'])
</div>
<div class="column-right">
<h1>@include('Html.snippets.designation_cuvee',['before'=>'','after'=>''])</h1>
<h2>@include('Html.snippets.appellation',['before'=>'','after'=>''])</h2>
<p>
@include('Html.snippets.presentation_cuvee_prio_longue',['before'=>'','after'=>''])
</p>
@include('Html.snippets.vinification_prio_longue',['before'=>'<h3>Vinification</h3><p>','after'=>'</p>'])
@include('Html.snippets.elevage_fallback_prio_longue_EN',['before'=>'<h3>Ageing</h3><p>','after'=>'</p>'])
@include('Html.snippets.note_degustation_prio_onb_EN',['before'=>'<h3>Tasting Notes</h3><p>','after'=>'</p>'])
@include('Html.snippets.amv_prio_court',['before'=>'<h3>Food pairings</h3><p>','after'=>'</p>'])
@include('Html.snippets.rapport_vendanges_prio_long',['before'=>'<h3>Vintage report</h3><p>','after'=>'</p>'])
@include('Html.snippets.site_web',['before'=>'<h3>Resources</h3><p>','after'=>'</p>'])
</div>
@if (stripos($section->unites_de_besoin, 'Distributor Brand') !== false )
<div style="clear:both; height:1px;"></div>
<img class="logo-advini" src='http://{{$_SERVER['HTTP_HOST']}}/img/template-assets/logo-advini.png'></img>
@endif
</div>
</body>
</html>
'
$sanitizedTemplateString = '<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
@include('Html.snippets.css_reset') <!-- neutralize default CSS values -->
@include('Html.snippets.css_A4') <!-- initialize page -->
<title>=Fiche Standard</title>
<?php $randPostfix = ("rnd_" . rand(100000, 999999)); ?>
@include('Html.custom_css.fiche_standard', ['randPostfix' => $randPostfix])
<!-- CSS custom à ce template -->
</head>
<body id="fiche_standard">
<div class="container">
@include('Html.snippets.allergenes_EN',['before'=>'','after'=>''])
<div class="header">
@include('Html.snippets.logo',['before'=>'','after'=>''])
</div>
<div class="bottle" id="{{ $randPostfix }}">
@include('Html.snippets.labels',['before'=>'','after'=>''])
</div>
<div class="column-center">
@include('Html.snippets.cepages',['before'=>'<h3>Grape varieties</h3><p>','after'=>'</p>'])
@include('Html.snippets.carte',['before'=>'','after'=>''])
@include('Html.snippets.appellation',['before'=>'<h3>Appellation</h3><p>','after'=>'</p>'])
@include('Html.snippets.degre',['before'=>'<h3>Alcohol content</h3><p>','after'=>'</p>'])
@include('Html.snippets.contenant_elevage',['before'=>'<h3>Ageing container</h3><p>','after'=>'</p>'])
@include('Html.snippets.type_sol',['before'=>'<h3>Soil</h3><p>','after'=>'</p>'])
@include('Html.snippets.acidite',['before'=>'<h3>Total acidity</h3><p>','after'=>'</p>'])
@include('Html.snippets.ph',['before'=>'<h3>PH</h3><p>','after'=>'</p>'])
@include('Html.snippets.sucre_residuel',['before'=>'<h3>Residual sugar</h3><p>','after'=>'</p>'])
</div>
<div class="column-right">
<h1>@include('Html.snippets.designation_cuvee',['before'=>'','after'=>''])</h1>
<h2>@include('Html.snippets.appellation',['before'=>'','after'=>''])</h2>
<p>
@include('Html.snippets.presentation_cuvee_prio_longue',['before'=>'','after'=>''])
</p>
@include('Html.snippets.vinification_prio_longue',['before'=>'<h3>Vinification</h3><p>','after'=>'</p>'])
@include('Html.snippets.elevage_fallback_prio_longue_EN',['before'=>'<h3>Ageing</h3><p>','after'=>'</p>'])
@include('Html.snippets.note_degustation_prio_onb_EN',['before'=>'<h3>Tasting Notes</h3><p>','after'=>'</p>'])
@include('Html.snippets.amv_prio_court',['before'=>'<h3>Food pairings</h3><p>','after'=>'</p>'])
@include('Html.snippets.rapport_vendanges_prio_long',['before'=>'<h3>Vintage report</h3><p>','after'=>'</p>'])
@include('Html.snippets.site_web',['before'=>'<h3>Resources</h3><p>','after'=>'</p>'])
</div>
@if (stripos($section->unites_de_besoin, 'Distributor Brand') !== false )
<div style="clear:both; height:1px;"></div>
<img class="logo-advini" src='http://{{$_SERVER['HTTP_HOST']}}/img/template-assets/logo-advini.png'></img>
@endif
</div>
</body>
</html>
'
$sanitizedTemplateFile = (float) 17311827286827 file_put_contents - [internal], line ??
App\Lib\DocumentBuilder::sanitizeBladeTemplate() - APP/Lib/DocumentBuilder.php, line 75
App\Lib\DocumentBuilder::renderBladeTemplate() - APP/Lib/DocumentBuilder.php, line 87
App\Lib\DocumentBuilder::render() - APP/Lib/DocumentBuilder.php, line 153
App\Lib\DocumentBuilder::buildDocument2() - APP/Lib/DocumentBuilder.php, line 332
App\Controller\SectionsController::renderTemplate() - APP/Controller/SectionsController.php, line 377
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36 Warning (2) : file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 128 bytes written, possibly out of free disk space [CORE/src/Log/Engine/FileLog.php , line 133 ]Code Context $mask = $this -> _config [ 'mask' ];
if (! $mask ) {
return file_put_contents ( $pathname , $output , FILE_APPEND );
$level = 'warning'
$message = 'Headers already sent in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Error/Debugger.php:822'
$context = [
'scope' => []
]
$output = '2024-11-09 21:05:29 Warning: Headers already sent in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Error/Debugger.php:822
'
$filename = 'error.log'
$pathname = '/home/adviniwim/awim/app/logs/error.log'
$mask = null file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 469
Cake\Http\Response::sendHeaders() - CORE/src/Http/Response.php, line 515
Cake\Http\Response::send() - CORE/src/Http/Response.php, line 491
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 180
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ??
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1283 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Error: [422] Error connecting to the API (https://docraptor.com/docs)
/home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php
toggle arguments
$queryParams ,
$httpBody ,
$headerParams ,
'string' ,
'/docs'
);
return [ $this -> apiClient -> getSerializer ()-> deserialize ( $response , 'string' , $httpHeader ), $statusCode , $httpHeader ];
} catch ( ApiException $e ) {
'/docs'
'POST'
[]
'{"pipeline":"8","name":"document.pdf","document_type":"pdf","document_content":"","test":false,"strict":"none","ignore_resource_errors":true,"ignore_console_messages":false,"help":false,"javascript":false}'
[
'Accept' => 'application/json',
'Content-Type' => 'application/json',
'Authorization' => 'Basic dXJRcFBKa05wT3ZaT1BoajNERTo='
]
'string'
'/docs'
/home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php
toggle arguments
* @return string
*/
public function createDoc ( $doc )
{
list( $response ) = $this -> createDocWithHttpInfo ( $doc );
return $response ;
}
/**
object(DocRaptor\Doc) {
[protected] swaggerModelName => 'Doc'
[protected] swaggerTypes => [
'pipeline' => 'string',
'name' => 'string',
'document_type' => 'string',
'document_content' => 'string',
'document_url' => 'string',
'test' => 'bool',
'strict' => 'string',
'ignore_resource_errors' => 'bool',
'ignore_console_messages' => 'bool',
'tag' => 'string',
'help' => 'bool',
'javascript' => 'bool',
'referrer' => 'string',
'callback_url' => 'string',
'prince_options' => '\DocRaptor\PrinceOptions'
]
[protected] swaggerFormats => [
'pipeline' => null,
'name' => null,
'document_type' => null,
'document_content' => null,
'document_url' => null,
'test' => null,
'strict' => null,
'ignore_resource_errors' => null,
'ignore_console_messages' => null,
'tag' => null,
'help' => null,
'javascript' => null,
'referrer' => null,
'callback_url' => null,
'prince_options' => null
]
[protected] attributeMap => [
'pipeline' => 'pipeline',
'name' => 'name',
'document_type' => 'document_type',
'document_content' => 'document_content',
'document_url' => 'document_url',
'test' => 'test',
'strict' => 'strict',
'ignore_resource_errors' => 'ignore_resource_errors',
'ignore_console_messages' => 'ignore_console_messages',
'tag' => 'tag',
'help' => 'help',
'javascript' => 'javascript',
'referrer' => 'referrer',
'callback_url' => 'callback_url',
'prince_options' => 'prince_options'
]
[protected] setters => [
'pipeline' => 'setPipeline',
'name' => 'setName',
'document_type' => 'setDocumentType',
'document_content' => 'setDocumentContent',
'document_url' => 'setDocumentUrl',
'test' => 'setTest',
'strict' => 'setStrict',
'ignore_resource_errors' => 'setIgnoreResourceErrors',
'ignore_console_messages' => 'setIgnoreConsoleMessages',
'tag' => 'setTag',
'help' => 'setHelp',
'javascript' => 'setJavascript',
'referrer' => 'setReferrer',
'callback_url' => 'setCallbackUrl',
'prince_options' => 'setPrinceOptions'
]
[protected] getters => [
'pipeline' => 'getPipeline',
'name' => 'getName',
'document_type' => 'getDocumentType',
'document_content' => 'getDocumentContent',
'document_url' => 'getDocumentUrl',
'test' => 'getTest',
'strict' => 'getStrict',
'ignore_resource_errors' => 'getIgnoreResourceErrors',
'ignore_console_messages' => 'getIgnoreConsoleMessages',
'tag' => 'getTag',
'help' => 'getHelp',
'javascript' => 'getJavascript',
'referrer' => 'getReferrer',
'callback_url' => 'getCallbackUrl',
'prince_options' => 'getPrinceOptions'
]
[protected] container => [
'pipeline' => '8',
'name' => 'document.pdf',
'document_type' => 'pdf',
'document_content' => '',
'document_url' => null,
'test' => false,
'strict' => 'none',
'ignore_resource_errors' => true,
'ignore_console_messages' => false,
'tag' => null,
'help' => false,
'javascript' => false,
'referrer' => null,
'callback_url' => null,
'prince_options' => null
]
}
/home/adviniwim/awim/app/src/Lib/DocumentBuilder.php
toggle arguments
$doc -> setName ( $filename . '.' . $outputFormat );
$doc -> setDocumentType ( $outputFormat );
// create and save document
$response = $docRaptor -> createDoc ( $doc );
file_put_contents ( $outputPath . $filename . '.' . $outputFormat , $response );
file_put_contents ( DOC_BUILDER_RAPTOR_CACHE . hash ( 'md5' , $markup ) . '.' . $outputFormat , $response );
}
object(DocRaptor\Doc) {
[protected] swaggerModelName => 'Doc'
[protected] swaggerTypes => [
'pipeline' => 'string',
'name' => 'string',
'document_type' => 'string',
'document_content' => 'string',
'document_url' => 'string',
'test' => 'bool',
'strict' => 'string',
'ignore_resource_errors' => 'bool',
'ignore_console_messages' => 'bool',
'tag' => 'string',
'help' => 'bool',
'javascript' => 'bool',
'referrer' => 'string',
'callback_url' => 'string',
'prince_options' => '\DocRaptor\PrinceOptions'
]
[protected] swaggerFormats => [
'pipeline' => null,
'name' => null,
'document_type' => null,
'document_content' => null,
'document_url' => null,
'test' => null,
'strict' => null,
'ignore_resource_errors' => null,
'ignore_console_messages' => null,
'tag' => null,
'help' => null,
'javascript' => null,
'referrer' => null,
'callback_url' => null,
'prince_options' => null
]
[protected] attributeMap => [
'pipeline' => 'pipeline',
'name' => 'name',
'document_type' => 'document_type',
'document_content' => 'document_content',
'document_url' => 'document_url',
'test' => 'test',
'strict' => 'strict',
'ignore_resource_errors' => 'ignore_resource_errors',
'ignore_console_messages' => 'ignore_console_messages',
'tag' => 'tag',
'help' => 'help',
'javascript' => 'javascript',
'referrer' => 'referrer',
'callback_url' => 'callback_url',
'prince_options' => 'prince_options'
]
[protected] setters => [
'pipeline' => 'setPipeline',
'name' => 'setName',
'document_type' => 'setDocumentType',
'document_content' => 'setDocumentContent',
'document_url' => 'setDocumentUrl',
'test' => 'setTest',
'strict' => 'setStrict',
'ignore_resource_errors' => 'setIgnoreResourceErrors',
'ignore_console_messages' => 'setIgnoreConsoleMessages',
'tag' => 'setTag',
'help' => 'setHelp',
'javascript' => 'setJavascript',
'referrer' => 'setReferrer',
'callback_url' => 'setCallbackUrl',
'prince_options' => 'setPrinceOptions'
]
[protected] getters => [
'pipeline' => 'getPipeline',
'name' => 'getName',
'document_type' => 'getDocumentType',
'document_content' => 'getDocumentContent',
'document_url' => 'getDocumentUrl',
'test' => 'getTest',
'strict' => 'getStrict',
'ignore_resource_errors' => 'getIgnoreResourceErrors',
'ignore_console_messages' => 'getIgnoreConsoleMessages',
'tag' => 'getTag',
'help' => 'getHelp',
'javascript' => 'getJavascript',
'referrer' => 'getReferrer',
'callback_url' => 'getCallbackUrl',
'prince_options' => 'getPrinceOptions'
]
[protected] container => [
'pipeline' => '8',
'name' => 'document.pdf',
'document_type' => 'pdf',
'document_content' => '',
'document_url' => null,
'test' => false,
'strict' => 'none',
'ignore_resource_errors' => true,
'ignore_console_messages' => false,
'tag' => null,
'help' => false,
'javascript' => false,
'referrer' => null,
'callback_url' => null,
'prince_options' => null
]
}
/home/adviniwim/awim/app/src/Lib/DocumentBuilder.php
toggle arguments
* @return string
*/
public static function createPdf ( $markup , $filename )
{
return self :: createDocRaptorDocument ( $markup , PDF_OUTPUT , $filename , 'pdf' );
}
/**
* @ param $markup
''
'/home/adviniwim/awim/app/src/Template/DocumentBuilder/Rendered/'
'document'
'pdf'
/home/adviniwim/awim/app/src/Lib/DocumentBuilder.php
toggle arguments
case 'xlsx' :
$outputFilePath = self :: createXlsx ( $markup , $outputFilename );
break;
case 'pdf' :
$outputFilePath = self :: createPdf ( $markup , $outputFilename );
break;
case 'json' :
$outputFilePath = self :: createJson ( $markup , $outputFilename );
break;
/home/adviniwim/awim/app/src/Controller/SectionsController.php
toggle arguments
dd ( $context -> getNodes ()-> XML (), false , false );
}
// $compositeFile = DocumentBuilder::buildDocument($viewId, $sectionId, $templateName, $outputFormat, 'CompositePdf' );
$compositeFile = DocumentBuilder :: buildDocument2 ([ 'context' => $context , 'section' => $sectionNode , 'serverRoot' => $serverRoot ], $templateFile , $outputFormat , 'document' );
$renderedContent = file_get_contents ( $compositeFile );
$response = $renderedContent ;
[
'context' => object(App\Lib\CompositeView) {
SectionsTable => object(App\Model\Table\SectionsTable) {}
[private] nodes => object(QueryPath\DOMQuery) {}
[private] rubrics => [
(int) 0 => 'EV',
(int) 1 => 'DOM',
(int) 2 => 'PROD',
(int) 3 => 'MARQ',
(int) 4 => 'CNM',
(int) 5 => 'CM',
(int) 6 => 'ART'
]
[private] vars => []
},
'section' => object(App\Lib\CompositeViewSection) {
id => '43354'
context => object(App\Lib\CompositeView) {}
[private] node => object(QueryPath\DOMQuery) {}
[private] rubric => 'CM'
[private] rubrics => [
(int) 0 => 'EV',
(int) 1 => 'DOM',
(int) 2 => 'PROD',
(int) 3 => 'MARQ',
(int) 4 => 'CNM',
(int) 5 => 'CM',
(int) 6 => 'ART'
]
},
'serverRoot' => 'https://advini-wim.wine-logics.com'
]
'../Html/fiche_standard_EN.blade'
'pdf'
'document'
/home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Controller/Controller.php
toggle arguments
}
/* @var callable $callable */
$callable = [ $this , $request -> getParam ( 'action' )];
return $callable (... array_values ( $request -> getParam ( 'pass' )));
}
/**
* Merge components , helpers vars from
/home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
if ( $result instanceof Response ) {
return $result ;
}
$response = $controller -> invokeAction ();
if ( $response !== null && !( $response instanceof Response )) {
throw new LogicException ( 'Controller actions can only return Cake\Http\Response or null.' );
}
/home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if (isset( $request -> params [ 'return' ])) {
return $response ;
}
object(App\Controller\SectionsController) {
name => 'Sections'
helpers => []
request => object(Cake\Http\ServerRequest) {
params => [
[maximum depth reached]
]
data => [[maximum depth reached]]
query => [
[maximum depth reached]
]
cookies => [[maximum depth reached]]
url => 'api/fr/concepts/1/sections/43354/template/60006978/document'
base => ''
webroot => '/'
here => '/api/fr/concepts/1/sections/43354/template/60006978/document'
trustProxy => false
[protected] _environment => [
[maximum depth reached]
]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => [[maximum depth reached]],
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => []
autoRender => true
components => []
View => null
plugin => null
passedArgs => []
modelClass => 'Sections'
viewClass => null
viewVars => []
locales => [
(int) 0 => 'fr',
(int) 1 => 'en'
]
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
ReturnJsonHandler => object(App\Controller\Component\ReturnJsonHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [[maximum depth reached]]
}
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Users => object(App\Model\Table\UsersTable) {
'registryAlias' => 'Users',
'table' => 'users',
'alias' => 'Users',
'entityClass' => 'App\Model\Entity\User',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Sections => object(App\Model\Table\SectionsTable) {
'registryAlias' => 'Sections',
'table' => 'sections',
'alias' => 'Sections',
'entityClass' => 'App\Model\Entity\Section',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] _responseClass => 'Cake\Http\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\SectionsController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => '\Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_eventList' => null,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager'
}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [[maximum depth reached]]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => null
}
/home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( ServerRequest $request , Response $response )
{
$actionDispatcher = new ActionDispatcher ( null , $this -> eventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if (isset( $request -> params [ 'return' ])) {
return $response -> body ();
}
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Sections',
'action' => 'renderTemplate',
'_ext' => null,
'pass' => [],
'locale' => 'fr',
'concept_id' => '1',
'section_id' => '43354',
'template_id' => '60006978',
'_method' => 'GET',
'_matchedRoute' => '/api/:locale/concepts/:concept_id/sections/:section_id/template/:template_id/document',
'?' => [
'view' => 'true'
],
'isAjax' => false
]
data => []
query => [
'view' => 'true'
]
cookies => []
url => 'api/fr/concepts/1/sections/43354/template/60006978/document'
base => ''
webroot => '/'
here => '/api/fr/concepts/1/sections/43354/template/60006978/document'
trustProxy => false
[protected] _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'advini-wim.wine-logics.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'advini-wim.wine-logics.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'advini-wim.wine-logics.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.25 (Debian) Server at advini-wim.wine-logics.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian)',
'SERVER_NAME' => 'advini-wim.wine-logics.com',
'SERVER_ADDR' => '147.135.138.134',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.231.219.178',
'DOCUMENT_ROOT' => '/home/adviniwim/awim/app/webroot/',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/adviniwim/awim/app/webroot/',
'SERVER_ADMIN' => 'yann@wine-logics.com',
'SCRIPT_FILENAME' => '/home/adviniwim/awim/app/webroot/index.php',
'REMOTE_PORT' => '57068',
'REDIRECT_URL' => '/api/fr/concepts/1/sections/43354/template/60006978/document',
'REDIRECT_QUERY_STRING' => 'view=true',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'view=true',
'REQUEST_URI' => '/api/fr/concepts/1/sections/43354/template/60006978/document?view=true',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1731182728.507,
'REQUEST_TIME' => (int) 1731182728,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_ORIGIN' => null,
'HTTP_AUTHORIZATION' => null,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'advini-wim.wine-logics.com'
[private] port => null
[private] path => '/api/fr/concepts/1/sections/43354/template/60006978/document'
[private] query => 'view=true'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
],
'Access-Control-Allow-Credentials' => [
(int) 0 => 'true'
],
'Access-Control-Allow-Methods' => [
(int) 0 => '*'
],
'Access-Control-Allow-Headers' => [
(int) 0 => 'Content-Type, x-xsrf-token, X-DEBUGKIT-ID'
],
'Access-Control-Expose-Headers' => [
(int) 0 => 'X-DEBUGKIT-ID'
],
'Access-Control-Max-Age' => [
(int) 0 => '172800'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
/home/adviniwim/awim/app/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Sections',
'action' => 'renderTemplate',
'_ext' => null,
'pass' => [],
'locale' => 'fr',
'concept_id' => '1',
'section_id' => '43354',
'template_id' => '60006978',
'_method' => 'GET',
'_matchedRoute' => '/api/:locale/concepts/:concept_id/sections/:section_id/template/:template_id/document',
'?' => [
'view' => 'true'
],
'isAjax' => false
]
data => []
query => [
'view' => 'true'
]
cookies => []
url => 'api/fr/concepts/1/sections/43354/template/60006978/document'
base => ''
webroot => '/'
here => '/api/fr/concepts/1/sections/43354/template/60006978/document'
trustProxy => false
[protected] _environment => [
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'advini-wim.wine-logics.com',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'advini-wim.wine-logics.com',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'advini-wim.wine-logics.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.25 (Debian) Server at advini-wim.wine-logics.com Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian)',
'SERVER_NAME' => 'advini-wim.wine-logics.com',
'SERVER_ADDR' => '147.135.138.134',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '3.231.219.178',
'DOCUMENT_ROOT' => '/home/adviniwim/awim/app/webroot/',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/adviniwim/awim/app/webroot/',
'SERVER_ADMIN' => 'yann@wine-logics.com',
'SCRIPT_FILENAME' => '/home/adviniwim/awim/app/webroot/index.php',
'REMOTE_PORT' => '57068',
'REDIRECT_URL' => '/api/fr/concepts/1/sections/43354/template/60006978/document',
'REDIRECT_QUERY_STRING' => 'view=true',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'view=true',
'REQUEST_URI' => '/api/fr/concepts/1/sections/43354/template/60006978/document?view=true',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1731182728.507,
'REQUEST_TIME' => (int) 1731182728,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_ORIGIN' => null,
'HTTP_AUTHORIZATION' => null,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'advini-wim.wine-logics.com'
[private] port => null
[private] path => '/api/fr/concepts/1/sections/43354/template/60006978/document'
[private] query => 'view=true'
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
],
'Access-Control-Allow-Credentials' => [
(int) 0 => 'true'
],
'Access-Control-Allow-Methods' => [
(int) 0 => '*'
],
'Access-Control-Allow-Headers' => [
(int) 0 => 'Content-Type, x-xsrf-token, X-DEBUGKIT-ID'
],
'Access-Control-Expose-Headers' => [
(int) 0 => 'X-DEBUGKIT-ID'
],
'Access-Control-Max-Age' => [
(int) 0 => '172800'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
If you want to customize this error message, create
src/Template/Error/error500.ctp
toggle vendor stack frames
〉 DocRaptor\ApiClient->callApi
ROOT/vendor/docraptor/docraptor/lib/DocApi.php, line 232
〉 DocRaptor\DocApi->createDocWithHttpInfo
ROOT/vendor/docraptor/docraptor/lib/DocApi.php, line 178
〉 DocRaptor\DocApi->createDoc
APP/Lib/DocumentBuilder.php, line 199
〉 App\Lib\DocumentBuilder::createDocRaptorDocument
APP/Lib/DocumentBuilder.php, line 214
〉 App\Lib\DocumentBuilder::createPdf
APP/Lib/DocumentBuilder.php, line 344
〉 App\Lib\DocumentBuilder::buildDocument2
APP/Controller/SectionsController.php, line 377
〉 App\Controller\SectionsController->renderTemplate
CORE/src/Controller/Controller.php, line 440
〉 Cake\Controller\Controller->invokeAction
CORE/src/Http/ActionDispatcher.php, line 119
〉 Cake\Http\ActionDispatcher->_invoke
CORE/src/Http/ActionDispatcher.php, line 93
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Routing/Dispatcher.php, line 60
〉 Cake\Routing\Dispatcher->dispatch
ROOT/webroot/index.php, line 36
Warning (2) : file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 1955 bytes written, possibly out of free disk space [CORE/src/Log/Engine/FileLog.php , line 133 ]Code Context $mask = $this -> _config [ 'mask' ];
if (! $mask ) {
return file_put_contents ( $pathname , $output , FILE_APPEND );
$level = 'error'
$message = '[DocRaptor\ApiException] [422] Error connecting to the API (https://docraptor.com/docs) in /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/ApiClient.php on line 287
Request URL: /api/fr/concepts/1/sections/43354/template/60006978/document?view=true
Client IP: 3.231.219.178
Stack Trace:
#0 /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php(232): DocRaptor\ApiClient->callApi('/docs', 'POST', Array, '{"pipeline":"8"...', Array, 'string', '/docs')
#1 /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php(178): DocRaptor\DocApi->createDocWithHttpInfo(Object(DocRaptor\Doc))
#2 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(199): DocRaptor\DocApi->createDoc(Object(DocRaptor\Doc))
#3 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(214): App\Lib\DocumentBuilder::createDocRaptorDocument('', '/home/adviniwim...', 'document', 'pdf')
#4 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(344): App\Lib\DocumentBuilder::createPdf('', 'document')
#5 /home/adviniwim/awim/app/src/Controller/SectionsController.php(377): App\Lib\DocumentBuilder::buildDocument2(Array, '../Html/fiche_s...', 'pdf', 'document')
#6 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Controller/Controller.php(440): App\Controller\SectionsController->renderTemplate()
#7 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(119): Cake\Controller\Controller->invokeAction()
#8 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(93): Cake\Http\ActionDispatcher->_invoke(Object(App\Controller\SectionsController))
#9 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(60): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#10 /home/adviniwim/awim/app/webroot/index.php(36): Cake\Routing\Dispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#11 {main}
'
$context = [
'scope' => []
]
$output = '2024-11-09 21:05:29 Error: [DocRaptor\ApiException] [422] Error connecting to the API (https://docraptor.com/docs) in /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/ApiClient.php on line 287
Request URL: /api/fr/concepts/1/sections/43354/template/60006978/document?view=true
Client IP: 3.231.219.178
Stack Trace:
#0 /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php(232): DocRaptor\ApiClient->callApi('/docs', 'POST', Array, '{"pipeline":"8"...', Array, 'string', '/docs')
#1 /home/adviniwim/awim/app/vendor/docraptor/docraptor/lib/DocApi.php(178): DocRaptor\DocApi->createDocWithHttpInfo(Object(DocRaptor\Doc))
#2 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(199): DocRaptor\DocApi->createDoc(Object(DocRaptor\Doc))
#3 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(214): App\Lib\DocumentBuilder::createDocRaptorDocument('', '/home/adviniwim...', 'document', 'pdf')
#4 /home/adviniwim/awim/app/src/Lib/DocumentBuilder.php(344): App\Lib\DocumentBuilder::createPdf('', 'document')
#5 /home/adviniwim/awim/app/src/Controller/SectionsController.php(377): App\Lib\DocumentBuilder::buildDocument2(Array, '../Html/fiche_s...', 'pdf', 'document')
#6 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Controller/Controller.php(440): App\Controller\SectionsController->renderTemplate()
#7 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(119): Cake\Controller\Controller->invokeAction()
#8 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(93): Cake\Http\ActionDispatcher->_invoke(Object(App\Controller\SectionsController))
#9 /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(60): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#10 /home/adviniwim/awim/app/webroot/index.php(36): Cake\Routing\Dispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response))
#11 {main}
'
$filename = 'error.log'
$pathname = '/home/adviniwim/awim/app/logs/error.log'
$mask = null file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384
Cake\Log\Log::error() - CORE/src/Log/Log.php, line 453
Cake\Error\BaseErrorHandler::_logException() - CORE/src/Error/BaseErrorHandler.php, line 319
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 188
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ??
Warning : file_put_contents() [function.file-put-contents ]: Only 0 of 1062 bytes written, possibly out of free disk space in /home/adviniwim/awim/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133