Recent Topics

1 Feb 28, 2009 22:11    

My b2evolution Version: 2.x

Hello all my name is Jarod and I am trying to setup a website to host information about my local LAN party on my home network. I have got it to work on the internet so you can see everything but the only issue I have left is when I try to login to do administrative functions I get the following error:

WARNING: you are trying to log in to http://99.7.210.204/?blog=5 but your cookie domain is .mazianni.com. You will not be able to successfully log in to the requested domain until you fix your cookie domain in your b2evolution configuration.

My base url is http://www.mazianni.com/ but for some reason the cookie is resolving to the IP. Digging through the files has just left me confused and trying a few fixes I have found doing searches have yielded one of two things: a broken website or more of the same.

My url is http://www.mazianni.com , help would be greatly appreciated.

2 Feb 28, 2009 22:52

Did you at any time have your $baseurl in /conf/_basic_config.php set to the IP address? Either way, try changing $instance_name in /conf/_advanced.php to something other than 'b2evo' and see if that blows out the cookie problem.

b2evolution does not turn your $baseurl into an IP address by the way, so digging probably won't turn up an answer ;)

3 Feb 28, 2009 23:05

Really stupid question, you're not going to admin via an old bookmark by any chance?

¥

4 Mar 01, 2009 01:17

OK, first I would like to say thank you for the quick replies, here is what happen.

1) Tried to adjust the _advanced.php as requested, I changed it from 'b2evo' to 'http://www.mazianni.com/'. Restarted apache and tried again and was still receiving the issue.

2) I was using the login line from the user tools widget from the site itself. I noticed if I put in the actual path, http://www.mazianni.com/admin.php the error it did not come up but I could not login, I would type my user name and pass and it would refresh but nothing would happen.

But then the answer struck me, my DNS is forwarding my url name to HTTP://{IP} so it was my $baseurl all along that was causing the issue. :oops:

I suppose if I wanted to change the base url I would have to name the computer www.mazianni.com and then use local host? But seeing how this is only for lite duty work and it really doesn't matter as long as it works this is fine for me. The cloaking DNS will hide my dirty, dirty setup. :)

Hopefully my folly will help some poor helpless newbie like myself in the future.

-Jarod

5 Mar 01, 2009 01:56

johnson.jarod wrote:

... Tried to adjust the _advanced.php as requested, I changed it from 'b2evo' to 'http://www.mazianni.com/'. Restarted apache and tried again and was still receiving the issue. ...

Nah don't make that be like a url. Just a string of characters. But anyway the problem is as you've seen: something about DNS redirecting and trying to run it on localhost. I've no idea how people make a website come from their computer ... other than uploading it to a server ;)


Form is loading...