Log in

View Full Version : Registration Error


Redneck-Melly
08-29-2010, 04:11 PM
I am getting this error when testing my registration's, I've made it so you have to be approved to be a member, and it isn't working people are still joining with out my approval, and then I tested it out and got this error???


Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/register.php(385) : eval()'d code on line 73

Warning: file_get_contents(http://www.stopforumspam.com/api?ip=68.206.55.227) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/register.php(385) : eval()'d code on line 73

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/register.php(385) : eval()'d code on line 77

Warning: file_get_contents(http://...@gmail.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/register.php(385) : eval()'d code on line 77



And also this
Unable to add cookies, header already sent.
File: /home/newsite/public_html/forums/includes/class_core.php
Line: 3277

kh99
08-29-2010, 04:35 PM
PHP can allow opening of remote files by URL instead of a local file name, but this is a configuration option which you have turned off. If you have access to your php.ini you could set allow_url_fopen to True, otherwise I think you'd have to contact your server people.

That last error is probably just caused by the previous error messages.

Redneck-Melly
08-29-2010, 04:41 PM
hmm how do I turn it back on?

kh99
08-29-2010, 04:46 PM
hmm how do I turn it back on?

Oh, I guess I didin't word that very well - I meant it's an option which appears to be turned off on your server, not that something you did turned it off. It looks like the code's trying check the ip against spammers and do something else with gmail - are these things you just added? If not then I guess I don't know why this would suddenly show up.

Redneck-Melly
08-29-2010, 04:54 PM
I've not added anything, I just decided to all the sudden moderate registration's, because of bot's getting around everything I do have. I have figured out what is causing the problem, thanks for your help :)