Support Forum

Profil tab gone…

BS briot stephane
briot stephane
Member

Hi, 

after using “Housekeeping” > “reset profile tab”, all the tab are gone… 

So what ? (: 

26 Answers

New Answer

MP Mr Papa
Mr Papa
Member

a little more info please…  assume you  mean reset profile tabs and menus button on housekeeping…  why were you clicking on it?  and what is the issue now?  when you visit the profile on front end, that is…

need a bit of info to help you out… 

BS briot stephane
briot stephane
Member

Yes, sorry (: 

I’m click on it because the form on the front doesn’t display. 

A message said to go on housekeeping and reset the tab. So, i do it. 

And now, when i’m visit the profil page on the front, there is simply nothing. 

As you can see on the image, nothing… bo.pngfo.png

MP Mr Papa
Mr Papa
Member

what is version of sp?  were your profile tabs translated?

can you go to your db and find the sfmeta table…  look for the entry with meta type of profile and meta key of tabs…  and replace the contents of it with this:

a:7:{i:0;a:5:{s:4:"name";s:7:"Profile";s:4:"slug";s:7:"profile";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:7:{i:0;a:5:{s:4:"name";s:8:"Overview";s:4:"slug";s:8:"overview";s:4:"form";s:98:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:1;a:5:{s:4:"name";s:12:"Edit Profile";s:4:"slug";s:12:"edit-profile";s:4:"form";s:97:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-profile.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:2;a:5:{s:4:"name";s:15:"Edit Identities";s:4:"slug";s:15:"edit-identities";s:4:"form";s:100:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-identities.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:3;a:5:{s:4:"name";s:11:"Edit Avatar";s:4:"slug";s:11:"edit-avatar";s:4:"form";s:96:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-avatar.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:4;a:5:{s:4:"name";s:14:"Edit Signature";s:4:"slug";s:14:"edit-signature";s:4:"form";s:99:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-signature.php";s:7:"display";i:1;s:4:"auth";s:14:"use_signatures";}i:5;a:5:{s:4:"name";s:11:"Edit Photos";s:4:"slug";s:11:"edit-photos";s:4:"form";s:96:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-photos.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:6;a:5:{s:4:"name";s:16:"Account Settings";s:4:"slug";s:16:"account-settings";s:4:"form";s:97:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-account.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:1;a:5:{s:4:"name";s:7:"Options";s:4:"slug";s:7:"options";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:3:{i:0;a:5:{s:4:"name";s:19:"Edit Global Options";s:4:"slug";s:19:"edit-global-options";s:4:"form";s:104:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-global-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:1;a:5:{s:4:"name";s:20:"Edit Posting Options";s:4:"slug";s:20:"edit-posting-options";s:4:"form";s:105:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-posting-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:2;a:5:{s:4:"name";s:20:"Edit Display Options";s:4:"slug";s:20:"edit-display-options";s:4:"form";s:105:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-display-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:2;a:5:{s:4:"name";s:10:"Usergroups";s:4:"slug";s:10:"usergroups";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Memberships";s:4:"slug";s:16:"show-memberships";s:4:"form";s:101:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-memberships.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:3;a:5:{s:4:"name";s:11:"Permissions";s:4:"slug";s:11:"permissions";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Permissions";s:4:"slug";s:16:"show-permissions";s:4:"form";s:101:"C:/wamp/www/wordpress-dev/wp-content/plugins/simple-press/forum/profile/forms/sp-form-permissions.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:4;a:5:{s:4:"name";s:23:"Buddies and Adversaries";s:4:"slug";s:23:"buddies-and-adversaries";s:7:"display";i:1;s:4:"auth";s:6:"use_pm";s:5:"menus";a:2:{i:0;a:5:{s:4:"name";s:14:"Manage Buddies";s:4:"slug";s:14:"manage-buddies";s:4:"form";s:110:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/private-messaging/forms/sp-pm-buddies-form.php";s:7:"display";i:1;s:4:"auth";s:6:"use_pm";}i:1;a:5:{s:4:"name";s:18:"Manage Adversaries";s:4:"slug";s:18:"manage-adversaries";s:4:"form";s:114:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/private-messaging/forms/sp-pm-adversaries-form.php";s:7:"display";i:1;s:4:"auth";s:6:"use_pm";}}}i:5;a:5:{s:4:"name";s:13:"Subscriptions";s:4:"slug";s:13:"subscriptions";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:3:{i:0;a:5:{s:4:"name";s:20:"Subscription Options";s:4:"slug";s:20:"subscription-options";s:4:"form";s:117:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/subscriptions/forms/sp-subscriptions-options-form.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:1;a:5:{s:4:"name";s:19:"Topic Subscriptions";s:4:"slug";s:19:"topic-subscriptions";s:4:"form";s:116:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/subscriptions/forms/sp-subscriptions-manage-form.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:2;a:5:{s:4:"name";s:19:"Forum Subscriptions";s:4:"slug";s:19:"forum-subscriptions";s:4:"form";s:115:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/subscriptions/forms/sp-subscriptions-forum-form.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:6;a:5:{s:4:"name";s:7:"Watches";s:4:"slug";s:7:"watches";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:14:"Manage Watches";s:4:"slug";s:14:"manage-watches";s:4:"form";s:104:"C:/wamp/www/wordpress-dev/wp-content/sp-resources/forum-plugins/watches/forms/sp-watches-manage-form.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}}

and then go back and do the housekeeping reset again…  BE SURE to get raw copy of the data above so you get the proper quotes…  dont worry about the valus until after you reset it…

BS briot stephane
briot stephane
Member

SP version : 5.1.4

Right, now, it’s ok in the back office. 

On the front, i have thise message : 

Le formulaire du profil n’a pu être trouvé : [Account Settings]
You might try the forum – toolbox – housekeeping admin form and reset the profile tabs and menus and see if that helps

For information, my server using a debian squeeze with ispconfig 3. 

And, as i understand, there is several problem with open_basedir.

fo2.png

 

 

 

 

EDIT : Hum, no… not working. After going on housekeeping and reset the tab, everything gone away.

This the content form the entry for the sfmeta table – profile

 

a:5:{i:0;a:5:{s:4:"name";s:7:"Profile";s:4:"slug";s:7:"profile";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:7:{i:0;a:5:{s:4:"name";s:8:"Overview";s:4:"slug";s:8:"overview";s:4:"form";s:106:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-overview.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:1;a:5:{s:4:"name";s:12:"Edit Profile";s:4:"slug";s:12:"edit-profile";s:4:"form";s:105:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-profile.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:2;a:5:{s:4:"name";s:15:"Edit Identities";s:4:"slug";s:15:"edit-identities";s:4:"form";s:108:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-identities.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:3;a:5:{s:4:"name";s:11:"Edit Avatar";s:4:"slug";s:11:"edit-avatar";s:4:"form";s:104:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-avatar.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:4;a:5:{s:4:"name";s:14:"Edit Signature";s:4:"slug";s:14:"edit-signature";s:4:"form";s:107:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-signature.php";s:7:"display";i:1;s:4:"auth";s:14:"use_signatures";}i:5;a:5:{s:4:"name";s:11:"Edit Photos";s:4:"slug";s:11:"edit-photos";s:4:"form";s:104:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-photos.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:6;a:5:{s:4:"name";s:16:"Account Settings";s:4:"slug";s:16:"account-settings";s:4:"form";s:105:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-account.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:1;a:5:{s:4:"name";s:7:"Options";s:4:"slug";s:7:"options";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:3:{i:0;a:5:{s:4:"name";s:19:"Edit Global Options";s:4:"slug";s:19:"edit-global-options";s:4:"form";s:112:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-global-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:1;a:5:{s:4:"name";s:20:"Edit Posting Options";s:4:"slug";s:20:"edit-posting-options";s:4:"form";s:113:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-posting-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}i:2;a:5:{s:4:"name";s:20:"Edit Display Options";s:4:"slug";s:20:"edit-display-options";s:4:"form";s:113:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-display-options.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:2;a:5:{s:4:"name";s:10:"Usergroups";s:4:"slug";s:10:"usergroups";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Memberships";s:4:"slug";s:16:"show-memberships";s:4:"form";s:109:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-memberships.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:3;a:5:{s:4:"name";s:11:"Permissions";s:4:"slug";s:11:"permissions";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:16:"Show Permissions";s:4:"slug";s:16:"show-permissions";s:4:"form";s:109:"/var/www/clients/client6/web8/web/wp-content/plugins/simple-press/forum/profile/forms/sp-form-permissions.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}i:4;a:5:{s:4:"name";s:11:"Abonnements";s:4:"slug";s:11:"abonnements";s:7:"display";i:1;s:4:"auth";s:0:"";s:5:"menus";a:1:{i:0;a:5:{s:4:"name";s:21:"Options d'Abonnement";s:4:"slug";s:19:"options-dabonnement";s:4:"form";s:125:"/var/www/clients/client6/web8/web/wp-content/sp-resources/forum-plugins/subscriptions/forms/sp-subscriptions-options-form.php";s:7:"display";i:1;s:4:"auth";s:0:"";}}}}
MP Mr Papa
Mr Papa
Member

so simple press is having trouble opening the profile form… but oddly its trying to open the account settings form… do you have the force password change option set on forum – profile – profile options??

shouldnt matter, but would be interested if all forms fail or just this one…

argh, we recently changed the error message to not include the path (security by obfuscation)… wish we hadnt done that since it would be useful info here…

what is ipsconfig3???

MP Mr Papa
Mr Papa
Member

sorry, not sure after your edits where this is…  after inserting my meta value, and clicking on the profile tab reset ONCE, what was the status?  or did you hit it more than once?

why do you think you have an open_basedir problem?  are you running php in safe mode (hope not)?

BS briot stephane
briot stephane
Member

Hi Mr Papa, 

SO, i follow this step : 

Copy your data in my database

Reset via housekeeping

Result : profil as gone… Like my first screenshot. 

 

Ispconfig : Admin panel like Plesk or CPanel. 

Why do i think the problem came from open_basedir ? Cause, at first, i had an error message specify this. I found a soluce for fixe this on ispconfig. But now, the profile form as gone. 

I upgraded ispconfig to fix it definitively, and for this, it’s ok. I had several other problems with this open_basedir who are now fixed. 

My last issue is with this profil form. 

Hope my explanation in this poor english are clear for you (:

MP Mr Papa
Mr Papa
Member

so what did you do to the open_basedir settings?  we dont typically require anything special and have no other users with such an issue…

the profile form is included with:

                    include_once ($thisForm);

so nothing fancy…

if up to small code change, we can at least dump the form and make sure the path is correct…

MP Mr Papa
Mr Papa
Member

so what did you do there?  normally, no reason to change the default php open basedir settings…  what have you set it to?  still not sure a player since we ‘include’ a lot of files within simple press, not just a form…

I know you didnt modify anything… I asked if you ‘could’ so we could see the path…

BS briot stephane
briot stephane
Member

In ispconfig, the normal pass for open_basedir PHP : 

/var/www/clients/clientxxx/webxxx/web:/var/www/clients/clientxxx/webxxx/tmp:/var/www/xxx.com/web:/srv/www/xxx.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
 
The ispconfig support advice for fix problem : change this pass to “/”. 
 
But, in the two case, the profil won’t work. 
 
Edit: what would you like i change in the code ? And where ? (: 
 
Really sorry, i try to do my best to explain myself an understand… Not really easy sometimes.
MP Mr Papa
Mr Papa
Member

the ‘standard’ php default is to not even define it…  just comment it out in php.ini…  but not convinced that is at play here…  yes, we do an include on the forum file… but its now different than other includes strewn throughout the php code…  not sure why it would croak on just that include…

in file simple-press/forum/profile/ahah/sp-ahah-profile.php, around line 145, find this line

                    echo sp_text(‘Profile form could not be found’).’: [‘.$menu[‘name’].’]<br />’;

and change it to

                    echo sp_text(‘Profile form could not be found’).’: [‘.$thisForm.’]<br />’;

and lets see where its pointing to for the form… then we can dig a bit further…

BS briot stephane
briot stephane
Member

Hi, 

 

Ok, i made the change in the sp-ahah-profile.php

And on the forum, nothing… 

fo3.png
YS Yellow Swordfish
Yellow Swordfish
Member

Steve was hoping for some more info to be displayed on the screen but as you show – it has just gone completely again.

I think we have to tackle this the old-fashioned way to begin with. Can you look in the php error logs? I would have suspected something to be in there after each attempt to load the profile forms.