{"action":"created","issue":{"url":"https://api.github.com/repos/YOURLS/YOURLS/issues/2182","repository_url":"https://api.github.com/repos/YOURLS/YOURLS","labels_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/2182/comments","events_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/2182/events","html_url":"https://github.com/YOURLS/YOURLS/issues/2182","id":198019526,"number":2182,"title":"1.7.1 Installer Error + Workaround","user":{"login":"jwkite","id":24827991,"avatar_url":"https://avatars.githubusercontent.com/u/24827991?v=3","gravatar_id":"","url":"https://api.github.com/users/jwkite","html_url":"https://github.com/jwkite","followers_url":"https://api.github.com/users/jwkite/followers","following_url":"https://api.github.com/users/jwkite/following{/other_user}","gists_url":"https://api.github.com/users/jwkite/gists{/gist_id}","starred_url":"https://api.github.com/users/jwkite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwkite/subscriptions","organizations_url":"https://api.github.com/users/jwkite/orgs","repos_url":"https://api.github.com/users/jwkite/repos","events_url":"https://api.github.com/users/jwkite/events{/privacy}","received_events_url":"https://api.github.com/users/jwkite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-29T14:56:26Z","updated_at":"2016-12-29T15:01:04Z","closed_at":"2016-12-29T15:01:04Z","body":"### Technical details\r\n\r\n* YOURLS version: 1.7.1\r\n* PHP version: 5\r\n* MySQL 5.5.52-cll\r\n\r\n### Reproducible Bug Summary \r\nI had a site running YOURLS v1.6 but could not install a second site running 1.7.1\r\n\r\n1. Follow instruction steps, including making appropriate config.php changes; set DEBUG to true\r\n2. Go to <http://mydomain.co/admin> and tail the error_log\r\n3. Receive an error page indicating too many redirects; error log reads: Table 'databasename.options' doesn't exist SELECT `option_name`, `option_value` FROM `options` WHERE 1=1 in /path/...//includes/ezSQL/ez_sql_pdo.php on line 165\r\n\r\nAfter a fair amount of trial and error I copied the 1.6 admin directory to my new site, and it worked.\r\n\r\nSo I don't know the specific issue in the installer, but it seems that the 1.7.1 installer was not actually building the tables, but the 1.6 installer did.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/YOURLS/YOURLS/issues/comments/269642027","html_url":"https://github.com/YOURLS/YOURLS/issues/2182#issuecomment-269642027","issue_url":"https://api.github.com/repos/YOURLS/YOURLS/issues/2182","id":269642027,"user":{"login":"ozh","id":223647,"avatar_url":"https://avatars.githubusercontent.com/u/223647?v=3","gravatar_id":"","url":"https://api.github.com/users/ozh","html_url":"https://github.com/ozh","followers_url":"https://api.github.com/users/ozh/followers","following_url":"https://api.github.com/users/ozh/following{/other_user}","gists_url":"https://api.github.com/users/ozh/gists{/gist_id}","starred_url":"https://api.github.com/users/ozh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozh/subscriptions","organizations_url":"https://api.github.com/users/ozh/orgs","repos_url":"https://api.github.com/users/ozh/repos","events_url":"https://api.github.com/users/ozh/events{/privacy}","received_events_url":"https://api.github.com/users/ozh/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T15:01:04Z","updated_at":"2016-12-29T15:01:04Z","body":"Definitely cannot reproduce, and I think if the installer was broken the issue would have been raised a couple dozens of thousands installs earlier...\r\n\r\n\"After a fair amount of trial and error\" makes this report invalid, though, since we don't know what happened and what you did.\r\n\r\nFor the record, getting a notice about \"databasename.options doesn't exist\" during first install is completely normal and expected."}}
{"actor":{"display_login":"ozh"}}