Keyword

extra fields problem

  • cristian
  • cristian's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158402 by cristian
extra fields problem was created by cristian
Hi, i have created an extra field (type Drop-down selection). After that ive introduced a large number of values (options) i didnt count them exactly but i think is more than 200. At some point when i try to enter a new option the joomla respond with a blank page with error INVALID TOKEN.
Any idea what cause this? Is a limitation in options for a single extra field?
thanks,
Cristian

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158405 by Krikor Boghossian
Replied by Krikor Boghossian on topic extra fields problem
INVALID TOKEN, generally speaking is a Joomla! issue when the token from another session is being used.

Can you provide me the entire error code?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • cristian
  • cristian's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158416 by cristian
Replied by cristian on topic extra fields problem
there is nothing else, just a blank page with that message..
If i try to enter a new value on this specific extra field (with more than 200 options) thats the outcome.
but its working very fine if the same procedure is made on other extra field with just a few options.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158417 by Krikor Boghossian
Replied by Krikor Boghossian on topic extra fields problem
It is possible to reach the limit in the database's table with such a large amount of values.

The type of the column is text so you can experiment by backing up the database and changing the type to longtext.

PS. Backup :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • cristian
  • cristian's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158427 by cristian
Replied by cristian on topic extra fields problem
I have changed the `value` type of the k2_extra_fields table from TEXT to LONGTEXT, and nothing happens.
It still give me a blank page with INVALID TOKEN.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158432 by Krikor Boghossian
Replied by Krikor Boghossian on topic extra fields problem
Can you enable error description and set it to development.
This will provide more details.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
6 years 10 months ago #162175 by pauljw
Replied by pauljw on topic extra fields problem
Hi,

How did you fix it? Can you please share?

I have the same problem; when I want to add an option first I need to delete one, otherwise i get that 'invalid token' error.

Setting the value from TEXT to LONGTEXT didn't work for me too.

Simply doing a database fix and clean site cache (as advised at www.joomlaworks.net/forum/k2-en/35061-invalid-token-after-add-an-option-extra-fields-k2) didn't do the trick too.

Regards,
Paul

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162179 by Krikor Boghossian
Replied by Krikor Boghossian on topic extra fields problem
Which version of Joomla! and K2 are you using?
Any 3rd party extensions?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
6 years 10 months ago #162181 by pauljw
Replied by pauljw on topic extra fields problem
Thanks for your fast reply! Latest version (2.7.1).
3rd party extensions for k2 you mean? Could I give you a login for our development site (which uses k2 2.8.0)?

Regards,
Paul

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

More
6 years 10 months ago #162200 by pauljw
Replied by pauljw on topic extra fields problem
It might has something to do with another problem we have with extra fields options; when an option is removed the K2 items that had the option assigned to gets the next option in line. So let say we have a K2 items '1' with Extra field 'Store': 'option A'.
Option A is deleted > K2 item '1' gets Extra field 'option B' that doesnt make sense. Please advise how to fix.

Regards,
Paul

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


Powered by Kunena Forum