Jump to content

localhost installation not saving license key


snugRugBug

Recommended Posts

Posted

Hi, I'm running Wampserver 2.4 on a Windows 7 PC. I am trying to set up a dev environment for myself, but it has been difficult.

My current problem is the following: I managed to make a fresh install of beta 6 on Wampserver. Now the site displays a great red message right at the top that says "Your license key is missing. Please provide your license key". I can then go to the Admin CP and type in my license key, but it does not save. If I type it in and press 'Save', the browser seems to load for a short while, and then I get a brief confirmation popup that says 'Saved'. But then everything stays the same. If I refresh I still have the red message saying 'Your license key is missing. Please provide your license key'.

Has someone else encountered this? Please advise.

Thanks

Posted

Strange as normally during installation you are asked for license key (cannot go any further unless entered)

Are you using as a test install ?

If so are you adding -TESTINSTALL after license key ?

Posted

Yeah I sorted this out in the end by just doing a fresh setup of my dev environment (WAMP). Originally, I did input my licence key as indicated (adding '-TESTINSTALL' at the end.), and it was accepted by the installer. I then completed the installation, and got the red bar telling me that I need a licence key. I became desperate, and checked out my error logs. Turns out my Wampserver wasn't loading some of the php extensions properly. So I uninstalled Wampserver, and installed AMPPS. So far everything has worked fine :-)

Posted

I'm also pretty sure that there isn't a limit on the amount of local installs you can have.

​Correct, as long as they are localhost you can have as many as want (unless IPS change this at later date)

Posted

Yeah. What really sucks is that the IPB installation doesn't pick up aliasing, which means that you can't use IPB on a localhost and have a realistic url pointing to it at the same time. This is annoying because of the fact that cookies don't function properly with the localhost url. Source : https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain

​Why would you want to have a realistic url pointing to localhost .... if you did that then you would have a site that would be able to accept people viewing from the internet which is then against the T&C of license ... you are allowed one test site  ... but more if only using localhost

Unless am misunderstanding your post ?

Posted

​Why would you want to have a realistic url pointing to localhost .... if you did that then you would have a site that would be able to accept people viewing from the internet which is then against the T&C of license ... you are allowed one test site  ... but more if only using localhost

Unless am misunderstanding your post ?

​In the ...etc/hosts file on your computer you can add the line:

127.0.0.1 www.anyexample.com

After doing this, typing www.anyexample.com into your browser will load whatever is at localhost, with the url remaining the same. It is exactly the same as working with 'localhost' as url, except your browser doesn't know it's a localhost site. Your hosts file is only used by your individual computer, so it is no different than working with localhost, you are just tricking the browser.

(Interesting tidbit: typing localhost.lvh.me into a browser also takes you to your localhost, but IP board seems to not like this either.)

The reason I want to do this, is that most browsers don't set cookies for domains that contain 0 full stops ( more details about that at https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain ). I want my dev environment to have functional cookies, so being able to trick the browser to think that my domain has dots would be handy. The IPB installer unfortunately only installs as a localhost dev install if your top level domain is 'localhost', and nothing else. It would have been cool if they checked the IP address instead, because then the text URL wouldn't matter, and you could more closely simulate a realistic web environment.

Posted

Still cannot see why having cookies is a big issue .... all you are doing is having another test forum to test areas to see how it looks/works etc so if want to test cookies then use your test url for that ....

Perhaps it is me that only sees it this way ?

Posted

Still cannot see why having cookies is a big issue .... all you are doing is having another test forum to test areas to see how it looks/works etc so if want to test cookies then use your test url for that ....

Perhaps it is me that only sees it this way ?

​I am planning to use my dev environment to develop/test plugins/applications, so having a fully functional system is a great plus for me. I tried to follow the simple plugin tutorial at http://community.invisionpower.com/4docs/advanced-usage/development/plugins-an-example-r72/ , and it wouldn't work properly because it uses IPB's built-in cookie functionality.

Posted

Update:

I managed to get my mock url pointing to my localhost successfully by installing IPB directly from localhost, and just inputting the mock URL in the 'Site URL' field in the installation (this field appears right after the area where you input your database details). It seems pretty obvious now, glad I figured it out.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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