Help - Search - Members - Calendar
Full Version: Fsockopen()
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
stewsta
fsockopen() is disabled for 'security reasons', or so the error message tells me, and i'm attempting to host a forum using phpbb.

The only problem with this is that it cannot send out the confirmation email to activate any accounts because fsockopen() is disabled.

I was wondering if it were possible to find a way around this, or perhaps be able to get a forwarder address hosted on the same domain name, so that it wont be a hassle any more.

Thanks,
~stewsta/bld
dry.gif


P.S.: my website is hosted on http://bladey.zxq.net/
allstar
You'll have to use the no activation which uses the good CAPTCHA included with PhpBB3, or you can just go with Admin Activation as Fsockopen won't be enabled.
EMOruffino
cURL was for some time, but to my knowledge was disabled also, for good security in phpBB2, check out the community forums over at the phpbb site.

http://phpbb.com/community
jamair
QUOTE(allstar @ Dec 16 2007, 02:42 PM) *
You'll have to use the no activation which uses the good CAPTCHA included with PhpBB3, or you can just go with Admin Activation as Fsockopen won't be enabled.


I'm getting a error in phpbb3 and I'm new to this. can you help please. " The operation could not be completed because the fsockopen function has been disabled or the server being queried could not be found. " Jim
EMOruffino
QUOTE(jamair @ Jan 28 2008, 09:16 PM) *
I'm getting a error in phpbb3 and I'm new to this. can you help please. " The operation could not be completed because the fsockopen function has been disabled or the server being queried could not be found. " Jim

what exactly are you trying to do in phpbb3?
WhoCares357
Same error shows up for me. It happens when I go to the "System" tab and try to update the phpBB.
Trippin7464
It happens in the System tab because it's trying to connect to phpbb.com and thats what fsockopen does. It lets you connect to other sites from your site. But since this is disabled you can't and won't be able to do that. You can upgrade manually by downloading the update from their website and uploading the files through ftp.
Ulrich
Yeah it's a pity fsockopen aint enabled - gave me problems with my forums and my wordpress blog so I'm rather limitted. But not complaining smile.gif
spirit_rider
Well..i also have the same problem which being discussed here. I have hosted a phpBB 3 forum. See the error which i'm getting.



This php function fsockopen() has been disabled by this hosting. Because my friend hosted a forum in another forum hosting but the function working perfectly. When i was installing phpBB it has diagnosed that the function has been disabled. phpBb itself doesn't have any way to enable this function. Because of this forum cannot send any emails to any of the user's email address. The error log is shown in the above picture.... coz in forum this email sending fascility is very important. Otherwise users don't have any way to retrieve their password if they forget it........

I did a google search and was finding about this issue...and found a php file which tests whether the fsockopen() opened on the hosting server.

I Click to view attachment

I have uploaded the above file to server root. If everything working fine then it should retreives the website name from news.bbc.co.uk and display. The following picture shows which i got.



It mean the function has been disabled on the hosting server. The above error i got when i have configured SMTP server for e-mail.

The following error i found when i was trying after enabling the local mail function.



i found in some other sites that the safe mode can be disabled in php.ini file or in .htaccess

Can anyone help me in this issue.

bezz
enabling fsockopen() would certainly lead to people abusing the system by dos attacking other servers, which is why it is disabled.
enabling mail() would lead to spammers abusing the system.
enabling exec() would lead to tons of problems.
There are damn good reasons these things are disabled.
jev0802
where the php.ini file located?
Tom
You cannot edit php.ini, and fsockopen() is disabled, jev0802.
jev0802
have any other web host enabled fsockopen?
but i wan blank like zymic...
spirit_rider
QUOTE(jev0802 @ May 18 2008, 02:55 AM) *
have any other web host enabled fsockopen?
but i wan blank like zymic...


yes i found a free web host where fsockopen(),mail() enabled and safe_mode is OFF. But they give only 350Mb web space. I think i cant post other web hosting Addresses here. But i found another solution for SMTP. why don't you people try gmx SMTP server instead of gmail SMTP server.

Go to www.gmx.com and create a new account. Then do the settings in ACP-->Geberal(Tab)-->Client Communication-->E-Mail Settings

Settings

Use SMTP server for e-mail: Yes
SMTP server address: mail.gmx.com
SMTP server port: 25
Authentication method for SMTP: LOGIN
SMTP username: xxxxxx@gmx.com
SMTP password: *********

Note that SMTP username,Contact e-mail address and Return e-mail address should be same. Otherwise you will get an error. This way now SMTP is working fine for me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.