Elxis CMS Forum
Extensions => Components => Topic started by: mscrivo 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?
-
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.
-
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.
-
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.
-
Thanks, removing inner.php did the trick. I'll file an issue with Webgift.
-
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!
-
Thank you, the new inner.php is working fine.
-
You are welcome, @mscrivo!