{"action":"created","issue":{"url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/171","labels_url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/171/comments","events_url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/171/events","html_url":"https://github.com/bigtreecms/BigTree-CMS/issues/171","id":57505887,"number":171,"title":"Internal Server Error and MySQLi problems","user":{"login":"PierBover","id":226483,"avatar_url":"https://avatars.githubusercontent.com/u/226483?v=3","gravatar_id":"","url":"https://api.github.com/users/PierBover","html_url":"https://github.com/PierBover","followers_url":"https://api.github.com/users/PierBover/followers","following_url":"https://api.github.com/users/PierBover/following{/other_user}","gists_url":"https://api.github.com/users/PierBover/gists{/gist_id}","starred_url":"https://api.github.com/users/PierBover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierBover/subscriptions","organizations_url":"https://api.github.com/users/PierBover/orgs","repos_url":"https://api.github.com/users/PierBover/repos","events_url":"https://api.github.com/users/PierBover/events{/privacy}","received_events_url":"https://api.github.com/users/PierBover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-12T19:16:56Z","updated_at":"2015-02-12T21:41:13Z","closed_at":null,"body":"So I installed BigTree a few times and always got an Internal Server Error. The installation finishes in a second or so, but when trying to access the admin or demo site it crashed.\r\n\r\nI tried using basic routing and changing permissions to 777, but I still get the error.\r\n\r\nThis is the error in the Apache log:\r\n> SoftException in Application.cpp:261: File \"**********/bigtreetest/site/index.php\" is writeable by group\r\n\r\nAfter some googling I changed permissions to 755 and now I get some mysqli errors.\r\n\r\n> Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'elhossmg_mysql'@'localhost' (using password: YES) in **********/bigtreetest/core/inc/bigtree/sql.php on line 16\r\n\r\n> Warning: mysqli::query(): Couldn't fetch mysqli in **********/bigtreetest/core/inc/bigtree/sql.php on line 17\r\n\r\n> Warning: mysqli::query(): Couldn't fetch mysqli in **********/bigtreetest/core/inc/bigtree/sql.php on line 18\r\n\r\nEtc.\r\n\r\nThe mysql user is OK, because the I've checked in PhpMyAdmin and the installer created the tables. The MySQLi extension is installed and has version 5.5.41\r\n\r\nWhat is wrong?"},"comment":{"url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/comments/74158805","html_url":"https://github.com/bigtreecms/BigTree-CMS/issues/171#issuecomment-74158805","issue_url":"https://api.github.com/repos/bigtreecms/BigTree-CMS/issues/171","id":74158805,"user":{"login":"PierBover","id":226483,"avatar_url":"https://avatars.githubusercontent.com/u/226483?v=3","gravatar_id":"","url":"https://api.github.com/users/PierBover","html_url":"https://github.com/PierBover","followers_url":"https://api.github.com/users/PierBover/followers","following_url":"https://api.github.com/users/PierBover/following{/other_user}","gists_url":"https://api.github.com/users/PierBover/gists{/gist_id}","starred_url":"https://api.github.com/users/PierBover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierBover/subscriptions","organizations_url":"https://api.github.com/users/PierBover/orgs","repos_url":"https://api.github.com/users/PierBover/repos","events_url":"https://api.github.com/users/PierBover/events{/privacy}","received_events_url":"https://api.github.com/users/PierBover/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T21:41:13Z","updated_at":"2015-02-12T21:41:13Z","body":"Ok, so I changed the permissions on the correct ones (/site/ and /site/index.php) and I got  to the same mysqli errors.\r\n\r\n> Warning: mysqli::mysqli(): (28000/1045): Access denied for user '*******'@'localhost' (using password: YES) in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 16\r\n\r\n> Warning: mysqli::query(): Couldn't fetch mysqli in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 17\r\n\r\n> Warning: mysqli::query(): Couldn't fetch mysqli in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 18\r\n\r\n> Warning: mysqli::query(): Couldn't fetch mysqli in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 98\r\n\r\n> Warning: sqlquery(): Couldn't fetch mysqli in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 99\r\n\r\n> Fatal error: Call to a member function fetch_assoc() on a non-object in *******/public_html/bigtreecms/core/inc/bigtree/sql.php on line 133"}}