Skip to Content Skip to Menu

"Session expired or cookies are not enabled in your browser"

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months ago #261366 by ricco1
Hi,

Joomla! 3.3.6 Stable
CB 2.0.7
CBSubs 4.0.0-rc.2

On registration if I choose a paid plan I get this error: "Session expired or cookies are not enabled in your browser", the user is added in the backend but the payment page is not shown in front. If I choose a Free plan the registration process is normal without problems.

I've disabled the spoof checking within CB > Configuration > Integrations and the error is gone, but I'm concerned if the site will be functioning normally without that option?

I've checked my error log and there are some CB and CBSubs related errors which I'd like to address you even if the session problem is resolved:

PHP Notice: Trying to get property of non-object in /.../com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubspromotion/cbsubs.promotion.php on line 1961

PHP Notice: Trying to get property of non-object in /.../com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubspromotion/cbsubs.promotion.php on line 865


PHP Warning: stripslashes() expects parameter 1 to be string, array given in /.../libraries/CBLib/CBLib/AhaWow/Controller/ActionController.php on line 709

Advice please?

Thank you,
Regards,
ricco

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #261420 by krileon
Within _cbsubs_promotions and _cbsubs_plans ensure you don't have an invalid (basically empty) database row. This can cause the object to break (it's erroring on the plan object).


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.

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months ago #261463 by ricco1
Hi Kyle,

Thank you for your answer, and sorry, but could you take your time and explain me what do you mean?

I'm not a CB or any extension developer, I don't understand what you are saying, you have to tell me step by step, that's why I'm paying. If I know what you know I will probably invent CB3.

Don't get me wrong, I'm trying to get a result please?

Thank you

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 7 months ago #261472 by nant

krileon wrote: Within _cbsubs_promotions and _cbsubs_plans ensure you don't have an invalid (basically empty) database row. This can cause the object to break (it's erroring on the plan object).


Use phpmyadmin and locate the tables with _cbsubs_promotions and _cbsubs_plans in their names.

Browse through them and see is one of them has an empty row in it.

If you see an empty row then use phpmyadmin to delete it.

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

  • ricco1
  • ricco1
  • OFFLINE
  • Posts: 310
  • Thanks: 8
  • Karma: -7
9 years 7 months ago #261544 by ricco1
Thank you.

I don't have any empty rows in both tables.

What's next?

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #261548 by krileon
Ensure CBSubs Tax is installed and published as it's a dependency for CBSubs Promotions (and CBSubs Mailer). Also ensure within Extension > Plugin Manager the first system plugin is "System - Community Builder" and that it's enabled as it'll purge page cache to try and avoid the session expired issues caused by caching.


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