После обновления до 6.1.6 перестал формироваться pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ilya
    Junior Member
    • Feb 2021
    • 3

    После обновления до 6.1.6 перестал формироваться pdf

    Добрый день! После несколько обновлений подряд - сначала до 6.1.5, затем до 6.1.6., перестали формироваться pdf. В логах следующие ошибки:
    Code:
    [2021-05-03 20:39:55] WARNING: E_WARNING: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/185.185.68.167/public_html:/home/admin/tmp) {"code":2,"message":"is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/185.185.68.167/public_html:/home/admin/tmp)","file":"/home/admin/web/185.185.68.167/public_html/vendor/zordius/lightncandy/src/LightnCandy.php","line":146} []
    [2021-05-03 20:39:55] WARNING: E_WARNING: include(): data:// wrapper is disabled in the server configuration by allow_url_include=0 {"code":2,"message":"include(): data:// wrapper is disabled in the server configuration by allow_url_include=0","file":"/home/admin/web/185.185.68.167/public_html/vendor/zordius/lightncandy/src/LightnCandy.php","line":166} []
    [2021-05-03 20:39:55] WARNING: E_WARNING: include(data://text/plain,%3C%3Fphp+use+%5CLightnCandy%5CRuntime+as+LR %3Breturn+function+%28%24in+%3D+null%2C+%24options +%3D+null%29+%7B%0A++++%24helpers+%3D+array%28%29% 3B%0A++++%24partials+%3D+array%28%29%3B%0A++++%24c x+%3D+array%28%0A++++++++%27flags%27+%3D%3E+array% 28%0A++++++++++++%27jstrue%27+%3D%3E+true%2C%0A+++ +++++++++%27jsobj%27+%3D%3E+true%2C%0A++++++++++++ %27jslen%27+%3D%3E+true%2C%0A++++++++++++%27spvar% 27+%3D%3E+true%2C%0A++++++++++++%27prop%27+%3D%3E+ false%2C%0A++++++++++++%27method%27+%3D%3E+false%2 C%0A++++++++++++%27lambda%27+%3D%3E+false%2C%0A+++ +++++++++%27mustlok%27+%3D%3E+false%2C%0A+++++++++ +++%27mustlam%27+%3D%3E+false%2C%0A++++++++++++%27 mustsec%27+%3D%3E+false%2C%0A++++++++++++%27echo%2 7+%3D%3E+false%2C%0A++++++++++++%27partnc%27+%3D%3 E+false%2C%0A++++++++++++%27knohlp%27+%3D%3E+false %2C%0A++++++++++++%27debug%27+%3D%3E+isset%28%24op tions%5B%27debug%27%5D%29+%3F+%24options%5B%27debu g%27%5D+%3A+1%2C%0A++++++++%29%2C%0A++++++++%27con stants%27+%3D%3E+array%28%29%2C%0A++++++++%27helpe rs%27+%3D%3E+isset%28%24options%5B%27helpers%27%5D %29+%3F+array_merge%28%24helpers%2C+%24options%5B% 27helpers%27%5D%29+%3A+%24helpers%2C%0A++++++++%27 partials%27+%3D%3E+isset%28%24options%5B%27partial s%27%5D%29+%3F+array_merge%28%24partials%2C+%24opt ions%5B%27partials%27%5D%29+%3A+%24partials%2C%0A+ +++++++%27scopes%27+%3D%3E+array%28%29%2C%0A++++++ ++%27sp_vars%27+%3D%3E+isset%28%24options%5B%27dat a%27%5D%29+%3F+array_merge%28array%28%27root%27+%3 D%3E+%24in%29%2C+%24options%5B%27data%27%5D%29+%3A +array%28%27root%27+%3D%3E+%24in%29%2C%0A++++++++% 27blparam%27+%3D%3E+array%28%29%2C%0A++++++++%27pa rtialid%27+%3D%3E+0%2C%0A++++++++%27runtime%27+%3D %3E+%27%5CLightnCandy%5CRuntime%27%2C%0A++++%29%3B %0A++++%0A++++%24inary%3Dis_array%28%24in%29%3B%0A ++++return+%27%27%3B%0A%7D%3B+%3F%3E): failed to open stream: no suitable wrapper could be found {"code":2,"message":"include(data://text/plain,%3C%3Fphp+use+%5CLightnCandy%5CRuntime+as+LR %3Breturn+function+%28%24in+%3D+null%2C+%24options +%3D+null%29+%7B%0A++++%24helpers+%3D+array%28%29% 3B%0A++++%24partials+%3D+array%28%29%3B%0A++++%24c x+%3D+array%28%0A++++++++%27flags%27+%3D%3E+array% 28%0A++++++++++++%27jstrue%27+%3D%3E+true%2C%0A+++ +++++++++%27jsobj%27+%3D%3E+true%2C%0A++++++++++++ %27jslen%27+%3D%3E+true%2C%0A++++++++++++%27spvar% 27+%3D%3E+true%2C%0A++++++++++++%27prop%27+%3D%3E+ false%2C%0A++++++++++++%27method%27+%3D%3E+false%2 C%0A++++++++++++%27lambda%27+%3D%3E+false%2C%0A+++ +++++++++%27mustlok%27+%3D%3E+false%2C%0A+++++++++ +++%27mustlam%27+%3D%3E+false%2C%0A++++++++++++%27 mustsec%27+%3D%3E+false%2C%0A++++++++++++%27echo%2 7+%3D%3E+false%2C%0A++++++++++++%27partnc%27+%3D%3 E+false%2C%0A++++++++++++%27knohlp%27+%3D%3E+false %2C%0A++++++++++++%27debug%27+%3D%3E+isset%28%24op tions%5B%27debug%27%5D%29+%3F+%24options%5B%27debu g%27%5D+%3A+1%2C%0A++++++++%29%2C%0A++++++++%27con stants%27+%3D%3E+array%28%29%2C%0A++++++++%27helpe rs%27+%3D%3E+isset%28%24options%5B%27helpers%27%5D %29+%3F+array_merge%28%24helpers%2C+%24options%5B% 27helpers%27%5D%29+%3A+%24helpers%2C%0A++++++++%27 partials%27+%3D%3E+isset%28%24options%5B%27partial s%27%5D%29+%3F+array_merge%28%24partials%2C+%24opt ions%5B%27partials%27%5D%29+%3A+%24partials%2C%0A+ +++++++%27scopes%27+%3D%3E+array%28%29%2C%0A++++++ ++%27sp_vars%27+%3D%3E+isset%28%24options%5B%27dat a%27%5D%29+%3F+array_merge%28array%28%27root%27+%3 D%3E+%24in%29%2C+%24options%5B%27data%27%5D%29+%3A +array%28%27root%27+%3D%3E+%24in%29%2C%0A++++++++% 27blparam%27+%3D%3E+array%28%29%2C%0A++++++++%27pa rtialid%27+%3D%3E+0%2C%0A++++++++%27runtime%27+%3D %3E+%27%5CLightnCandy%5CRuntime%27%2C%0A++++%29%3B %0A++++%0A++++%24inary%3Dis_array%28%24in%29%3B%0A ++++return+%27%27%3B%0A%7D%3B+%3F%3E): failed to open stream: no suitable wrapper could be found","file":"/home/admin/web/185.185.68.167/public_html/vendor/zordius/lightncandy/src/LightnCandy.php","line":166} []
    [2021-05-03 20:39:55] WARNING: E_WARNING: include(): Failed opening 'data://text/plain,%3C%3Fphp+use+%5CLightnCandy%5CRuntime+as+LR %3Breturn+function+%28%24in+%3D+null%2C+%24options +%3D+null%29+%7B%0A++++%24helpers+%3D+array%28%29% 3B%0A++++%24partials+%3D+array%28%29%3B%0A++++%24c x+%3D+array%28%0A++++++++%27flags%27+%3D%3E+array% 28%0A++++++++++++%27jstrue%27+%3D%3E+true%2C%0A+++ +++++++++%27jsobj%27+%3D%3E+true%2C%0A++++++++++++ %27jslen%27+%3D%3E+true%2C%0A++++++++++++%27spvar% 27+%3D%3E+true%2C%0A++++++++++++%27prop%27+%3D%3E+ false%2C%0A++++++++++++%27method%27+%3D%3E+false%2 C%0A++++++++++++%27lambda%27+%3D%3E+false%2C%0A+++ +++++++++%27mustlok%27+%3D%3E+false%2C%0A+++++++++ +++%27mustlam%27+%3D%3E+false%2C%0A++++++++++++%27 mustsec%27+%3D%3E+false%2C%0A++++++++++++%27echo%2 7+%3D%3E+false%2C%0A++++++++++++%27partnc%27+%3D%3 E+false%2C%0A++++++++++++%27knohlp%27+%3D%3E+false %2C%0A++++++++++++%27debug%27+%3D%3E+isset%28%24op tions%5B%27debug%27%5D%29+%3F+%24options%5B%27debu g%27%5D+%3A+1%2C%0A++++++++%29%2C%0A++++++++%27con stants%27+%3D%3E+array%28%29%2C%0A++++++++%27helpe rs%27+%3D%3E+isset%28%24options%5B%27helpers%27%5D %29+%3F+array_merge%28%24helpers%2C+%24options%5B% 27helpers%27%5D%29+%3A+%24helpers%2C%0A++++++++%27 partials%27+%3D%3E+isset%28%24options%5B%27partial s%27%5D%29+%3F+array_merge%28%24partials%2C+%24opt ions%5B%27partials%27%5D%29+%3A+%24partials%2C%0A+ +++++++%27scopes%27+%3D%3E+array%28%29%2C%0A++++++ ++%27sp_vars%27+%3D%3E+isset%28%24options%5B%27dat a%27%5D%29+%3F+array_merge%28array%28%27root%27+%3 D%3E+%24in%29%2C+%24options%5B%27data%27%5D%29+%3A +array%28%27root%27+%3D%3E+%24in%29%2C%0A++++++++% 27blparam%27+%3D%3E+array%28%29%2C%0A++++++++%27pa rtialid%27+%3D%3E+0%2C%0A++++++++%27runtime%27+%3D %3E+%27%5CLightnCandy%5CRuntime%27%2C%0A++++%29%3B %0A++++%0A++++%24inary%3Dis_array%28%24in%29%3B%0A ++++return+%27%27%3B%0A%7D%3B+%3F%3E' for inclusion (include_path='/home/admin/web/185.185.68.167/public_html') {"code":2,"message":"include(): Failed opening 'data://text/plain,%3C%3Fphp+use+%5CLightnCandy%5CRuntime+as+LR %3Breturn+function+%28%24in+%3D+null%2C+%24options +%3D+null%29+%7B%0A++++%24helpers+%3D+array%28%29% 3B%0A++++%24partials+%3D+array%28%29%3B%0A++++%24c x+%3D+array%28%0A++++++++%27flags%27+%3D%3E+array% 28%0A++++++++++++%27jstrue%27+%3D%3E+true%2C%0A+++ +++++++++%27jsobj%27+%3D%3E+true%2C%0A++++++++++++ %27jslen%27+%3D%3E+true%2C%0A++++++++++++%27spvar% 27+%3D%3E+true%2C%0A++++++++++++%27prop%27+%3D%3E+ false%2C%0A++++++++++++%27method%27+%3D%3E+false%2 C%0A++++++++++++%27lambda%27+%3D%3E+false%2C%0A+++ +++++++++%27mustlok%27+%3D%3E+false%2C%0A+++++++++ +++%27mustlam%27+%3D%3E+false%2C%0A++++++++++++%27 mustsec%27+%3D%3E+false%2C%0A++++++++++++%27echo%2 7+%3D%3E+false%2C%0A++++++++++++%27partnc%27+%3D%3 E+false%2C%0A++++++++++++%27knohlp%27+%3D%3E+false %2C%0A++++++++++++%27debug%27+%3D%3E+isset%28%24op tions%5B%27debug%27%5D%29+%3F+%24options%5B%27debu g%27%5D+%3A+1%2C%0A++++++++%29%2C%0A++++++++%27con stants%27+%3D%3E+array%28%29%2C%0A++++++++%27helpe rs%27+%3D%3E+isset%28%24options%5B%27helpers%27%5D %29+%3F+array_merge%28%24helpers%2C+%24options%5B% 27helpers%27%5D%29+%3A+%24helpers%2C%0A++++++++%27 partials%27+%3D%3E+isset%28%24options%5B%27partial s%27%5D%29+%3F+array_merge%28%24partials%2C+%24opt ions%5B%27partials%27%5D%29+%3A+%24partials%2C%0A+ +++++++%27scopes%27+%3D%3E+array%28%29%2C%0A++++++ ++%27sp_vars%27+%3D%3E+isset%28%24options%5B%27dat a%27%5D%29+%3F+array_merge%28array%28%27root%27+%3 D%3E+%24in%29%2C+%24options%5B%27data%27%5D%29+%3A +array%28%27root%27+%3D%3E+%24in%29%2C%0A++++++++% 27blparam%27+%3D%3E+array%28%29%2C%0A++++++++%27pa rtialid%27+%3D%3E+0%2C%0A++++++++%27runtime%27+%3D %3E+%27%5CLightnCandy%5CRuntime%27%2C%0A++++%29%3B %0A++++%0A++++%24inary%3Dis_array%28%24in%29%3B%0A ++++return+%27%27%3B%0A%7D%3B+%3F%3E' for inclusion (include_path='/home/admin/web/185.185.68.167/public_html')","file":"/home/admin/web/185.185.68.167/public_html/vendor/zordius/lightncandy/src/LightnCandy.php","line":166} []
    [2021-05-03 20:39:55] ERROR: Uncaught Exception Error: "Function name must be a string" at /home/admin/web/185.185.68.167/public_html/application/Espo/Core/Htmlizer/Htmlizer.php line 624 {"exception":"[object] (Error(code: 0): Function name must be a string at /home/admin/web/185.185.68.167/public_html/application/Espo/Core/Htmlizer/Htmlizer.php:624)"} []
    Подскажите в чём может быть проблема?
  • Ilya
    Junior Member
    • Feb 2021
    • 3

    #2
    Проблема решилась после присвоения allow_url_include = On в php.ini

    Comment

    Working...