Skip to Content Skip to Menu

[SOLVED] Problems with a few users login in, getting white page

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 5 days ago - 10 years 2 days ago #252371 by fribse2011
I can't figure out what is going on.
I, and a lot of other users can log in to the website after the CB2.0 update, but two users complain.
I've gotten their credentials, and when I try to log in as them, I do get a white page as they claimed.
I've tried setting maximum logging, but I don't see anything shown. I've tried with Chrome, and done it with the console open, nothing.
What to do?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 10 years 2 days ago by fribse2011.

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 5 days ago - 10 years 5 days ago #252386 by fribse2011
Hey, I got something shown when activating debug:
First page shows (after pressing login)
Code:
... Site Debug mode: CB redirection without empty output During its normal operations Community Builder often redirects you between pages and this causes potentially interesting debug information to be missed. When your site is in debug mode (global Joomla config is site debug ON), some of these automatic redirects are disabled. This is a normal feature of the debug mode and does not directly mean that you have any problems. Click this link to proceed with the next page (in non-debug mode this is automatic): https://www.dkdb.dk/ ... 'task' => 'login', )
Second page shows:
Code:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in <span>/</span>home<span>/</span>dkdbdk/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php on line 75
Increasing the maxmem to 192:
Code:
Fatal error: Allowed memory size of 201326592 bytes exhausted (tried to allocate 130968 bytes) in <span>/</span>home<span>/</span>dkdbdk/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php on line 75
Increasing it to 256MB:
Code:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in <span>/</span>home<span>/</span>dkdbdk/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php on line 75
And increasing it to 512MB:
Code:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 130968 bytes) in <span>/</span>home<span>/</span>dkdbdk/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/cbconditional.class.php on line 75
So something is wrong with the cb_conditional, the version installed is 3.0.13.
Disabling the plugin let's the user login correctly.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 10 years 5 days ago by fribse2011.

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 5 days ago #252392 by fribse2011
Ahaa, got much closer now.
It seems that there is a significant change in cb_conditional from 1.9-compat to 2.0 version of it.
I don't hide empty fields in the config.
I have instead used conditional to hide specific empty fields.
That gave me errors in the conditional plugin overview:



So it won't allow me to hide itself if it's empty.
Removing those three conditionals, made it log in without issues.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
10 years 5 days ago #252422 by krileon
A field conditioning it self causes a loop. Next release will flat our prevent this from happening on the PHP side to avoid issues like this.


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
10 years 4 days ago #252444 by fribse2011
And this is a change of 1.9, so it gives me a headache now. I could use the conditional back in 1.9 to hide specific fields if they were empty.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
10 years 2 days ago #252500 by krileon
To hide empty fields use the core built in feature for hiding empty fields within CB > Configuration > User Profile. You should not have to use CB Conditional for that. Conditioning a fields self may work, but only for profile view; it'd probably break in profile edit. This may work again when I review the plugin for upgrade; I don't know yet as I have not upgraded it yet.


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