- Posts: 22
- Thank you received: 0
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- Mix of characters in Appointment Selection message
Mix of characters in Appointment Selection message
- Dan Phillips
- Topic Author
- Offline
- Junior Boarder
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
What language is the site running?
?? Maybe try clearing the Site Cache in the Joomla System menu.
Please Log in to join the conversation.
- Dan Phillips
- Topic Author
- Offline
- Junior Boarder
- Posts: 22
- Thank you received: 0
The site is in English and that is the only language installed.
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
Please Log in to join the conversation.
- Dan Phillips
- Topic Author
- Offline
- Junior Boarder
- Posts: 22
- Thank you received: 0
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
In file: \components\com_rsappt_pro3\rsappt_pro3.php
Around line 32 try commenting out the code as below, to force WINDOWS to be false.
//if (substr(PHP_OS, 0, 3) == 'WIN') {
// define("WINDOWS", true);
//} else {
define("WINDOWS", false);
//}
Please Log in to join the conversation.
- Dan Phillips
- Topic Author
- Offline
- Junior Boarder
- Posts: 22
- Thank you received: 0
Now to try to figure out why it would think it's on Windows…
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
PHP Version 7.2.11
System Linux webserver2.cmwebhosting.net 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64
Build Date Nov 8 2018 13:20:20
I can hack the code, but we can't find a problem in the Server or Joomla configuration at the moment.Web Server Apache/2
WebServer to PHP Interface fpm-fcgi
Joomla! Version Joomla! 3.9.0 Stable [ Amani ] 30-October-2018 14:00 GMT
Please Log in to join the conversation.
- Dan Phillips
- Topic Author
- Offline
- Junior Boarder
- Posts: 22
- Thank you received: 0
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
After an upgrade or system change?
You may need to restart your browser.
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
I then updated AB Pro to the current version using the old method - Backup, Uninstall. Install, Restore. Everything has passed testing except this element of the display.
I also had the following error message on Restore:
I have referred that issue to my webhost. The database appears to work properly.be_restore You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 't read.
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
I have also tested various Long Date Formats in Configuration | GAD Setup to eliminate that as a source of the problem. The corrupt display appears on mobile and PC.
BTW it looks like the syntax error was probably down to taking the backup using the old PHP.
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
The only case of messed up characters happening that I am aware of is when iconv is used for a Linux server.
Hard coding the WINDOWS directive false ensures the non-iconv call is used.
Confirm your site is NOT running on a Windows server.
Also confirm it is set to English language.
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
Here's the confirmation from Joomla, so I am still in the dark...
Control Panel | Configuration | System Information | PHP Configuration:
System Linux webserver2.cmwebhosting.net 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64
Control Panel | Configuration | Languages:
Installed:
English (en-GB) English (United Kingdom) en-GB 3.9.0 October 2018 Joomla! Project
Content language(s):
English (UK) English (UK) en-GB en en en
Overrides:
No matching results
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
Please Log in to join the conversation.
- Lindsay Heyes
- Offline
- Expert Boarder
- Posts: 157
- Thank you received: 2
In browser settings:
- UTF-8 encoding must be enabled
- The default font(s) must be Unicode.
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
- Posts: 4785
- Karma: 103
- Thank you received: 673
Please Log in to join the conversation.
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- Mix of characters in Appointment Selection message