Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Profil tab gone...
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2012 - 8:16 am

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...

Avatar
briot stephane
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2012 - 12:02 pm

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.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2012 - 10:26 am

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...

Avatar
briot stephane
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2012 - 3:22 am

Hi, 

 

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

And on the forum, nothing... 

fo3.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2012 - 5:43 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2012 - 5:42 pm

worth checking the error logs, but would be surprised...  since we check for existence of the form first, no error will get generated...

a blank screen does not make much sense either...  which makes it look like your db is screwed up...  the entry for the tabs I mean...  can you look at the sfmeta?  does it still contain the info I gave you?  or have you already tried a reset?  seems like the reset might be messing it up...

so lets dump a bit more code...  a little earlier in the same file, around line 72, find this line of code:

    $tabs = sp_profile_get_tabs();

after it please add

ashow($tabs);

and lets see what it contains and see if the serialized array is proper...

Avatar
briot stephane
Member
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2012 - 10:27 am

I add it... but nothing displayed :/ 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 12, 2012 - 6:35 pm

it should essentially just be echoing out what is the sfmeta entry... so can you echo back from your db, what you have there?

Avatar
briot stephane
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2012 - 4:32 pm

This is the content for sfmeta entry > meta_type > 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:"";}}}}
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 14, 2012 - 4:46 pm

At a quck glance I think this looks OK but I will await Steve's (Mr Papa) expert judgement - only he is away for another day.
This might come down to an Ajax issue however.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625