Jump to content

Please update your $config->httpHosts after session timeout ?


Recommended Posts

Posted

Hi guys,

I worked on a local install of PW version 2.6.x on Wamp for quite some time.

I got the error Please update your $config->httpHosts setting in /site/config.php even if my config file was good and working.

After messing with a lot of settings (Allowoverrides, creating a vhost etc.) I reinstalled PW version 2.7.2 and the problem dissapeared.

I migrated my data and it still worked, hurray...

Now this morning I'm starting to work on my project again, the error reappeared.

I tried deleting sessions in the folder, without success.

You guys have any other ideas ?

Posted

Do you have exactly the same string in $config->httpHosts and in your vhost configuration?

...and you can alway just leave $config->httpHosts empty to allow anything.

  • Like 1
Posted

On version 2.6.X leaving the string didn't work (still said that 127.0.0.1 wasn't recognized) but now this time it works and I forgot to try it !!

Problem solved, thank you very much !!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...