Skip to Content Skip to Menu

jos_users params gets larger every profile save?

  • nant
  • nant
  • ONLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 3 months ago #170314 by nant

gblx wrote: It doesn't happen when I replace the modifications I have made to the core files.
It happens whenever a custom profile field is created - in this case a dropdown.

But, to be sure, I am going to trash this installation and start over.


Well, we cannot really support modifications you have made.

If you can replicate with just our code then we can help.

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

  • gblx
  • gblx
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
13 years 3 months ago #170324 by gblx
I understand, and I was positive that it wasn't a modification - but I think that it may've been.

I think it has something to do with the checks am I putting in so that CB behaves when lodaing JQuery - it's a pity that there is very little control of CB's output without having to do core hacks.

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

  • gblx
  • gblx
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #171730 by gblx
Nick, this time I have 100% confirmed and replicated this issue with a brand new install of Joomla 1.7 and CB 1.7

1. Create database in phpmyadmin
2. Install Joomla
3. Install com_comprofiler
4. Install mod_cblogin
5. Install mod_comprofilerModerator
6. Install mod_comprofilerOnline
7. Create Profile menu.
8. Unpublish Joomla's default login module
9. Publish cblogin
10. Login to front end as admin
11. Go to profile -> Click "Update profile -> click "Update" (nothing needs to be changed).
12. Go to phpmyadmin and view the _users table - the params field should read:
Code:
{"admin_style":"","admin_language":"","language":"","editor":"","helpsite":"","timezone":""}

This is the debug log: pastebin.com/avT6FSCk

13. Now, in the backend goto "Community Builder" -> "Configuration" -> "User Profile" Tab
14. Select NO for "Allow user to edit his CMS parameters in frontend" then save.
15. Return to frontend and attempt to update the profile again (again, nothing needs to be changed)
16. Go once more back to phpmyadmin and view the _users table - the params field will now read:
Code:
{"0":"{\"admin_style\":\"\",\"admin_language\":\"\",\"language\":\"\",\"editor\":\"\",\"helpsite\":\"\",\"timezone\":\"\"}"}

This is the debug log: pastebin.com/MdRuGZ4e

Subsequent edits to the profile only worsen the "padding" around the variables stored in the table.

I have also set Joomla to hide frontend user parameters (users -> user manager -> options) - this does not hide them in CB, nor does it rectify the situation as described above.

Any advice?

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

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
13 years 2 months ago #171849 by beat
Do you have magicgpcquotes off or on in your php settings ?
Does it happen in the other setting too ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

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

  • gblx
  • gblx
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #171932 by gblx
Beat,

My php magic quote settings are:
Code:
magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off

I have not noticed this behaviour with any other settings.

Thanks for the help.

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

  • gblx
  • gblx
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #172715 by gblx
Beat - do you have any other advice regarding this issue?

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

Moderators: beatnantkrileon
Powered by Kunena Forum