{"action":"created","issue":{"url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/1","repository_url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File","labels_url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/1/comments","events_url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/1/events","html_url":"https://github.com/niloyniloy/Import-Into-Database-From-Excel-File/issues/1","id":230132950,"number":1,"title":"I GOT AN INTERNAL SERVER ERROR ","user":{"login":"vishnu-the-developer","id":19724946,"avatar_url":"https://avatars1.githubusercontent.com/u/19724946?v=3","gravatar_id":"","url":"https://api.github.com/users/vishnu-the-developer","html_url":"https://github.com/vishnu-the-developer","followers_url":"https://api.github.com/users/vishnu-the-developer/followers","following_url":"https://api.github.com/users/vishnu-the-developer/following{/other_user}","gists_url":"https://api.github.com/users/vishnu-the-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/vishnu-the-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishnu-the-developer/subscriptions","organizations_url":"https://api.github.com/users/vishnu-the-developer/orgs","repos_url":"https://api.github.com/users/vishnu-the-developer/repos","events_url":"https://api.github.com/users/vishnu-the-developer/events{/privacy}","received_events_url":"https://api.github.com/users/vishnu-the-developer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-20T05:57:40Z","updated_at":"2017-05-22T04:21:44Z","closed_at":null,"body":"I got an inernal server error during uploading. Please Help me this is my code\r\n`\t\t$name = $_FILES['uploadSheet']['name'];\r\n\r\n\t\t$tmp_loc = $_FILES['uploadSheet']['tmp_name'];\r\n\r\n\t\t$extension = pathinfo($name, PATHINFO_EXTENSION);\r\n\r\n\t\t$new =  'file'. '.' .$extension;\r\n\r\n\t\t$pathAndName = \"bulkUploadFiles/\" . $new;\r\n\r\n\t\t$moveResult = move_uploaded_file($tmp_loc, $pathAndName);\r\n\r\n\t\t\ttry {\r\n\t\t\t\t$objPHPExcel = PHPExcel_IOFactory::load($pathAndName);\r\n\t\t\t} catch(Exception $e) {\r\n\t\t\t\t//die('Error loading file \"'.pathinfo($fileName,PATHINFO_BASENAME).'\": '.$e->getMessage());\r\n\t\t\t}\r\n\r\n\t\t\t$allDataInSheet = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);\r\n\r\n\t\t\t$arrayCount = count($allDataInSheet);  // Here get total count of row in that Excel sheet\r\n\r\n\t\t\tfor($i=2;$i<=$arrayCount;$i++){\r\n\r\n                             $Sl_No= trim($allDataInSheet[$i][\"A\"]);\r\n\r\n                        }`\r\nAlso i got the below code caught to be error on console\r\n`xhr.send( ( s.hasContent && s.data ) || null );`"},"comment":{"url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/comments/302995981","html_url":"https://github.com/niloyniloy/Import-Into-Database-From-Excel-File/issues/1#issuecomment-302995981","issue_url":"https://api.github.com/repos/niloyniloy/Import-Into-Database-From-Excel-File/issues/1","id":302995981,"user":{"login":"vishnu-the-developer","id":19724946,"avatar_url":"https://avatars1.githubusercontent.com/u/19724946?v=3","gravatar_id":"","url":"https://api.github.com/users/vishnu-the-developer","html_url":"https://github.com/vishnu-the-developer","followers_url":"https://api.github.com/users/vishnu-the-developer/followers","following_url":"https://api.github.com/users/vishnu-the-developer/following{/other_user}","gists_url":"https://api.github.com/users/vishnu-the-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/vishnu-the-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishnu-the-developer/subscriptions","organizations_url":"https://api.github.com/users/vishnu-the-developer/orgs","repos_url":"https://api.github.com/users/vishnu-the-developer/repos","events_url":"https://api.github.com/users/vishnu-the-developer/events{/privacy}","received_events_url":"https://api.github.com/users/vishnu-the-developer/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T04:21:44Z","updated_at":"2017-05-22T04:21:44Z","body":"Thank You For Replay\n​\nNiloy Niloy ,\n\nActually this error occurred when we tried to edit an .xlsx file in Ubuntu\nLibre Office. I edited it in this and saved to windows format. then I got\ninernal server error. But when i saved it in .odt(linux Format). The\nworking is perfect. Please do keep an eye on this\nThank You\n\n___________________________________\n\nThanks and Regards\n*VISHNU* *S*adanandan - ASS. SOFTWARE ENGINEER\nNesote Technologies (P) Ltd.\nKaduthuruthy P.O 686604\nc <https://www.facebook.com/profile.php?id=100012171632170> e\n<https://plus.google.com/u/0/117426948690051127547> d\n<https://twitter.com/vishnu60929848>\n\nOn Sat, May 20, 2017 at 10:39 PM, Niloy Niloy <notifications@github.com>\nwrote:\n\n> pls let me know, what specific error you got. U can add those lines at the\n> top of your code.\n>\n> ini_set('display_errors', 1);\n> ini_set('display_startup_errors', 1);\n> error_reporting(E_ALL);\n>\n> or set display_errors = on in your php.ini file. and i think, there is\n> nothing to do with js error. Maybe it is related to your code. This file\n> uploading is purely server side via php. There is no js involvement here.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/niloyniloy/Import-Into-Database-From-Excel-File/issues/1#issuecomment-302886113>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ASz6kldVBawJi_pC9Z8ROnCD8Mfsema6ks5r7x46gaJpZM4NhNBM>\n> .\n>\n"}}
{"actor":{"display_login":"vishnu-the-developer"}}