{"action":"created","issue":{"url":"https://api.github.com/repos/Spotweb/Spotweb/issues/37","labels_url":"https://api.github.com/repos/Spotweb/Spotweb/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Spotweb/Spotweb/issues/37/comments","events_url":"https://api.github.com/repos/Spotweb/Spotweb/issues/37/events","html_url":"https://github.com/Spotweb/Spotweb/issues/37","id":56834480,"number":37,"title":"NZB handling error with mobile template","user":{"login":"B-V-","id":6977812,"avatar_url":"https://avatars.githubusercontent.com/u/6977812?v=3","gravatar_id":"","url":"https://api.github.com/users/B-V-","html_url":"https://github.com/B-V-","followers_url":"https://api.github.com/users/B-V-/followers","following_url":"https://api.github.com/users/B-V-/following{/other_user}","gists_url":"https://api.github.com/users/B-V-/gists{/gist_id}","starred_url":"https://api.github.com/users/B-V-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B-V-/subscriptions","organizations_url":"https://api.github.com/users/B-V-/orgs","repos_url":"https://api.github.com/users/B-V-/repos","events_url":"https://api.github.com/users/B-V-/events{/privacy}","received_events_url":"https://api.github.com/users/B-V-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-06T16:35:53Z","updated_at":"2015-02-27T09:16:24Z","closed_at":null,"body":"I tried to use the mobile template for Phone and Tablet but failed with an error.\r\nChanged some Spotweb settings as mentioned here:\r\nhttps://github.com/Spotweb/Spotweb/wiki/Frequently-asked-questions#how-to-configure-a-new-kind-of-template--theme \r\n\r\nThe template works fine, but when saving the NZB the page keeps loading and an error was logged:\r\nFastCGI: server \"/php-fpm-handler\" stderr: PHP message: PHP Fatal error:  require(): Failed opening required 'lib/page/SpotPage_getnzbmobile.php' (include_path='.') in /volume1/web/spotweb/lib/SpotClassAutoload.php on line 20, \r\n\r\nThe file 'lib/page/SpotPage_getnzbmobile.php' does not exists in this repository but does in the repository of h4rdc0m (4 years old, no longer active): \r\nhttps://github.com/h4rdc0m/spotweb/blob/master/lib/page/SpotPage_getnzbmobile.php  \r\n\r\n| pulled that file but now get this error:\r\nFastCGI: server \"/php-fpm-handler\" stderr: PHP message: PHP Catchable fatal error:  Argument 1 passed to SpotPage_getnzbmobile::__construct() must be an instance of SpotDb, instance of Dao_Mysql_Factory given, called in /volume1/web/spotweb/index.php on line 143 and defined in /volume1/web/spotweb/lib/page/SpotPage_getnzbmobile.php on line 6\r\n\r\nIs it possible to use the mobile template with working NZB? \r\nWhat am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/Spotweb/Spotweb/issues/comments/76360630","html_url":"https://github.com/Spotweb/Spotweb/issues/37#issuecomment-76360630","issue_url":"https://api.github.com/repos/Spotweb/Spotweb/issues/37","id":76360630,"user":{"login":"ckruijntjens","id":6084672,"avatar_url":"https://avatars.githubusercontent.com/u/6084672?v=3","gravatar_id":"","url":"https://api.github.com/users/ckruijntjens","html_url":"https://github.com/ckruijntjens","followers_url":"https://api.github.com/users/ckruijntjens/followers","following_url":"https://api.github.com/users/ckruijntjens/following{/other_user}","gists_url":"https://api.github.com/users/ckruijntjens/gists{/gist_id}","starred_url":"https://api.github.com/users/ckruijntjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckruijntjens/subscriptions","organizations_url":"https://api.github.com/users/ckruijntjens/orgs","repos_url":"https://api.github.com/users/ckruijntjens/repos","events_url":"https://api.github.com/users/ckruijntjens/events{/privacy}","received_events_url":"https://api.github.com/users/ckruijntjens/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T09:16:24Z","updated_at":"2015-02-27T09:16:24Z","body":"thanx,\r\n\r\ni will be verry happy when this issue is resolved :):)"}}