Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Bots and plugins
»
Reservation API plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reservation API plugin (Read 10297 times)
bledi
Full Member
Posts: 244
Reservation API plugin
«
on:
March 31, 2016, 19:30:18 »
Hello!
Is it possible to use reservation API plugin within the same site.?
I used the pugin in an article (from the same site), the booking form it is shown correctly, but when i search the dates the results is all the time: Request failed!
i check everything according to the topic discussed before in the forum,( url issue, etc) but nothing, the same results.Request failed!
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Reservation API plugin
«
Reply #1 on:
March 31, 2016, 21:34:03 »
Yes, off course it is possible. The message "request failed" returns when the response from the server completely fails without a specific error message. Maybe there is a php fatal error, a user access issue, or something similar. See Elxis error.log if there is a related error message. For more it would help if you posted a link to that page.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
bledi
Full Member
Posts: 244
Re: Reservation API plugin
«
Reply #2 on:
March 31, 2016, 21:56:38 »
Thanks datahell, I looked at the Log file, but nothing about the API plugin issue (all mostly 404 error)
The link to the page is:
http://www.mtitravel.al/test.html
Thanks in advance
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Reservation API plugin
«
Reply #3 on:
March 31, 2016, 22:58:55 »
You have mixed http with https. Change site's URL to https and retry. Also when you add/edit APIs use the https URL.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
bledi
Full Member
Posts: 244
Re: Reservation API plugin
«
Reply #4 on:
April 01, 2016, 11:04:11 »
Hello!
OK, I changed to https the url. It works fine ONLY if I manually change the link to
https://mtitravel.al/test.html
, because elxis activates the https only in some specific pages, not the articles. If I leave the site normally (switch ssl automaticaly), still the result is: Request failed!
Thanks
«
Last Edit: April 01, 2016, 11:25:08 by bledi
»
Logged
farmville450
Newbie
Posts: 23
Re: Reservation API plugin
«
Reply #5 on:
April 01, 2016, 11:38:48 »
Try to put these lines in the .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
and will redirect automatically all visitors to https protocol.
Then set the URL address of your site to
https://www.mtitravel.al/
in general settings of Elxis.
Meaby it works for you.
The problem is that, if you have articles with
images
that are declared with
http protocol
you have to change them to
https protocol
because will appear to visitors that they are not to a secure connection.
Logged
bledi
Full Member
Posts: 244
Re: Reservation API plugin
«
Reply #6 on:
April 01, 2016, 11:53:31 »
OK, farmiville, thanks a lot, i will try your idea.
Logged
farmville450
Newbie
Posts: 23
Re: Reservation API plugin
«
Reply #7 on:
April 01, 2016, 11:56:42 »
Please tell us if you solve the problem
Logged
bledi
Full Member
Posts: 244
Re: Reservation API plugin
«
Reply #8 on:
April 01, 2016, 12:52:14 »
Yes, fixed. Works perfect now, only the language, it is opened only in english, even the default I have albanian.(sq)
Logged
farmville450
Newbie
Posts: 23
Re: Reservation API plugin
«
Reply #9 on:
April 01, 2016, 13:29:07 »
This is not happened for me. I visited your site and the first language is the Albanian.
Meaby this happens if you have "
on
" the language detection in general settings of elxis, and your pc has default language "English".
Just try to visit your site from another pc
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Bots and plugins
»
Reservation API plugin