Installation instructions for non routegadget.co.uk users
If you are not installing on routegadget.co.uk but on your own server and don't have an existing older routegadget installation I think it's better to create a routegadget folder and then add the rg2 inside that. You also need to create a kartat folder and place an empty keksi.txt file in it. That kartat folder and all files enclosed needs the permissions set to 755 on a linux server to allow it to be written to. The rg2-config.php file needs the RG_BASE_DIRECTORY set to http://www.yourdomain.com/routegadget
The first time you try and login to http://www.yourdomain.com/routegadget/rg2/?manage whatever you type in for the username & password will be stored for future use. This creates a file named rg2userinfo.txt in the kartat folder. If you forget your login details you need to delete this file from the server via FTP so a new one can be created.
I'm not able to create the user. The kartat folder exists (created by myself), its permission is set to 755. When I enter a user and a pw and press "Log in", I get "Login failed". The rg2userinfo.txt-file is not created. Do you have any hint? Thank you very much in advance.
The most likely problem is the rg2-config.php file does not define RG_BASE_DIRECTORY correctly.
If that looks OK can you give me a link to your installation so I can have a look?
Dear Simon
Thank you very much for your quick response and your offer to have a look at my problem. My installation is here: rg.clavadetscher.ch/routegadget/rg2 I attach the rg2-config.php file (renamed in rg2-config.txt).
Kind regards Diego Clavadetscher
Am 26.05.2015 um 09:50 schrieb Simon Errington:
The most likely problem is the rg2-config.php file does not define RG_BASE_DIRECTORY correctly.
If that looks OK can you give me a link to your installation so I can have a look?
— Reply to this email directly or view it on GitHub https://github.com/Maprunner/rg2/issues/187#issuecomment-105431407.
Diego,
The configuration file looks OK.
You should have at least the following directories set up under http://rg.clavadetscher.ch/routegadget/
/rg2 (with all the files and directories from github) /kartat
I think the problem is the lock directory. You need to create a /lock directory at the same level as /rg2, and this needs to be writeable. The error being reported is "permission denied" when trying to write to the lock directory.
There might also be a permission problem on the /kartat directory, but try creating/changing the /lock directory first.
On 26/05/2015 14:39, Fechter65 wrote:
Dear Simon
Thank you very much for your quick response and your offer to have a look at my problem. My installation is here: rg.clavadetscher.ch/routegadget/rg2 I attach the rg2-config.php file (renamed in rg2-config.txt).
Kind regards Diego Clavadetscher
Am 26.05.2015 um 09:50 schrieb Simon Errington:
The most likely problem is the rg2-config.php file does not define RG_BASE_DIRECTORY correctly.
If that looks OK can you give me a link to your installation so I can have a look?
— Reply to this email directly or view it on GitHub https://github.com/Maprunner/rg2/issues/187#issuecomment-105431407.
— Reply to this email directly or view it on GitHub https://github.com/Maprunner/rg2/issues/187#issuecomment-105526302.
Simon, Thank you once again. I create the /lock directrory at the same level as /rg2 and /kartat and set it to "755" (even "777"), but I'm still unable to create the user. /kartat has also the permision set to "755".
The error being reported from the login attempt is: Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web5/html/RouteGadget/routegadget/rg2/rg2api.php on line 1099<br /
Google returns lots of pages like this. It looks like it is something to do with directory and file ownership as well as permission settings.