Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

[#6746] "Session expired or cookies are not enabled..." on Core Fields Ajax

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 3 months ago - 7 years 2 months ago #296661 by cpaschen
We've just updated a site and added Core Fields Ajax.
I've added it to one of our Query Drop Down Single Select fields.

When we use the old Query|Update On the form works fine.
When we switch (by adding an Integrations | Core Fields Ajax | Update On - using the same field) we get:

Session expired or cookies are not enabled in your browser. Please press "reload page" in your browser, and enable cookies in your browser.


We've confirmed that cookies are enabled and tried many times (using multiple browsers). Each time after selecting the initial field (the country) we see an initial option (state) to select for about 1-2 seconds and then get the above error.

If we go back to using the Update On within the Query tab it works just fine.

We have all the latest updates installed as of 8/24/17.

Although we are functioning OK right now using the old query update-on option, we would really like to get this working with the new core ajax fields method.

Any ideas?
Last edit: 7 years 2 months ago by krileon. Reason: Added [#6746] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
7 years 3 months ago #296688 by krileon
Is this happening in both backend, frontend profile edit, and/or frontend registration? Note update on doesn't work in profile view. Seams to be working fine in my tests still as I've 2 query select and a text field chained together using Update On from CB Core Fields Ajax.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 3 months ago #296709 by cpaschen
Yes, it happens everywhere (front/admin/registration/etc).

The fields are just the country/state using the sql you previously recommended (in a different ticket).

Here's the specific SQL queries if if helps any:

cb_billingcountry
Code:
SELECT `country_name`, `country_region` FROM `#__comprofiler_countries` ORDER BY country_iso_num=840 desc,`country_region`, `country_name`

(nothing in the Update On)
Options:
Value Column: country_name
Label Column: country_name
Group Column: country_region


cb_billingstate:
Code:
SELECT p.`province_iso_code`, p.`province_name` FROM `#__comprofiler_provinces` AS p LEFT JOIN `#__comprofiler_countries` AS c ON c.`country_iso_code2` = p.`country_iso_code2` WHERE c.`country_name` = '[cb_billingcountry]' ORDER BY p.`province_latin_name` asc

Working with:
Update on: cb_billingcountry

Giving error with (when above removed):
Update On: cb_billingcountry

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
7 years 3 months ago #296714 by krileon
Using your exact usage seams to be working fine in my tests. Please PM backend super administrator login credentials and will take a look.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
7 years 2 months ago #296824 by krileon
Was able to confirm your issue. It works fine during profile edit and is failing during registration only. Have added a bug ticket and will fix immediately for new build for today.

forge.joomlapolis.com/issues/6746


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum