brentoe Posted October 28, 2013 Share Posted October 28, 2013 Hi, I am trying to use a few workflows (new powerpack user), but any that use PHP don't seem to do anything from my work laptop on the work network. In System Preferences > Network > ... I use "Auto Proxy Discovery" Curl works fine from my terminal: curl http://lipsum.com/feed/json -d what=paras -d amount=3 -d start=no returns the correct data and php seems fine as php -r 'echo "PHP seems to be working ok from the command line";' also returns the correct data. I am trying to use this google translate workflow (among other php workflows): https://github.com/thomashempel/AlfredGoogleTranslateWorkflow and it just never does anything. Has anyone got any ideas on how I can get these PHP workflows to work, or how to get more diagnostic information? I have looked in console.app but can't seem to reproduce any errors by trying to use the failing workflows. Any help would be much appreciated. Regards, Brendan Link to comment
jdfwarrior Posted October 29, 2013 Share Posted October 29, 2013 Hi, I am trying to use a few workflows (new powerpack user), but any that use PHP don't seem to do anything from my work laptop on the work network. In System Preferences > Network > ... I use "Auto Proxy Discovery" Curl works fine from my terminal: curl http://lipsum.com/feed/json -d what=paras -d amount=3 -d start=no returns the correct data and php seems fine as php -r 'echo "PHP seems to be working ok from the command line";' also returns the correct data. I am trying to use this google translate workflow (among other php workflows): https://github.com/thomashempel/AlfredGoogleTranslateWorkflow and it just never does anything. Has anyone got any ideas on how I can get these PHP workflows to work, or how to get more diagnostic information? I have looked in console.app but can't seem to reproduce any errors by trying to use the failing workflows. Any help would be much appreciated. Regards, Brendan One thing you could try is, the PHP workflow that you are having issues with, open a terminal in the folder that the script resides and try to run it from the terminal and see if it gives you any kind of error that you may could trace down Link to comment
brentoe Posted November 18, 2013 Author Share Posted November 18, 2013 I have tried this and pasting the php into command line and that works fine from terminal. It can work on different networks (out of office for example) but I don't know how to get the alfred environment to use the system proxy configuration. Is there a way to do this or does alfred not do this? Link to comment
dorayo Posted December 12, 2013 Share Posted December 12, 2013 Hi, does your problem solved? Recently, I met the same problem as you did. I don't know how to get the alfred environment to use the system proxy configuration. I will be appreciate if you could give any solution. Thank you. Link to comment
brentoe Posted December 15, 2013 Author Share Posted December 15, 2013 No, my issue still isn't solved. I have another network I use that allows this to work.. Having to change networks kind of defeats the purpose of having something for improving productivity. Link to comment
jdfwarrior Posted December 15, 2013 Share Posted December 15, 2013 No, my issue still isn't solved. I have another network I use that allows this to work.. Having to change networks kind of defeats the purpose of having something for improving productivity. PHP can be configured to use a proxy but its something that, if your network configuration required it, would require the end user to go in and edit a config file or something to make it work, and then php read that and try. To my knowledge, you can't just say "hey php, use the global proxy settings set on this mac". It would be extremely convenient if you could, but I'm not sure that it's possible. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now