Jump to content

Edit History

Trampino

Trampino

I have this error, which happens only on APPLE devices.  

 

If I set debug mode of my prestashop as deactive and click in APPEL device on hyperlink for download of virtual product PDF file, then Safari displays only text which I can translate to english like "There are repeated problems with this process: https://www.zapokladem.cz/index.php?controller=get-file&key= ..."  Where ... you can change with specific parameters of concrete order and downloaded virtual product file. And now information is written in log file /var/logs/dev.log 

If I set debug mode of my prestashop as active and click in APPEL device on hyperlink for download of virtual product PDF file, then Safari displays contain of virtual product PDF file correctly.
And when I look in to /var/logs/dev.log file, these information are written there:
[2022-01-02 01:34:07] doctrine.DEBUG: SELECT name FROM ps_module WHERE active = 1 [] []
[2022-01-02 01:34:07] request.INFO: Matched route "admin_common_notifications". {"route":"admin_common_notifications","route_parameters":{"_controller":"PrestaShopBundle\\Controller\\Admin\\CommonController::notificationsAction","_legacy_controller":"AdminCommon","_legacy_link":"AdminCommon","_route":"admin_common_notifications"},"request_uri":"https://www.zapokladem.cz/ada/index.php/common/notifications?_token=15SRtr-TcV8cv47dpqDYHMTXtRJrBgjkhmtwZFbyZ2A&rand=1741085647314","method":"POST"} []
[2022-01-02 01:34:07] security.DEBUG: Read existing security token from the session. {"key":"_security_main","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2022-01-02 01:34:07] security.DEBUG: User was reloaded from a user provider. {"provider":"PrestaShopBundle\\Security\\Admin\\EmployeeProvider","username":"[email protected]"} []
[2022-01-02 01:34:07] php.INFO: User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Creating Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. at /data/www/zapokladem.cz/www.zapokladem.cz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php:66)"} []
[2022-01-02 01:34:08] php.INFO: User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Implementing \"Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface\" without the \"reset()\" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class \"Csa\\Bundle\\GuzzleBundle\\DataCollector\\GuzzleCollector\". at /data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:215)"} []
[2022-01-02 01:34:08] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
[2022-01-02 01:34:08] php.DEBUG: Warning: file_exists(): open_basedir restriction in effect. File(/data/www/composer.json) is not within the allowed path(s): (/data/www/zapokladem.cz/:/usr/local/php-7.2/lib/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":94,\"trace\":[{\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":55,\"function\":\"getComposerRoot\",\"class\":\"Symfony\\\\Component\\\\VarDumper\\\\Caster\\\\LinkStub\",\"type\":\"->\"}],\"count\":1})"} []
[2022-01-02 01:34:08] php.DEBUG: Warning: file_exists(): open_basedir restriction in effect. File(/data/www) is not within the allowed path(s): (/data/www/zapokladem.cz/:/usr/local/php-7.2/lib/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":95,\"trace\":[{\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":55,\"function\":\"getComposerRoot\",\"class\":\"Symfony\\\\Component\\\\VarDumper\\\\Caster\\\\LinkStub\",\"type\":\"->\"}],\"count\":1})"} []

But my problem is, that I do not understand information from log file.
Pleas can anyone give me advice, where cloud be problem?

If I open email with hyperlink in CHROME or EDGE in Android or in Windows and click on hyperlink, then virtual product PDF file is downloaded without any problems. Regardles the debug mode is set as true or false.

Trampino

Trampino

I have this error, which happens only on APPLE devices.  

 

If I set debug mode of my prestashop as deactive and click in APPEL device on hyperlink for download of virtual product PDF file, then Safari displays only text which I can translate to english like "There are repeated problems with this process: https://www.zapokladem.cz/index.php?controller=get-file&key= ..."  Where ... you can change with specific parameters of concrete order and downloaded virtual product file.

If I set debug mode of my prestashop as active and click in APPEL device on hyperlink for download of virtual product PDF file, then Safari open and displays virtual product PDF file. And these information is writen in /var/logs/dev.log file:
[2022-01-02 01:34:07] doctrine.DEBUG: SELECT name FROM ps_module WHERE active = 1 [] []
[2022-01-02 01:34:07] request.INFO: Matched route "admin_common_notifications". {"route":"admin_common_notifications","route_parameters":{"_controller":"PrestaShopBundle\\Controller\\Admin\\CommonController::notificationsAction","_legacy_controller":"AdminCommon","_legacy_link":"AdminCommon","_route":"admin_common_notifications"},"request_uri":"https://www.zapokladem.cz/ada/index.php/common/notifications?_token=15SRtr-TcV8cv47dpqDYHMTXtRJrBgjkhmtwZFbyZ2A&rand=1741085647314","method":"POST"} []
[2022-01-02 01:34:07] security.DEBUG: Read existing security token from the session. {"key":"_security_main","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2022-01-02 01:34:07] security.DEBUG: User was reloaded from a user provider. {"provider":"PrestaShopBundle\\Security\\Admin\\EmployeeProvider","username":"[email protected]"} []
[2022-01-02 01:34:07] php.INFO: User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Creating Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. at /data/www/zapokladem.cz/www.zapokladem.cz/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php:66)"} []
[2022-01-02 01:34:08] php.INFO: User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Implementing \"Symfony\\Component\\HttpKernel\\DataCollector\\DataCollectorInterface\" without the \"reset()\" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class \"Csa\\Bundle\\GuzzleBundle\\DataCollector\\GuzzleCollector\". at /data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:215)"} []
[2022-01-02 01:34:08] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
[2022-01-02 01:34:08] php.DEBUG: Warning: file_exists(): open_basedir restriction in effect. File(/data/www/composer.json) is not within the allowed path(s): (/data/www/zapokladem.cz/:/usr/local/php-7.2/lib/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":94,\"trace\":[{\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":55,\"function\":\"getComposerRoot\",\"class\":\"Symfony\\\\Component\\\\VarDumper\\\\Caster\\\\LinkStub\",\"type\":\"->\"}],\"count\":1})"} []
[2022-01-02 01:34:08] php.DEBUG: Warning: file_exists(): open_basedir restriction in effect. File(/data/www) is not within the allowed path(s): (/data/www/zapokladem.cz/:/usr/local/php-7.2/lib/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":95,\"trace\":[{\"file\":\"/data/www/zapokladem.cz/www.zapokladem.cz/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":55,\"function\":\"getComposerRoot\",\"class\":\"Symfony\\\\Component\\\\VarDumper\\\\Caster\\\\LinkStub\",\"type\":\"->\"}],\"count\":1})"} []

But I am not shure, that I understand information from log file.
Pleas can any one give me advice, where cloud by problem?

If I open email with hyperlink in Android or Windows in CHROME or EDGE and click on it, then virtual product PDF file is downloaded. Regardles the debug mode is set as true or false.

×
×
  • Create New...