Skip to Content Skip to Menu

[#3448] moscomprofiler error during save

  • jansuhr
  • jansuhr
  • OFFLINE
  • Posts: 52
  • Thanks: 1
  • Karma: 2
12 years 6 months ago - 12 years 6 months ago #197696 by jansuhr
I get this error when trying to save a user in CB:

moscomprofiler::store failed: Incorrect date value: '' for column 'cb_birthday' at row 1 SQL=UPDATE

Apparently it doesn't like that the date field is empty for my custom field cb_birthday.

That field is set to not be required and it is a DATE field.

If I run the query that I get in the error message from phpMyAdmin it works. So everything seems to be OK with the table and this column in the database.

Joomla is a 2.5.4 and CB is 1.8

I did run the CB Tools and nothing is to be reported from there.

Thanks

Jan

Jan Suhr
Nyköping, Sweden
Last edit: 12 years 6 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 6 months ago - 12 years 6 months ago #197749 by krileon
Replied by krileon on topic Re: moscomprofiler error during save
Was the field created from within CB > Field Management or from some other source? Saving a user on frontend or backend?


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.
Last edit: 12 years 6 months ago by krileon.

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

  • jansuhr
  • jansuhr
  • OFFLINE
  • Posts: 52
  • Thanks: 1
  • Karma: 2
12 years 6 months ago #197755 by jansuhr
Replied by jansuhr on topic Re: moscomprofiler error during save
Field is created in the CB backend, edit is from backend. The field is ment to be synced to phpBB3 over p8pBB bridge (Blogomunity)

There were not any problems when it was J1.7 and CB 1.7

Jan

Jan Suhr
Nyköping, Sweden

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 6 months ago #197760 by krileon
Replied by krileon on topic Re: moscomprofiler error during save
Searched all of CB and found no such error message. Not quite sure where it's coming from exactly. Perhaps there is a problem with your bridge extension? Please enable debug mode and maximum error reporting in Joomla global configuration to see if it'll give you a callstack and be able to see exactly where it's coming from. If you're using a CB plugin to synchronize try disabling it and see if it resolves your issue.


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.

  • jansuhr
  • jansuhr
  • OFFLINE
  • Posts: 52
  • Thanks: 1
  • Karma: 2
12 years 6 months ago #197775 by jansuhr
Replied by jansuhr on topic Re: moscomprofiler error during save
OK I turned off the p8pBB-plugin in CB but the error is still there.

Here is the error message:
Code:
500 - An error has occurred. JDatabaseMySQL::query: 1292 - Incorrect date value: '' for column 'cb_birthday' at row 1 SQL=UPDATE `ksy_comprofiler` SET `user_id`=43,`firstname`='Janne',`lastname`='Suhr',`hits`='8',`message_last_sent`='0000-00-00 00:00:00',`message_number_sent`='0',`avatar`='43_4e0d9d7875dcb.jpg',`avatarapproved`='1',`approved`=1,`confirmed`=1,`registeripaddr`='85.228.161.1',`cbactivation`='',`banned`='0',`acceptedterms`='0',`lastupdatedate`='2011-07-01 12:12:08',`fb_userid`='0',`cb_pb_enable`='',`cb_pb_autopublish`='',`cb_pb_notifyme`='',`cb_pb_enable_blog`='',`cb_pb_enable_wall`='',`cb_pb_autopublish_wall`='',`cb_pb_notifyme_wall`='',`cb_pgenable`='',`cb_pgautopublish`='',`cb_pgautoapprove`='',`cb_pgshortgreeting`='',`cb_pgtotalitems`='2',`cb_pgtotalsize`='45414',`cb_pglastupdate`='',`cb_pgaccessmode`='',`cb_pgdisplayformat`='',`cb_address`='Svarvarvägen 13',`cb_zip`='61172',`cb_ort`='Stigtomta',`cb_tel`='0707490774',`cb_mobil`='',`cb_minstatus`='Nu ska vi se om det fungerar',`fc_userid`='0',`cb_occupation`='',`cb_interests`='',`cb_birthday`='',`cb_hemsida`='',`twitter_userid`='',`cb_regnr`='',`cb_carmodel`='',`cb_carengine`='',`cb_carcolor`='',`cb_carimageapproved`='1',`cb_icq`='',`cb_aol`='',`cb_msn`='',`cb_yahoo`='',`cb_jabber`='',`cb_country`='',`cb_medlemsnummer`='',`cb_showcar`=0,`linkedin_userid`='',`windowslive_userid`='' WHERE id='43' Return to Control Panel Call stack # Function Location 1 JAdministrator->dispatch() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/index.php:46 2 JComponentHelper::renderComponent() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/includes/application.php:153 3 JComponentHelper::executeComponent() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/libraries/joomla/application/component/helper.php:357 4 require_once() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/libraries/joomla/application/component/helper.php:388 5 require() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/admin.comprofiler.php:29 6 CBController_user->saveUser() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/admin.comprofiler.controller.php:181 7 moscomprofilerUser->saveSafely() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/controller/controller.user.php:158 8 moscomprofilerUser->store() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/library/cb/cb.tables.php:1625 9 comprofilerDBTable->store() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/library/cb/cb.tables.php:1164 10 CBdatabase->updateObject() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/library/cb/cb.database.php:90 11 CBdatabase->query() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/library/cb/cb.database.php:958 12 JDatabaseMySQL->query() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/administrator/components/com_comprofiler/library/cb/cb.database.php:695 13 JError::raiseError() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/libraries/joomla/database/database/mysql.php:542 14 JError::raise() /home/p/protouringse/protouringse/colorconsult.se/140-klubben/libraries/joomla/error/error.php:251

Jan Suhr
Nyköping, Sweden

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 6 months ago #197781 by krileon
Replied by krileon on topic Re: moscomprofiler error during save
Strange, 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.

Moderators: beatnantkrileon
Powered by Kunena Forum