Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response (Read 6464 times)
mscrivo
Newbie
Posts: 25
IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
on:
August 16, 2015, 05:20:36 »
When using the hotelier control panel to add images to the gallery for a hotel, we're getting the above message, despite the fact that images are getting uploaded fine.
When I look at the response from the upload page, it looks like this:
<regular page template stuff>
...
<body class="innerpage" id="innerpage">
{"error":0,"rmsg":"One picture uploaded successfully.","ms":1,"type":"hotel","images":["g5\/112_1241.jpg"],"picids":[2764],"imginfo":["1600 x 1200, 886.1 KB"]}</body>
</html>
Any idea what's wrong?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #1 on:
August 16, 2015, 11:19:04 »
If you updated from v1.x you might have forgotten to update a file or maybe your browser has a js file cached. Hit control+F5 in your browser to refresh its cache. If you use gzip compression disable it and see if the problem solved. If this is not the case, change template for a while (set elxis default) and check if it works OK with that template. For anything else I need to see it to tell you what is the problem.
«
Last Edit: August 16, 2015, 11:21:09 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
mscrivo
Newbie
Posts: 25
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #2 on:
August 16, 2015, 22:04:17 »
Ok, gzip made no difference, but switching to the default theme worked. Switching back to Aurora and the error message came back. I'd appreciate it if you could take a look when you have a minute, let me know what you need.
«
Last Edit: August 16, 2015, 22:15:34 by mscrivo
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #3 on:
August 17, 2015, 11:28:25 »
Then there is something worng with the
inner.php
file of template Aurora. You can delete it if you like and use system's default or contact webgift for support.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
mscrivo
Newbie
Posts: 25
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #4 on:
August 18, 2015, 04:54:27 »
Thanks, removing inner.php did the trick. I'll file an issue with Webgift.
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #5 on:
August 18, 2015, 11:57:08 »
No need to report
@mscrivo
as i have already checked this thread!
It is not suggested to remove inner.php file as there is some reason to be located there. A new
revision have been published for that purpose. In case that you are interested please simply upload
the updated file to the folder of your installation manually and report me using the contact form
in case that this issue still exist.
On my end several tests have been made without any relative issue.
Thank you!
«
Last Edit: August 19, 2015, 12:17:42 by webgift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
mscrivo
Newbie
Posts: 25
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #6 on:
August 19, 2015, 04:52:39 »
Thank you, the new inner.php is working fine.
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response
«
Reply #7 on:
August 19, 2015, 12:17:58 »
You are welcome, @mscrivo!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
IOSR: Hotelier add image to gallery shows: Response is not a valid JSON Response