{"action":"created","issue":{"url":"https://api.github.com/repos/craigk5n/webcalendar/issues/35","repository_url":"https://api.github.com/repos/craigk5n/webcalendar","labels_url":"https://api.github.com/repos/craigk5n/webcalendar/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/craigk5n/webcalendar/issues/35/comments","events_url":"https://api.github.com/repos/craigk5n/webcalendar/issues/35/events","html_url":"https://github.com/craigk5n/webcalendar/issues/35","id":251730512,"node_id":"MDU6SXNzdWUyNTE3MzA1MTI=","number":35,"title":"PHP Fatal error:  Cannot redeclare preventhacking() in \\x18\\xb7,\\xe3ZU on line 21","user":{"login":"htukiain","id":30077935,"node_id":"MDQ6VXNlcjMwMDc3OTM1","avatar_url":"https://avatars1.githubusercontent.com/u/30077935?v=4","gravatar_id":"","url":"https://api.github.com/users/htukiain","html_url":"https://github.com/htukiain","followers_url":"https://api.github.com/users/htukiain/followers","following_url":"https://api.github.com/users/htukiain/following{/other_user}","gists_url":"https://api.github.com/users/htukiain/gists{/gist_id}","starred_url":"https://api.github.com/users/htukiain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htukiain/subscriptions","organizations_url":"https://api.github.com/users/htukiain/orgs","repos_url":"https://api.github.com/users/htukiain/repos","events_url":"https://api.github.com/users/htukiain/events{/privacy}","received_events_url":"https://api.github.com/users/htukiain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-08-21T18:02:41Z","updated_at":"2019-11-03T13:56:08Z","closed_at":"2017-08-25T16:05:24Z","author_association":"NONE","body":"In webserver error log plenty of preventhacking on line 21.\r\nEndresult is that login page gives 500 error and I can not  login.\r\nAbout 1/5th of refereshes gives ok response, 4/5 gives 500 error from login page.\r\n\r\n\r\n[Mon Aug 21 20:58:44.022136 2017] [:error] [pid 5233] [client 91.152.167.194:57134] PHP Fatal error:  Cannot redeclare preventhacking() in \\x18\\xb7,\\xe3ZU on line 21, referer: xxxxx /month.php\r\n[Mon Aug 21 20:58:47.679431 2017] [:error] [pid 5236] [client 91.152.167.194:57137] PHP Fatal error:  Cannot redeclare preventhacking() in \\xf8\\xabs\\xe3ZU on line 21,"},"comment":{"url":"https://api.github.com/repos/craigk5n/webcalendar/issues/comments/549138912","html_url":"https://github.com/craigk5n/webcalendar/issues/35#issuecomment-549138912","issue_url":"https://api.github.com/repos/craigk5n/webcalendar/issues/35","id":549138912,"node_id":"MDEyOklzc3VlQ29tbWVudDU0OTEzODkxMg==","user":{"login":"WayneSallee","id":21111249,"node_id":"MDQ6VXNlcjIxMTExMjQ5","avatar_url":"https://avatars2.githubusercontent.com/u/21111249?v=4","gravatar_id":"","url":"https://api.github.com/users/WayneSallee","html_url":"https://github.com/WayneSallee","followers_url":"https://api.github.com/users/WayneSallee/followers","following_url":"https://api.github.com/users/WayneSallee/following{/other_user}","gists_url":"https://api.github.com/users/WayneSallee/gists{/gist_id}","starred_url":"https://api.github.com/users/WayneSallee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WayneSallee/subscriptions","organizations_url":"https://api.github.com/users/WayneSallee/orgs","repos_url":"https://api.github.com/users/WayneSallee/repos","events_url":"https://api.github.com/users/WayneSallee/events{/privacy}","received_events_url":"https://api.github.com/users/WayneSallee/received_events","type":"User","site_admin":false},"created_at":"2019-11-03T13:56:08Z","updated_at":"2019-11-03T13:56:08Z","author_association":"NONE","body":"I've been using Web Calendar for many years, and just now ran into this problem.\r\nI fixed it by doing the following:\r\n\r\n####################\r\n# Open includes/formvars.php\r\n# Add the first line:\r\nif (!function_exists('preventHacking'))   {\r\nfunction preventHacking ( $name, $instr ) {\r\n\r\n\r\n# Then at the end of the function add the extra }:\r\n    }\r\n  }\r\n}}\r\n###############\r\n\r\nI do have my calendar modified so that it is impossible to log in from the normal direction. So that could put me at a higher risk for this. But at least I have the fix for it. :-) Still seems strange that it would even happen in the first place. But it's fixed now. :-)\r\n\r\nWayne Sallee\r\nWayne@WayneSallee.com"}}
{"actor":{"display_login":"WayneSallee"}}