{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/5628","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/5628/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/5628/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/5628/events","html_url":"https://github.com/snipe/snipe-it/issues/5628","id":327531546,"node_id":"MDU6SXNzdWUzMjc1MzE1NDY=","number":5628,"title":"Shared Hosting: Can it work?","user":{"login":"codyjbennett","id":8905952,"node_id":"MDQ6VXNlcjg5MDU5NTI=","avatar_url":"https://avatars0.githubusercontent.com/u/8905952?v=4","gravatar_id":"","url":"https://api.github.com/users/codyjbennett","html_url":"https://github.com/codyjbennett","followers_url":"https://api.github.com/users/codyjbennett/followers","following_url":"https://api.github.com/users/codyjbennett/following{/other_user}","gists_url":"https://api.github.com/users/codyjbennett/gists{/gist_id}","starred_url":"https://api.github.com/users/codyjbennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyjbennett/subscriptions","organizations_url":"https://api.github.com/users/codyjbennett/orgs","repos_url":"https://api.github.com/users/codyjbennett/repos","events_url":"https://api.github.com/users/codyjbennett/events{/privacy}","received_events_url":"https://api.github.com/users/codyjbennett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-05-30T00:26:09Z","updated_at":"2018-06-02T11:44:17Z","closed_at":"2018-05-30T00:55:18Z","author_association":"NONE","body":"I am working on a Bluehost shared hosting account and hoping to install Snipe-IT on a subdomain to review and test for a possible application... I consider myself a noob, so take it easy/slow with instructions - it's entirely possible I don't know what you're saying. Ha!\r\n\r\nAs it stands, I think I'm doing pretty good (installed smoothly via ssh, created database/user in cpanel, updated .env file) but stuck on how to change the document root. When I load the subdomain, I am presented with \"**D'oh. If you're seeing this, your DocumentRoot is set incorrectly. It should be set to the public directory.**\"\r\n\r\nIn the error log, I see, \"[29-May-2018 17:26:32 America/Denver] PHP Fatal error:  Class 'Illuminate\\Foundation\\Application' not found in /home2/codyjben/public_html/devices/bootstrap/app.php on line 14\" I believe this is in response to my creating a small test file to attempt to identify the current root that SnipeIT sees: \r\n\r\n`<html><body>`\r\n`<?php` \r\n`$root = dirname( __FILE__ );`\r\n`echo \"<a href='$root'>click here to go to home page</a>\";`\r\n`?>`\r\n`</body></html>`\r\n\r\nThis results in a URL of the href showing \"http://devices.[domain].com/home2/codyjben/public_html/devices\" as the root directory.\r\n\r\nPer prereqs for posting, I have enabled the debug mode in the .env file. Also, I have read the common issues page.\r\n\r\nIf you need me to dive into the various troubleshooting questions, please let me know. After reading several posts in the issues section, I'm not convinced that I am capable of answering all of the questions, nor their utility considering the focused error (\"d'oh!\"). "},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/394081121","html_url":"https://github.com/snipe/snipe-it/issues/5628#issuecomment-394081121","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/5628","id":394081121,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA4MTEyMQ==","user":{"login":"snipe","id":197404,"node_id":"MDQ6VXNlcjE5NzQwNA==","avatar_url":"https://avatars0.githubusercontent.com/u/197404?v=4","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T11:44:17Z","updated_at":"2018-06-02T11:44:17Z","author_association":"OWNER","body":"Drop your tables and clear your cookies again. Before you start the /setup, open your `config/database.php`, find the mysql block, and change `'engine'    => null` to `'engine'    => 'InnoDB',`, then try re-running setup.\r\n\r\nI have no idea why you're running into so many problems here. Setup can be challenging, sure, but this is getting ridiculous."}}
{"actor":{"display_login":"snipe"}}