{"action":"created","issue":{"url":"https://api.github.com/repos/SDey96/open-learning/issues/2","repository_url":"https://api.github.com/repos/SDey96/open-learning","labels_url":"https://api.github.com/repos/SDey96/open-learning/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/SDey96/open-learning/issues/2/comments","events_url":"https://api.github.com/repos/SDey96/open-learning/issues/2/events","html_url":"https://github.com/SDey96/open-learning/issues/2","id":271189486,"number":2,"title":"Messages Cannot be Sent via AJAX","user":{"login":"SDey96","id":10501819,"avatar_url":"https://avatars2.githubusercontent.com/u/10501819?v=4","gravatar_id":"","url":"https://api.github.com/users/SDey96","html_url":"https://github.com/SDey96","followers_url":"https://api.github.com/users/SDey96/followers","following_url":"https://api.github.com/users/SDey96/following{/other_user}","gists_url":"https://api.github.com/users/SDey96/gists{/gist_id}","starred_url":"https://api.github.com/users/SDey96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDey96/subscriptions","organizations_url":"https://api.github.com/users/SDey96/orgs","repos_url":"https://api.github.com/users/SDey96/repos","events_url":"https://api.github.com/users/SDey96/events{/privacy}","received_events_url":"https://api.github.com/users/SDey96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2017-11-04T12:44:38Z","updated_at":"2017-11-04T14:57:06Z","closed_at":null,"author_association":"OWNER","body":"Whenever I try sending messages through `profile.php`, it returns an uncertain error. The concerned form's ID is `#message-form`.\r\n\r\n**Steps to reproduce the error:**\r\n1. Import the SQL queries from `openlearn.sql`, if not already done.\r\n2. In the URL, type \"`localhost/open-learning/profile.php?instructor_email=username@domain.com`\" (The email must exist in the `Instructor` table.).\r\n3. Click on \"Send Message\", fill out all the fields, and click on \"Send\".\r\n\r\n\r\n**Concerned files are:** \r\n1. `profile.php`: The concerned page.\r\n2. `send-message.js`: Contains AJAX code.\r\n3. `send-message.php`: contains the PHP code for updating data into the `Messages` table."},"comment":{"url":"https://api.github.com/repos/SDey96/open-learning/issues/comments/341903068","html_url":"https://github.com/SDey96/open-learning/issues/2#issuecomment-341903068","issue_url":"https://api.github.com/repos/SDey96/open-learning/issues/2","id":341903068,"user":{"login":"SDey96","id":10501819,"avatar_url":"https://avatars2.githubusercontent.com/u/10501819?v=4","gravatar_id":"","url":"https://api.github.com/users/SDey96","html_url":"https://github.com/SDey96","followers_url":"https://api.github.com/users/SDey96/followers","following_url":"https://api.github.com/users/SDey96/following{/other_user}","gists_url":"https://api.github.com/users/SDey96/gists{/gist_id}","starred_url":"https://api.github.com/users/SDey96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDey96/subscriptions","organizations_url":"https://api.github.com/users/SDey96/orgs","repos_url":"https://api.github.com/users/SDey96/repos","events_url":"https://api.github.com/users/SDey96/events{/privacy}","received_events_url":"https://api.github.com/users/SDey96/received_events","type":"User","site_admin":false},"created_at":"2017-11-04T14:57:06Z","updated_at":"2017-11-04T14:57:06Z","author_association":"OWNER","body":"With regard to the aforementioned log, can you tell me how do I pass on the value of `$inst_id` from `profile.php` to `send-message.php`?"}}
{"actor":{"display_login":"SDey96"}}