3 users online. Create an account or sign in to join them.Users
Adding twitter feed - fsockopen() error
This is an open discussion with 16 replies, filed under Troubleshooting.
Search
Not sure, but I don’t think Symphony supports anything outside the LAMP stack. I would guess this is a Windows-specific issue related to using fsockopen, or perhaps the apache config, if that’s any help. Good luck!
The IUSR account on Windows doesn’t have the correct permissions to do these sorts of tasks, as IIS isn’t really designed to run PHP. You may want to try using your logon username to run it. How to do this exactly is something I have forgotten.
These are the sorts of reasons I gave up with windows ;)
Try giving specific permissions for the IUSR account to read & execute to the cmd.exe in C:WindowsSystem32 directory, something I picked up somewhere that solved something for me before…
I’ll test all this on my virtual machine and get back to you…
I think you can “fix” this issue by installing curl.
There are quite a few articles online on how to do this on IIS.
OK, so windows is so rubbish that my virtual machine is broken.
I’ve done a little more reading up on this sort of thing, and the general consensus accross the www is that the IUSR account needs the right permissions.
I’ll try and remember the process, forgive me if my memory is wrong.
- Navigate to C:/windows/System32 dir and right click on cmd32.exe.
- Open the properties panel and choose the Security tab.
- This is where my memory gets a little hazy… There should be an edit button, click this and add the IUSR user. (to check the exact name of the user, right click My Computer, choose Manage, left panel, Users and Groups… It will be there under the Users list.)
- Give the IUSR permissions to read & execute, and read only!.
- Restart and let me know if it fixes it.
Hope this helps ;)
Hey guys - big thanks for trying to help.
@designermonkey - I may not be fully understanding what you mean. Here are some screenshots:
I cannot find the cmd32.exe (maybe because I am on Windows 7), and here are the files I have access to..

Here are the security settings under the cmdl32.exe.mui file (all of the files within the above screenshot have these same security settings)..

Here are my users:

Can you explain to me what a IUSR is? Sorry if I am a noob! Thanks SO much for your help. To my understanding, this should not be an issue once I upload my site to a host (e.g., Dreamhost)?
Thanks again! Adam
PS - I just successfully converted my old site into symphony (on my virtual host) at 4 AM last night - pumped : ]
Ah, you’re on Vista… Will have to rethink that and get back to you… Not used Vista much myself…
Sorry, my mess up, it’s cmd.exe under C:/windows/system32
I’m having trouble getting vista installed on virtual here, if and when I can, I’ll be able to answer better, I’ve used it so rarely that I can’t remember exactly how it runs this stuff with IIS. I know the ‘users’ aren’t as easily visble to you than in XP, but there is a way to find out…
Bear with me…
Ok, so this actually isn’t an error with Vista, it seems that fsockopen() can’t recieve urls which start with http://
I have no idea how to fix this as if I understand the class.gateway.php file properly, it strips this first, so I don’t know what is going on there…
Really sorry I can’t help, I’ve led you down the garden path a little here, sorry.
(you may be happy to know in trying to reproduce your error, I’ve kicked up a load of locking errors with my installation lol ;))
Hey man, thanks a lot! I may wait to mess with pulling in feeds until I can upload it onto my host (stupid M$!). Sorry for the trouble and thanks again!
I went to your site and noticed you’ll be converting to Symphony from WordPress - how is that going?
Ugh, well, I’m on paternity leave at the moment so finding time is difficult.
When I get the new symphony site set up, I’m going to use Stephen’s tutorial on importing from Wordpress to do the importing.
I’m probably going to find it difficult to be honest.
I’m also finding that I get easily distracted from the new redesign with all the cool features and other possibilities of Symphony, and end up playing with them for ages too!
The reason I want to convert is that I paint and photograph more than blog, so want a more ‘gallery’ and shop website than a blog converted to such, it was such a ball-ache getting Wordpress to do what I wanted, whereas Symphony gives me the control I need. It’s just taking a little learning ;)
@designermonkey - did you try importing your entries with @buzzomatic (Rowan Lewis) and @nickdunn (Nick Dunn)’s XML Importer extension. It is an awesome extension. It might be useful for you when importing your WordPress site over to Symphony.
Yeah man, been playing with that, but I’m nowhere near an actual import process, I’m still in data modelling and content layout etc. I have no time with the little man keeping me up all night! lol
I’m going to try both methods…
We’re getting a little off topic here though ;)
@ashrimplin, I’ve jst realised, you’re not even using IIS are you?! All that stuff I was waffling on about and it wasn’t even relevant! Have you thought about asking anyone on the wamp forums?
@designermoney - I have not, but I will! Good idea (one I should have thought about myself…).
How old is your newborn? Good luck with the kiddo!
2 weeks now, and counting ;)
Goodness, congrats! New dad?
PS - I like your painting style, bro!
Thanks dude! and yes, although I have had experience before… long story ;)
Create an account or sign in to comment.
Hi,
I am trying to add a twitter feed by following the tutorial Integrate a Twitter Feed, but I am getting the error:
“fsockopen(): unable to connect to http://search.twitter.com:80 (Unable to find the socket transport “http” - did you forget to enable it when you configured PHP?)”
Pastie link to full error
I tried researching this sort of error online, but could not find a solution. Thanks in advance for any help!