#221 – Javascript error in mod_taxibooking version 3.10.3

Posted in ‘Taxi Booking for Joomla’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 12 December 2014 12:41 GMT
serguei_kp
SystemPay for Taxi Booking, Taxi Booking recurring updates Annually
 Hi, i've got two Javascript errors with the module taxibooking when picking a value in the list in any tab.
This errors occurs on English and French language version of my site but not on Russian version of the site.

I'am using JoomSEF component, may be it is linked with it.

To reproduce the bug you must :
- go on EN or FR version of my site : http://aramis-voyage.fr/en/taxi-cab-paris-airports-and-france

- and pick in the list "Taxi From" of Address or Offers or any other tub.

Here is the error what you'll get :

POST http://aramis-voyage.fr/en/index.php?option=com_taxibooking&controller=onepage&task=getExtraList

404 NOT FOUND

jquery-....min.js (ligne 2)
"NetworkError: 404 NOT FOUND - http://aramis-voyage.fr/en/index.php?option=com_taxibooking&controller=onepage&task=getExtraList"
index.p...traList
POST http://aramis-voyage.fr/en/index.php?option=com_taxibooking&task=getRouteList

404 NOT FOUND

jquery-....min.js (ligne 2)
"NetworkError: 404 NOT FOUND - http://aramis-voyage.fr/en/index.php?option=com_taxibooking&task=getRouteList"

Regards.
Attachment
 
Friday, 12 December 2014 16:17 GMT
martso
SumUp for Taxi Booking J4
Hi serguei_kp,
we went to your website as instructed and did not see any problems in any of the languages that you have installed.
It might be JoomSEF problem and if you have turned JoomSEF off everything is back to normal as it should be.

One tip: Link your Taxi Booking menu items for different languages so when the user changes language on Taxi Booking menu item they are not redirected to your home page.

Best regards.
 
Saturday, 13 December 2014 09:52 GMT
serguei_kp
SystemPay for Taxi Booking, Taxi Booking recurring updates Annually
Hi, Marian, I found a solution to this issue, it is linked to JoomSEF URL handling, i've deleted the sef url after the language sign like /fr/ and /en/,
I've reproduced this issue on the test site : http://aramis-voyage.fr/test.

As you can see it's working for the main language (russian) and doesn't work for secondary languages (en and fr),

this JoomSEF SEFurl's configuration works fine :
http://aramis-voyage.fr/test/%D1%82%D0%B0%D0%BA%D1%81%D0%B8-%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%84%D0%B5%D1%80%D1%8B-%D1%8D%D0%BA%D1%81%D0%BA%D1%83%D1%80%D1%81%D0%B8%D0%B8-%D0%B2-%D0%BF%D0%B0%D1%80%D0%B8%D0%B6%D0%B5 (sef url is in cyrillic)
http://aramis-voyage.fr/test/fr (french language)
http://aramis-voyage.fr/test/en (english language)

This configuration for secondary languages doesn't work:
http://aramis-voyage.fr/test/en/cab-taxi-booking
http://aramis-voyage.fr/test/fr/reservation-taxi-navettes-voiture-avec-chaffeur

The error occuring only on the main page with the module taxi booking, it wokrs fine on the page with component. The error appears when I add the sef url after the language /en/ or /fr/.

I've tested different SEO-SEF components like : SH404SEF, ACEsef, MijoSEF but only JoomSEF is compatible with Taxibooking excepting this little issue.

Regards.
 
Saturday, 13 December 2014 10:13 GMT
martso
SumUp for Taxi Booking J4
Hi Serge,
for every SEF component there is a need of special plugin that will change the routing of Taxi Booking URLs because they all use their own URL building schemas. Things get even more complicated when the website is multi lingual.
You can contact the SEF component developers to create such a plugin or we can do it as a separate custom development request.
In our opinion Joomla's default SEF is quite good and there is no need to use external SEF component but of course this choice is entirely up to you.

Hope this clears things even more for you.
Best regards.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

KANEV Web Development limited is not affiliated with or endorsed by the Joomla Project or Open Source Matters.

KANEV Web Development limited is registered in England and Wales #8902407