Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. REQUEST:http://web.cm.ltsdevelopment.com/api/event/create HEAD:{["token": "e8c6afa689c5c16341cb384a0d16c391", "email": "steftest1@test.com"]} BODY:{Optional(["start_time": 17:05:06, "price": 0, "creator_id": 273, "location_name": Hyperclinica MedLife Craiova, "recurring": 0, "end_time": 17:05:08, "can_invite_mates": 0, "title": test, "location_lat": 44.316777, "location_long": 23.811343, "end_date": 2017-01-18, "start_date": 2017-01-17, "event_type_ids": 3,2])}
  2. RESPONSE:http://web.cm.ltsdevelopment.com/api/event/create BODY:
  3. <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
  4.  
  5. <h4>A PHP Error was encountered</h4>
  6.  
  7. <p>Severity: Notice</p>
  8. <p>Message: Undefined index: recurring_type_id</p>
  9. <p>Filename: models/Event_model.php</p>
  10. <p>Line Number: 35</p>
  11.  
  12.  
  13. <p>Backtrace:</p>
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. <p style="margin-left:10px">
  21. File: /var/www/cm/application/models/Event_model.php<br />
  22. Line: 35<br />
  23. Function: _error_handler </p>
  24.  
  25.  
  26.  
  27.  
  28. <p style="margin-left:10px">
  29. File: /var/www/cm/application/controllers/api/Event.php<br />
  30. Line: 15<br />
  31. Function: create </p>
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. <p style="margin-left:10px">
  39. File: /var/www/cm/application/libraries/REST_Controller.php<br />
  40. Line: 688<br />
  41. Function: call_user_func_array </p>
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. <p style="margin-left:10px">
  51. File: /var/www/cm/index.php<br />
  52. Line: 292<br />
  53. Function: require_once </p>
  54.  
  55.  
  56.  
  57.  
  58. </div>{"success":false,"message":"Invalid recurring_type_id, please check the existing list!"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement