*/
public function getProxy($className, array $identifier)
{
$definition = isset($this->definitions[$className])
? $this->definitions[$className]
: $this->getProxyDefinition($className);
$fqcn = $definition->proxyClassName;
$proxy = new $fqcn($definition->initializer, $definition->cloner);
foreach ($definition->identifierFields as $idField) {
if (! isset($identifier[$idField])) {
default:
switch (true) {
// We are negating the condition here. Other cases will assume it is valid!
case ($hints['fetchMode'][$class->name][$field] !== ClassMetadata::FETCH_EAGER):
$newValue = $this->em->getProxyFactory()->getProxy($assoc['targetEntity'], $associatedId);
break;
// Deferred eager load only works for single identifier classes
case (isset($hints[self::HINT_DEFEREAGERLOAD]) && ! $targetClass->isIdentifierComposite):
// TODO: Is there a faster approach?
if (isset($this->_hints[Query::HINT_REFRESH_ENTITY])) {
$this->registerManaged($this->class, $this->_hints[Query::HINT_REFRESH_ENTITY], $data);
}
$uow = $this->_em->getUnitOfWork();
$entity = $uow->createEntity($entityName, $data, $this->_hints);
$result[] = $entity;
if (isset($this->_hints[Query::HINT_INTERNAL_ITERATION]) && $this->_hints[Query::HINT_INTERNAL_ITERATION]) {
$this->_uow->hydrationComplete();
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
$entities = $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, $hints);
return $entities ? $entities[0] : null;
}
/**
/**
* @Route("/detailsope/{opera}/{more}/",name="details_ope")
*/
public function detailsAction($opera) {
$identification = $this->getDoctrine()->getManager()->getRepository('UserBundle:TIdentification')
->findOneBy(array('codeUnique' => $opera));
$operateur = $this->getDoctrine()->getManager()->getRepository('UserBundle:TOperateur')
->byIdentifiant($identification);
if (empty($operateur)) {
return $this->render('@User/Pages/404.html.twig');
}
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = \call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
//$kernel = new AppCache($kernel);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Level | Channel | Message |
---|---|---|
INFO 07:02:05 | request | Matched route "details_ope". |
INFO 07:02:05 | security | Populated the TokenStorage with an anonymous Token. |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest". |
INFO 07:02:05 | php | User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead. |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". |
DEBUG 07:02:05 | event | Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments". |
DEBUG 07:02:05 | event | Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments". |
INFO 07:02:05 | php | Deprecated: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? |
INFO 07:02:05 | php | Deprecated: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? |
DEBUG 07:02:05 | doctrine | SELECT t0.id_identification AS id_identification_1, t0.denomination AS denomination_2, t0.sigle AS sigle_3, t0.statut AS statut_4, t0.nature AS nature_5, t0.raison_sociale AS raison_sociale_6, t0.regime_fiscal AS regime_fiscal_7, t0.localisation AS localisation_8, t0.siege AS siege_9, t0.anne_creation AS anne_creation_10, t0.annee_fermeture AS annee_fermeture_11, t0.nbre_surccursale AS nbre_surccursale_12, t0.code_unique AS code_unique_13, t0.RCCM AS RCCM_14, t0.ID_NAT AS ID_NAT_15, t0.num_ident_fiscal AS num_ident_fiscal_16, t0.num_import_export AS num_import_export_17, t0.num_aff_INSS AS num_aff_INSS_18, t0.num_aff_INPP AS num_aff_INPP_19, t0.num_compte_bancaire_interne AS num_compte_bancaire_interne_20, t0.num_compte_bancaire_etranger AS num_compte_bancaire_etranger_21, t0.capital_social AS capital_social_22, t0.num_TVA AS num_TVA_23, t0.num_dgda AS num_dgda_24, t0.num_DGI AS num_DGI_25, t0.num_dgrad AS num_dgrad_26, t0.num_occ AS num_occ_27, t0.boite_postal AS boite_postal_28, t0.fax AS fax_29, t0.telephone AS telephone_30, t0.site_web AS site_web_31, t0.mail AS mail_32, t0.fichier AS fichier_33, t0.nom_original AS nom_original_34, t0.detail_regime AS detail_regime_35, t0.profil_oil AS profil_oil_36, t0.description AS description_37, t0.id_secteur AS id_secteur_38, t0.id_categorie AS id_categorie_39, t0.id_forme AS id_forme_40 FROM t_identification t0 WHERE t0.code_unique = ? LIMIT 1 |
DEBUG 07:02:05 | php | Notice: file_put_contents(): write of 1576 bytes failed with errno=122 Disk quota exceeded |
CRITICAL 07:02:05 | request | Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: file_put_contents(): Only 4096 of 5672 bytes written, possibly out of free disk space" at /home/minhydro/e-hydro.hydrocarbures.gouv.cd/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php line 304 |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 344 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 95 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 297 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 283 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 279 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 317 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 279 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 287 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 571 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 305 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 307 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 311 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 319 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 309 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 307 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 345 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 347 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 398 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 398 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 1463 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 653 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 657 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 297 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 283 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 279 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 317 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 279 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 287 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 281 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 305 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 307 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 311 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 319 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 309 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 307 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 345 bytes failed with errno=122 Disk quota exceeded |
DEBUG 07:02:05 | event | Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments". |
DEBUG 07:02:05 | php | Notice: fwrite(): write of 347 bytes failed with errno=122 Disk quota exceeded |
ContextErrorException |
---|
Symfony\Component\Debug\Exception\ContextErrorException: Warning: file_put_contents(): Only 4096 of 5672 bytes written, possibly out of free disk space at vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php:304 at Doctrine\Common\Proxy\ProxyGenerator->generateProxyClass(object(ClassMetadata), '/home/minhydro/e-hydro.hydrocarbures.gouv.cd/var/cache/prod/doctrine/orm/Proxies/__CG__UserBundleEntityTSecteur.php') (vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:220) at Doctrine\Common\Proxy\AbstractProxyFactory->getProxyDefinition('UserBundle\\Entity\\TSecteur') (vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:119) at Doctrine\Common\Proxy\AbstractProxyFactory->getProxy('UserBundle\\Entity\\TSecteur', array('idSecteur' => 5)) (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:2707) at Doctrine\ORM\UnitOfWork->createEntity('UserBundle\\Entity\\TIdentification', array('idIdentification' => 1706, 'denomination' => 'GLENCORE ENERGY UK', 'sigle' => 'GLENCORE ENERGY UK ', 'statut' => 'En exploitation', 'nature' => '', 'raisonSociale' => 'Société petrolière', 'regimeFiscal' => 'Special', 'localisation' => '', 'siege' => '', 'anneCreation' => object(DateTime), 'anneeFermeture' => object(DateTime), 'nbreSurccursale' => 0, 'codeUnique' => '479798', 'rccm' => '', 'idNat' => '', 'numIdentFiscal' => '', 'numImportExport' => '', 'numAffInss' => '', 'numAffInpp' => '', 'numCompteBancaireInterne' => '', 'numCompteBancaireEtranger' => '', 'capitalSocial' => ' 0', 'numTva' => '', 'numDgda' => '', 'numDgi' => '', 'numDgrad' => '', 'numOcc' => '', 'boitePostal' => '', 'fax' => '', 'telephone' => '', 'siteWeb' => '', 'mail' => '', 'fichier' => null, 'nomOriginal' => null, 'detailRegime' => '', 'profilOil' => '', 'description' => null, 'id_secteur' => 5, 'id_categorie' => 14, 'id_forme' => 4), array('fetchMode' => array('UserBundle\Entity\TIdentification' => array('idSecteur' => 2)))) (vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:147) at Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator->hydrateRowData(array('id_identification_1' => '1706', 'denomination_2' => 'GLENCORE ENERGY UK', 'sigle_3' => 'GLENCORE ENERGY UK ', 'statut_4' => 'En exploitation', 'nature_5' => '', 'raison_sociale_6' => 'Société petrolière', 'regime_fiscal_7' => 'Special', 'localisation_8' => '', 'siege_9' => '', 'anne_creation_10' => '2017-07-17', 'annee_fermeture_11' => '2022-07-05', 'nbre_surccursale_12' => '0', 'code_unique_13' => '479798', 'RCCM_14' => '', 'ID_NAT_15' => '', 'num_ident_fiscal_16' => '', 'num_import_export_17' => '', 'num_aff_INSS_18' => '', 'num_aff_INPP_19' => '', 'num_compte_bancaire_interne_20' => '', 'num_compte_bancaire_etranger_21' => '', 'capital_social_22' => ' 0', 'num_TVA_23' => '', 'num_dgda_24' => '', 'num_DGI_25' => '', 'num_dgrad_26' => '', 'num_occ_27' => '', 'boite_postal_28' => '', 'fax_29' => '', 'telephone_30' => '', 'site_web_31' => '', 'mail_32' => '', 'fichier_33' => null, 'nom_original_34' => null, 'detail_regime_35' => '', 'profil_oil_36' => '', 'description_37' => null, 'id_secteur_38' => '5', 'id_categorie_39' => '14', 'id_forme_40' => '4'), array()) (vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:69) at Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator->hydrateAllData() (vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:150) at Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll(object(PDOStatement), object(ResultSetMapping), array()) (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:720) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('codeUnique' => '479798'), null, null, array(), null, 1, null) (vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:196) at Doctrine\ORM\EntityRepository->findOneBy(array('codeUnique' => '479798')) (src/UserBundle/Controller/OperateurController.php:174) at UserBundle\Controller\OperateurController->detailsAction('479798') (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app.php:19) |