[#4627] field wont save when I click save

9 years 8 months ago #248254 by beat
Replied by beat on topic field wont save when I click save
Ok, that one is (finally) fixed for CB 2.0 RC2.

Quick-workaround, compatible with CB 2.0 RC2:

1) check that your #__comprofiler table has InnoDB storage engine in phpmyadmin or equivalent tool.

2) Open file components/com_comprofiler/plugin/user/plug_cbcore/cb.core.xml

And change around line 312:
<field type="text" label="Text Field">
			<data name="" nametype="namesuffix" type="sql:varchar(255)" null="true" default="NULL" />

to:
<field type="text" label="Text Field">
			<data name="" nametype="namesuffix" type="sql:text" null="true" default="NULL" />

Then check CB Fields database in tools, and fix to convert the columns type, and you should be set.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

9 years 8 months ago #248268 by matthewdavey
Replied by matthewdavey on topic field wont save when I click save
I get on line 312
<column name="username" type="sql:varchar(100)" null="false" strict="false" />
<column name="name" type="sql:varchar(50)" null="false" strict="false" />

Please Log in to join the conversation.

9 years 8 months ago #248270 by beat
Replied by beat on topic field wont save when I click save
Hi matthewdavey,

Line number may vary by version (but are you sure you looked into the right file?). Search for:
<field type="text" label="Text Field">

in file
components/com_comprofiler/plugin/user/plug_cbcore/cb.core.xml

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: matthewdavey

Please Log in to join the conversation.

9 years 8 months ago #248271 by matthewdavey
Replied by matthewdavey on topic field wont save when I click save
It seems to be working with text field but i cant ad any image fields
Thanks

Please Log in to join the conversation.

9 years 8 months ago #248273 by beat
Replied by beat on topic field wont save when I click save
Did you perform the last step of my post above:

Then check CB Fields database in tools, and fix to convert the columns type, and you should be set.


?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

9 years 8 months ago #248280 by matthewdavey
Replied by matthewdavey on topic field wont save when I click save
Yes see attached
Thanks
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.228 seconds

Facebook Twitter LinkedIn