Skip to Content Skip to Menu

CB conditional 4.0.5 breaks save user profile with error 500

  • activha
  • activha
  • ONLINE
  • Posts: 2334
  • Thanks: 117
  • Karma: 13
9 years 10 months ago - 9 years 10 months ago #256741 by activha
Hello
Just installed CB conditional nightly build version 4.0.5 but it seems that I cannot save a user profile now
Trying to save a profile always give a 500 network internal error, unpublishing CB Conditional plugin gives back the save ability
any hint ?
Last edit: 9 years 10 months ago by activha.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
9 years 10 months ago #256768 by krileon
There isn't a CB Conditional 4.0.5 nightly build. Please ensure you've downloaded the CB Conditional 4.0.5 stable build from the professional downloads section. When you encounter an error of any kind ensure debug mode and maximum error reporting have been configured in Joomla global configuration then re-test to try and expose the error. If still no error displaying then check server error log. I'm unable to confirm your issue, but you maybe trying to condition the edit display of a field that doesn't have an edit display (e.g. query field or progress field).


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.

  • activha
  • activha
  • ONLINE
  • Posts: 2334
  • Thanks: 117
  • Karma: 13
9 years 10 months ago #256771 by activha
Sorry this was the correct 4.0.5 CB conditional plugin
The only error that I have is :
Fatal error: Cannot access empty property in /var/www/html/libraries/CBLib/CB/Database/Table/UserTable.php on line 290

When unpublishing the plugin all is working ok.

I guess that even if I was trying to condition an edit display of a field that does not have an edit display, it should cause the same error on the profile display ?

and profile display is ok we have this problem only with save profile

I have no clue of what is going on with the CB conditional plugin

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
9 years 10 months ago #256773 by krileon
The function that's erroring on is called on a dummy CB user object to bind the post data to it so it can be used to pull the POST field value. You have something posting an input with no name is my guess, which is invalid HTML. You can add the following debug code to dump the POST data it's trying to bind.

IN: components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.php
ON: Line 791
Code:
echo '<blockquote>'; var_dump( $post->asArray() ); echo '</blockquote>';

Do you have a CB Auto Actions action or some sort of plugin/extension that's altering the post data? Try disabling CB plugins other than CB Conditional and see if it goes away. I'm unable to duplicate your issue here.


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.

  • activha
  • activha
  • ONLINE
  • Posts: 2334
  • Thanks: 117
  • Karma: 13
9 years 10 months ago #256777 by activha
I already checked the post data on firebug and I have not detected any error or invalid html.
Checking with the code I was not able to see any errors neither.

Un publishing auto actions did not change anything.

this is strange as we got no problems until last week but I cannot trace back the change and the problem

Would you mind to have a look inside to help ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
9 years 10 months ago #256778 by krileon
Disable plugins and extensions other than CB Conditional 1 by 1 to see if another plugin or extension is conflicting. If that doesn't fix it then try disabling each condition 1 by 1 to see if a specific condition is causing this. Some fields to be careful with are core fields (e.g. username, name, email, user params) and fields with no edit display (progress, query, etc..).

If the debug steps above do not resolve your issue then please PM backend super administrator login credentials and can 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