Skip to Content Skip to Menu

CB 2.0 Stable Release

  • stuntlist
  • stuntlist
  • OFFLINE
  • Posts: 93
  • Thanks: 4
  • Karma: 0
10 years 5 months ago #245660 by stuntlist
Replied by stuntlist on topic CB 2.0 Stable Release
Hi Kyle,

I copied over the router file and I now get the default list being displayed rather than the error I was getting before, but not the list with id of 11.

In the function userList in comprofiler.php, it is checking $_POST which is blank. It is the REQUEST variable that has the listid of 11 but the POST variable doesn't have anything set. So, this is the reason that we are getting the default list rather than list 11. If I add this line:
Code:
$listid = cbGetParam( $_REQUEST, 'listid', 0 ); //Line49 hack
into the function usersList() then I get the proper list being displayed.

It looks like the $_POST and $_GET variables are not being setup correctly, somewhere. The
Code:
$searchFormValuesRAW = $_GET;
is blank as well.

So, where should the POST & GET variables be set for use? Or am I safe to just use the REQUEST variable in the usersList function?

A second problem, I can no longer get user profiles to display, I just get the 404 page when I try to click into a user profile. I think that this problem happened when I upgraded to Joomla 3.3.0. Has anyone else had that problem?

Thank you for your help.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245680 by krileon
Replied by krileon on topic CB 2.0 Stable Release
CB 2.0 prepares GET and POST in its Joomla system plugin, which is not present in CB 1.x. I don't know if the system plugin would work for CB 1.x either, but you could try it.


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.

  • stuntlist
  • stuntlist
  • OFFLINE
  • Posts: 93
  • Thanks: 4
  • Karma: 0
10 years 4 months ago #245906 by stuntlist
Replied by stuntlist on topic CB 2.0 Stable Release
Hi Kyle,

I am doing a test migration to see if everything is ready to migrate the live site. But, with the new migration site I am getting a CB error that I am not getting on the older test migration site.

See: test.stuntlist.com/west-members-male
Page shows fine and no errors
but on this page: www.test3.stuntlist.com/west-members-male
I get the following error:

Warning: Invalid argument supplied for foreach() in /home/newlist/public_html/administrator/components/com_comprofiler/library/cb/cb.lists.php on line 444

I have compared the /components/com_comprofiler/comprofiler.php on both sites and they are the same. I have added the views like on the other site and updated the router.php file and renamed the metadata.xml file like the other site.

I tried installing the cb 2 system plugin but it made no difference.

Any ideas what is causing this error?

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #245949 by krileon
Replied by krileon on topic CB 2.0 Stable Release
Line 444 in that file for CB 1.9.1 is inside getFieldsSQL, which puts together the field SQL. This means you've no fields on the userlist at all that are accessible. If you're migrating then you need to ensure you've checked your view access levels and usergroup usages through CB carefully as they do not match from J1.5 to J2.5+.


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.

  • stuntlist
  • stuntlist
  • OFFLINE
  • Posts: 93
  • Thanks: 4
  • Karma: 0
10 years 4 months ago - 10 years 4 months ago #245973 by stuntlist
Replied by stuntlist on topic CB 2.0 Stable Release
Hi Kyle,

I have checked all the CB lists and they now have Public View and Registered users to display. I have checked all the CB Plans and they have Public view and Registered Access. I have checked CB Subs Setting and CB Configuration (User Profile Access is set to Everybody). Fields don't have access levels and user groups. All CB Plugins have Public Access. All the CB Tabs have Public, Registered or Special Access.

If I login then I can view the CB lists, but if I am NLI then I get the error. The CB Lists have the access view level set to Public, so I don's see why they aren't working.

I just don't know where else to check.

Any ideas?
Last edit: 10 years 4 months ago by stuntlist. Reason: found logged in works, just nli doesn't

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #245989 by krileon
Replied by krileon on topic CB 2.0 Stable Release
If being logged out is the issue then you've a permissions issue somewhere resulting in a list trying to build with nothing (no fields at all). Are you using Joomlas Guest usergroup feature? If so the Guest view access level should include your Guest usergroup and Public encase anything is set to use Public view access level otherwise Guest won't be able to access Public.


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