Mautic Community Forums

Asset upload error

I have this log when I open an asset. Any time I tried to go in an asset editor, the system directly execute a download of the asset. The asset seems to be in the system, but when browse the app/file no files is in. The upload doesn’t work, and the the following log appears:



[2017-04-16 09:43:21] mautic.WARNING: PHP Warning - file_get_contents(…/public_html/master/app/…/media/files/c60fb9fdc050b6ca0b60a44f8502738320b75a39.pdf): failed to open stream: No such file or directory - in file …/public_html/master/app/bundles/AssetBundle/Entity/Asset.php - at line 1144 [] []

[2017-04-16 09:43:21] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: “The Response content must be a string or object implementing __toString(), “boolean” given.” at …/public_html/master/vendor/symfony/http-foundation/Response.php line 399 {“exception”:"[object] (UnexpectedValueException(code: 0): The Response content must be a string or object implementing __toString(), “boolean” given. at …/public_html/master/vendor/symfony/http-foundation/Response.php:399)"} []



Any idea what I could do?

Thanks for any orientation.

Jordi

I have this log when I open an asset. Any time I tried to go in an asset editor, the system directly execute a download of the asset. The asset seems to be in the system, but when browse the app/file no files is in. The upload doesn’t work, and the the following log appears:

[2017-04-16 09:43:21] mautic.WARNING: PHP Warning - file_get_contents(…/public_html/master/app/…/media/files/c60fb9fdc050b6ca0b60a44f8502738320b75a39.pdf): failed to open stream: No such file or directory - in file …/public_html/master/app/bundles/AssetBundle/Entity/Asset.php - at line 1144 [] []
[2017-04-16 09:43:21] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: “The Response content must be a string or object implementing __toString(), “boolean” given.” at …/public_html/master/vendor/symfony/http-foundation/Response.php line 399 {“exception”:"[object] (UnexpectedValueException(code: 0): The Response content must be a string or object implementing __toString(), “boolean” given. at …/public_html/master/vendor/symfony/http-foundation/Response.php:399)"} []

Any idea what I could do?
Thanks for any orientation.
Jordi