{"action":"created","issue":{"url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/21","repository_url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended","labels_url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/21/comments","events_url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/21/events","html_url":"https://github.com/MattHirschfelt/Nest-Extended/issues/21","id":127145489,"number":21,"title":"A couple of setup questions","user":{"login":"rr0ss0rr","id":16386590,"avatar_url":"https://avatars.githubusercontent.com/u/16386590?v=3","gravatar_id":"","url":"https://api.github.com/users/rr0ss0rr","html_url":"https://github.com/rr0ss0rr","followers_url":"https://api.github.com/users/rr0ss0rr/followers","following_url":"https://api.github.com/users/rr0ss0rr/following{/other_user}","gists_url":"https://api.github.com/users/rr0ss0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/rr0ss0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rr0ss0rr/subscriptions","organizations_url":"https://api.github.com/users/rr0ss0rr/orgs","repos_url":"https://api.github.com/users/rr0ss0rr/repos","events_url":"https://api.github.com/users/rr0ss0rr/events{/privacy}","received_events_url":"https://api.github.com/users/rr0ss0rr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-01-18T03:03:56Z","updated_at":"2016-07-26T02:06:04Z","closed_at":null,"body":"stephbb9@box289$ mysql -uuser -ppass < ~/www/steph/Nest-Extended/resources/nestdb.sql\r\n\r\nERROR 1044 (42000) at line 22: Access denied for user 'stephbb9_sr'@'localhost' to database 'matth41_nestdb'\r\n\r\nI edited nestdb.sql and had to change the database name to reflect myuserid_nestdb (maybe you can add this step to the Readme)\r\n\r\nBut now I'm trying to figure out how the cron command should look.  Running these on the command line to make sure it worked before putting in cron, I get (With and without the \"?\"):\r\n\r\nstephbb9@box289:~/www/steph/Nest-Extended/resources/utils$ /usr/bin/php nest-get-data.php?datatype=current\r\n\r\nStatus: 404 Not Found\r\nContent-type: text/html\r\n\r\nNo input file specified.\r\n--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2016-01-17 19:52:19\r\nstephbb9@box289:~/www/steph/Nest-Extended/resources/utils$ /usr/bin/php nest-get-data.php datatype=current\r\n\r\nStatus: 500 Internal Server Error\r\nContent-type: text/html\r\n\r\n\r\nWhat am I doing wrong?  Not really a MYSQL or PHP guy .. Just a Unix guy .. Thanks"},"comment":{"url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/comments/235142040","html_url":"https://github.com/MattHirschfelt/Nest-Extended/issues/21#issuecomment-235142040","issue_url":"https://api.github.com/repos/MattHirschfelt/Nest-Extended/issues/21","id":235142040,"user":{"login":"rr0ss0rr","id":16386590,"avatar_url":"https://avatars.githubusercontent.com/u/16386590?v=3","gravatar_id":"","url":"https://api.github.com/users/rr0ss0rr","html_url":"https://github.com/rr0ss0rr","followers_url":"https://api.github.com/users/rr0ss0rr/followers","following_url":"https://api.github.com/users/rr0ss0rr/following{/other_user}","gists_url":"https://api.github.com/users/rr0ss0rr/gists{/gist_id}","starred_url":"https://api.github.com/users/rr0ss0rr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rr0ss0rr/subscriptions","organizations_url":"https://api.github.com/users/rr0ss0rr/orgs","repos_url":"https://api.github.com/users/rr0ss0rr/repos","events_url":"https://api.github.com/users/rr0ss0rr/events{/privacy}","received_events_url":"https://api.github.com/users/rr0ss0rr/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T02:06:04Z","updated_at":"2016-07-26T02:06:04Z","body":"So I got back into this today when we changed over to the new main domain ..\r\n\r\nThe error I see that I'm getting is\r\n\r\nPHP Fatal error:  Undefined class constant 'PER_COUNTRY' in /home/steph/public_html/Nest-Extended/resources/config.php on line 8\r\n\r\nwhich correlates to \r\n$us_timezones = DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY, 'US');\r\n\r\nI'm in the US New York area.\r\n\r\nThanks for any pointers"}}
{"actor":{"display_login":"rr0ss0rr"}}