Herbalflame
New Member
- Mar 9, 2016
- 2
- 1
Hello,
I'm just looking for some advice.
Mine and my friend's retro is functioning and working well, however:
Localhost has been changed to IP in the config file, except on this line. (Please continue reading to understand the situation, it isn't as simple as changing from localhost to ip).
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
This is because when my friend changes it to IP, both of us get stuck on hotel view.
Where as if we leave that as localhost, the client works 100% for my friend who owns the server but I am stuck on hotel view, obviously because I cannot access the localhost. So if we change that to IP, what else needs doing to enable me and my friend to access mySQL and not be stuck on hotel view?
I'm assuming we're missing something that needs to be changed, most likely the RevCMS configuration file or the emulator or MySQL.
*All appropriate ports are open and it is not a firewall block. - We have ensured the appropriate ports necessary are open and firewall is not blocking anything.
*External_variables have been changed from localhost to IP. - That is working. We know that as the client works 100% for my friend. So we do not need to post as external_variables is not the problem.
*All configs have been changed to ip except that one. - All lines work using the IP except for that one so we do not need to post the whole config as we know which line is not working and under localhost, the line is working and the client is 100% functioning with catalogue, rooms, furniture etc... When we change from localhost to IP on that line, the catalogue, rooms, furni does not work for either me or my friend and the client is stuck on hotel view.
Please note:
If we change - $_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host - from localhost to IP, both of us can load the client but it is just hotel view, no rooms, no catalogue, nothing, just hotel view.
Currently the external variables and config is all IP except for that one line due to the problem we have ran into using the IP and my friend would like to access the fully functioning client so that line is currently under localhost for his own convenient access.
So what do we need to change or what have we not changed?
Is it RevCMS config or the emulator or MySQL?
If we come up with a solution, we will post it encase other users come across the same problem. <3
If you post a suggestion and it works, we will let you know and may include further details of how to fix the problem. <3
Herbalflame
I'm just looking for some advice.
Mine and my friend's retro is functioning and working well, however:
Localhost has been changed to IP in the config file, except on this line. (Please continue reading to understand the situation, it isn't as simple as changing from localhost to ip).
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
This is because when my friend changes it to IP, both of us get stuck on hotel view.
Where as if we leave that as localhost, the client works 100% for my friend who owns the server but I am stuck on hotel view, obviously because I cannot access the localhost. So if we change that to IP, what else needs doing to enable me and my friend to access mySQL and not be stuck on hotel view?
I'm assuming we're missing something that needs to be changed, most likely the RevCMS configuration file or the emulator or MySQL.
*All appropriate ports are open and it is not a firewall block. - We have ensured the appropriate ports necessary are open and firewall is not blocking anything.
*External_variables have been changed from localhost to IP. - That is working. We know that as the client works 100% for my friend. So we do not need to post as external_variables is not the problem.
*All configs have been changed to ip except that one. - All lines work using the IP except for that one so we do not need to post the whole config as we know which line is not working and under localhost, the line is working and the client is 100% functioning with catalogue, rooms, furniture etc... When we change from localhost to IP on that line, the catalogue, rooms, furni does not work for either me or my friend and the client is stuck on hotel view.
Please note:
If we change - $_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host - from localhost to IP, both of us can load the client but it is just hotel view, no rooms, no catalogue, nothing, just hotel view.
Currently the external variables and config is all IP except for that one line due to the problem we have ran into using the IP and my friend would like to access the fully functioning client so that line is currently under localhost for his own convenient access.
So what do we need to change or what have we not changed?
Is it RevCMS config or the emulator or MySQL?
If we come up with a solution, we will post it encase other users come across the same problem. <3
If you post a suggestion and it works, we will let you know and may include further details of how to fix the problem. <3
Herbalflame