attachment of PDF stopped working Issue

paulohabl
paulohabl
Offline
0
Suddenly emails have no PDF attached. PDF can be generated manually.

The only change is that I have upgraded PHP 7.0 to 7.2

Paulo

Accepted Answer

paulohabl
paulohabl
Offline
Sunday, October 07 2018, 01:29 PM - #Permalink
0
Finally sorted.

Enable PHP file_put_contents()

As you recommended Germinal, the problem was on hosting server. Not on the directory permissions but on a PHP function configuration. This is the solution the hosting service informed they did:
Our admin Enabled file_put_content on the server, to resolve this issue.
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Saturday, September 15 2018, 10:10 PM - #Permalink
    0
    Also, the logo is not being inserted into the PDF generated manually. Looking into the template it is all fine.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 17 2018, 08:57 AM - #Permalink
    0
    please send me access...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 15 2018, 08:44 AM - #Permalink
    0
    paulohabl wrote:

    Finally sorted.

    Enable PHP file_put_contents()

    As you recommended Germinal, the problem was on hosting server. Not on the directory permissions but on a PHP function configuration. This is the solution the hosting service informed they did:
    Our admin Enabled file_put_content on the server, to resolve this issue.


    Hi this could be the solution to my issue too, where exactly on the server was this placed please?
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Monday, October 15 2018, 01:16 PM - #Permalink
    0
    Sorry, but I have no idea where this function is enabled. Ask your host service, or google it as per your web system configuration..
    • Germinal Camps
      more than a month ago
      this can be enabled in the php.ini configuration file.
    The reply is currently minimized Show
Your Reply