{"action":"opened","issue":{"url":"https://api.github.com/repos/aristath/kirki/issues/466","labels_url":"https://api.github.com/repos/aristath/kirki/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/aristath/kirki/issues/466/comments","events_url":"https://api.github.com/repos/aristath/kirki/issues/466/events","html_url":"https://github.com/aristath/kirki/issues/466","id":114670555,"number":466,"title":"Path issue?","user":{"login":"pingram3541","id":319284,"avatar_url":"https://avatars.githubusercontent.com/u/319284?v=3","gravatar_id":"","url":"https://api.github.com/users/pingram3541","html_url":"https://github.com/pingram3541","followers_url":"https://api.github.com/users/pingram3541/followers","following_url":"https://api.github.com/users/pingram3541/following{/other_user}","gists_url":"https://api.github.com/users/pingram3541/gists{/gist_id}","starred_url":"https://api.github.com/users/pingram3541/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingram3541/subscriptions","organizations_url":"https://api.github.com/users/pingram3541/orgs","repos_url":"https://api.github.com/users/pingram3541/repos","events_url":"https://api.github.com/users/pingram3541/events{/privacy}","received_events_url":"https://api.github.com/users/pingram3541/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T19:48:26Z","updated_at":"2015-11-02T19:48:26Z","closed_at":null,"body":"Works on one server but not on another, any advice would be appreciated.\r\n\r\nI've tried the following in my frontend.php:\r\ninclude_once( dirname( __FILE__ ) . '/helpers/kirki/kirki.php' );\r\nand\r\ninclude_once( get_stylesheet_dir() . '/helpers/kirki/kirki.php' );\r\n\r\nBut Kirki does not load the proper urls for its assets on the front end, its adding the server path to my url.\r\n\r\nconsole in chrome shows:\r\n\r\nGET Error: http:/mydomain.com/var/www/mydomain.com/htdocs/wp-content/themes/mytheme/functions/frontend/helpers/kirki/assets/js/customizer.min.js?ver=1.0.2\r\n\r\nThe /var/www/mydomain.com/htdocs/ added to the path is coming from something after inclusion of kirki.php\r\n\r\nIf it helps to know, the first server was an apache build and works just fine, the second is nginx."}}