Forum URL: http://ihosting.vforums.co.uk
Experienced By: everyone
Browser: All
Operating System: All
Problem:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/ihosting/public_html/includes/vforums_api.php on line 117
Warning: fsockopen() [function.fsockopen]: unable to connect to www.support.ihosting.co.cc:80 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in /home/ihosting/public_html/includes/vforums_api.php on line 117
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/ihosting/public_html/includes/vforums_api.php on line 117
Warning: fsockopen() [function.fsockopen]: unable to connect to www.support.ihosting.co.cc:80 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in /home/ihosting/public_html/includes/vforums_api.php on line 117
Warning: Invalid argument supplied for foreach() in /home/ihosting/public_html/index.php on line 59
Fatal error: Cannot use string offset as an array in /home/ihosting/public_html/includes/sidebar.php on line 15
This is all for http://ihosting.co.cc
For some reason when the server I was on went down, my host moved everyone to a new server, and everything is intact, I even uploaded a backup I did before everything went down. http://idirectory.us seems to be working just fine. But for some reason iHosting isn't.
I'm guessing from the error messages that your host has turned off fsockopen() support.
You need to talk to them - or if you're on a VPS, you can enable it yourself.![]()
They said everything is fine on their end. fsockopen() is turned on.
Someone hacked into their network on the server I was on, and crashed it. Which in turn they had to move everyone to a new server. http://idirectory.us shows up fine, but with almost the same exact files http://ihosting.co.cc is showing these errors.
edit
Just to point out, for the stats (when not logged in) it shows, but when logged in I get that fatal error.
but the ones that are at the very top of the list 1 and 2. it only shows when logged in.
If that's any help at all.
I would suggest passing the vforums URL of your forum to the API rather than the custom domain. Their server could be looking locally for that domain rather than resolving it to our server. You should be able to pass the custom domain as the last parameter. eg.
$vforums_api = new vforums_api("ihosting.vforums.co.uk", "API Key Here", "http://www.support.ihosting.co
.cc");
Ok it works now. I also had to take out "orums_api" as it gave me a fatal error:
Fatal error: Call to a member function login_user() on a non-object in /home/ihosting/public_html/includes/global.php on line 6
Ok it works now. I also had to take out "orums_api" as it gave me a fatal error:
Fatal error: Call to a member function login_user() on a non-object in /home/ihosting/public_html/includes/global.php on line 6
That was just as an example. I didn't know what you had referenced it as. I tend to use $vforums_api but think some of the examples used $vf. Was a 50/50 gamble on what you were using![]()
Anyway, glad to hear it's working now![]()
Also now the site, and forum is not linking anymore. I can login directly on the site, but on the forum it wont show that I am logged in, shows me as a guest. But it allows me to login with ihosting.vforums.co.uk
I log into the site, go to a new page, it logs me out. Why would it be doing this?
Please give some specific details. By "site" what are you referring to?
http://ihosting.co.cc and for the forum it wont log me in, unless I use the .vforums.co.uk extension. Something broke along the line, and I'm not quite sure what happened to why it's all broken. It seems the API doesn't want to work.
I log in on ihosting.co.cc and go to any page, it logs me off. Then I have to re-login again. The forum and site are working, but the login doesn't seem to want to work with either the site, or forum.
I'll PM you my details so you can try it out if you have time to do so.
Ok, I figured out half the problem, it's Chrome not keeping me logged in when ever I refresh the page, or go to a different page. I tested it in FireFox, and it kept me logged in. But on the forum, it's still not keeping me logged in, under the .co.cc name.
edit:
It works now! I just re-edited the one line:
$vf = new vforums_api("ihosting.vforums.co.uk", "API pass", "http://www.support.ihosting.co.cc");
back to:
$vf = new vforums_api("ihosting.vforums.co.uk", "API pass", ".ihosting.co.cc");
and everything works properly now.![]()
Thanks