Announcement

Collapse
No announcement yet.

Bad server response while editing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bad server response while editing

    Hello,

    Since I'm using EspoCRM I have a "bad server response" error on each time I try to edit or add something.

    I searched on this forum, my server error log is different from others.

    To illustrate this, I created a new task named "test" and this is my server error :

    Code:
    Bad server response: <br />
    <b>Deprecated</b>:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />
    <br />
    <b>Warning</b>:  Cannot modify header information - headers already sent in <b>Unknown</b> on line <b>0</b><br />
    {"id":"578341a251360ad70","name":"test","deleted":false,"status":"Not Started","priority":"Normal","dateStart":null,"dateEnd":null,"dateStartDate":null,"dateEndDate":null,"dateCompleted":null,"isOverdue":false,"description":"petit test","createdAt":"2016-07-11 06:50:10","modifiedAt":"2016-07-11 06:50:10","parentId":null,"parentType":"Account","parentName":null,"createdById":"1","assignedUserId":"1","assignedUserName":"Admin","teamsIds":[],"teamsNames":{},"attachmentsIds":[],"attachmentsNames":{},"attachmentsTypes":{}} espo.min.js:535:25
    How can I fix it ? Thanks

  • #2
    Hi

    Try to do what is suggested in your error message.

    Comment


    • #3
      Code:
       php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />
      I tried but how should I interpret this ? Only edit the ini file does nothing...

      I set these variables :
      Click image for larger version

Name:	ini1.PNG
Views:	146
Size:	23.9 KB
ID:	22778

      Click image for larger version

Name:	ini2.PNG
Views:	160
Size:	33.8 KB
ID:	22779
      Last edited by Leo; 07-11-2016, 07:44 AM. Reason: php.ini screen captures

      Comment


      • #4
        You can just try to disable error reporting in php.ini.

        Comment


        • #5
          This could be a bug in php 5.6 http://www.serverphorums.com/read.php?7,1048319,1048407

          Comment


          • #6
            Okay, thanks !

            Comment

            Working...
            X