From b252b66bf500c5e9a9a7e2e4643a5a1481c44c67 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 1 Dec 2020 09:39:13 +0200 Subject: [PATCH] Updated example URL references --- docs/faq.md | 2 +- docs/google-calendar-sync.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 51df0912..b04d3591 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -12,7 +12,7 @@ Google needs to authorize the usage of her services, so you need to create an AP ## Installation Page Is Not Working -Various users have reported on the support group that they cannot complete the installation successfully. This is primarily because of two reasons (a) either the configuration.php file was set incorrectly, or the server settings won't allow AJAX calls to be completed successfully and thus let the installation finish. For the first situation you will have to check that you have properly set the $base_url parameter to "http://url-to-ea-folder/" (last slash is necessary!), for example "http://easyappointments.org/ea-installation/". Then ensure that your database connection credentials is correct. In the second situation the things are more complex. Users have stated that in some web hosts you need to change the .htaccess file in order for the application to work (htacces snippet provided below). If this doesn't work then check the apache error log and open the browser javascript console after you press the "Install E!A" button. There you will find information about what is going wrong with your installation. Contact your hosting company and ask them to resolve these issues. +Various users have reported on the support group that they cannot complete the installation successfully. This is primarily because of two reasons (a) either the configuration.php file was set incorrectly, or the server settings won't allow AJAX calls to be completed successfully and thus let the installation finish. For the first situation you will have to check that you have properly set the $base_url parameter to "https://url/to/easyappointments/folder/" (last slash is necessary!), for example "http://easyappointments.org/ea-installation/". Then ensure that your database connection credentials is correct. In the second situation the things are more complex. Users have stated that in some web hosts you need to change the .htaccess file in order for the application to work (htacces snippet provided below). If this doesn't work then check the apache error log and open the browser javascript console after you press the "Install E!A" button. There you will find information about what is going wrong with your installation. Contact your hosting company and ask them to resolve these issues. .htaccess diff --git a/docs/google-calendar-sync.md b/docs/google-calendar-sync.md index 6d95b3ba..f3502def 100644 --- a/docs/google-calendar-sync.md +++ b/docs/google-calendar-sync.md @@ -16,7 +16,7 @@ The synchronization feature requires valid Google API credentials in order to re - Go to the Google Cloud Console and create a new project. - Click on **Use Google APIs** box and enable the Google Calendar API. -- Then click on the **Credentials** menu item (on the left) and create an **OAuth client ID** for your installation. You will need to fill the consent screen information and then select **Web Application** in the next frame. Give it a client name and add your installation domain as the **Authorised JavaScript origins** (important give only the domain not the complete URL e.g. `http://mywebsite.com`). The **Authorised redirect URIs** field will need the following value `http://url/to/easyappointments/installation/index.php/google/oauth_callback` (replace `url/to/easyappointments/installation` with your real domain). +- Then click on the **Credentials** menu item (on the left) and create an **OAuth client ID** for your installation. You will need to fill the consent screen information and then select **Web Application** in the next frame. Give it a client name and add your installation domain as the **Authorised JavaScript origins** (important give only the domain not the complete URL e.g. `http://mywebsite.com`). The **Authorised redirect URIs** field will need the following value `https://url/to/easyappointments/folder/index.php/google/oauth_callback` (replace `url/to/easyappointments/installation` with your real domain). - Click on **Create** button to complete the wizard. Afterwards Google Cloud will show you two key strings that you need to mark for the following step. ## Google API Key