Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23224

Remove fputs(STDERR) usage from Asynchronous publishing

    Details

    • Type: Feature Feature
    • Status: Declined
    • Priority: High High
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: Customer request
    • Component/s: Misc
    • Labels:

      Description

      In some circumstances (+deamon, +forks, +closed stream) it's possible not to have the STDERR available to send the output through fputs what results in a ot a valid stream resource error


      PHP Warning: fputs(): 3 is not a valid stream resource in ezpublish_legacy/kernel/classes/ezscript.php on line 1195
      PHP Warning: fputs(): 3 is not a valid stream resource in ezpublish_legacy/kernel/classes/ezscript.php on line 1196
      PHP Warning: fputs(): 3 is not a valid stream resource in ezpublish_legacy/kernel/classes/ezscript.php on line 1197

      The worse is not the warning by itself, it's the impossibility of having access to the error that originated the message, what could be important for the debugging.

      In that way, it makes sense to replace the fputs(SDTERR) in asynchronous publishing to other forms of logging, specially because it's supposed to be executed as daemon.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: