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
Profile and Menu Tabs disappeared
Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2012 - 5:48 pm

Hi all,

I really need a hand in this situation because have to be online in two days :(

I migrated the site from a local server to the production one and all gone well apart one thing.

In administration, profile area, clicking on Profile and Menu Tables there was the normal list of menu but in front end profile tabs shown that was missing the plugin.

So I went to check the menu and seen that the path was the old, local one, so I changed with the new one.

After saved, all menu are disappeared :(

I tried to restore, with a dump, all tables not directly related with posts and users but nothing.

Any idea? I really don't know where to beat the head, every help will be appreciated.

Thanks in advance

 

profile-tabs-frontend.pngImage Enlarger

profile-tabs-admin.pngImage Enlarger

Marco

Hakuna Matata

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2012 - 6:28 pm

If you migrated, go to forum - toolbox - housekeeping and click on reset profile Tabs and menus.

Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 12, 2012 - 2:12 pm

Thanks for answer Steve,

I did this before asking here, without results, same situation.

Other ideas?

Hakuna Matata

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 1:01 am

sorry, I cannot read your images in that language...

after resetting the profile tabs and menus in the toolbox, you still get errors on front end pointing to old location???

Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 8:49 am

The problem isn't that the path is or not correct, the problem is that are completely disappeared all menus so I thought that was clear, even if language was italian.

I cannot know if paths are correct or not, from administration, because there aren't anymore menu to open.

Paths are corrects because I triple checked from db tables, but both in admin and front end, all menus and tabs are gone.

Hope that is more clear now

profile-tabs-admin-eng.pngImage Enlargerprofile-tabs-frontend-eng.pngImage Enlarger

Hakuna Matata

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 10:29 am

sorry, keyed in on your statements

I migrated the site from a local server to the production one and all gone well apart one thing.

So I went to check the menu and seen that the path was the old, local one, so I changed with the new one

so hence why I had you do what I did and asked about the paths still wrong...  nothing to do with Italian... ;)

do you have a link to site? and possibly need a temp account... but likely a js issue... want to check the console for any ajax responses...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 10:31 am

sorry, missed something... how did you 'change to new one"?  in the db?  if so, do you know how serialized arrays work?  asking because I dont know your level of php/db experience...

Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 12:15 pm

Mr Papa said
sorry, missed something... how did you 'change to new one"?  in the db?  if so, do you know how serialized arrays work?  asking because I dont know your level of php/db experience...

Ah! may be I missed something... no, my aknowledgment isn't so deep.

First I started to change path one by one, after I decided to change them directly on DB and run a query to replace text in tables changing from "/old/local/path/ to "/new/local/path/ so only replaced text strings, and now I understand that this could be a wrong process to follow..

I just sent you in PM data for access to the site, I greatly appreciate if you could have a loook on it, or suggest another solution that I can try.

Tnaks in advance

 

Marco

Hakuna Matata

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 12:38 pm

No, you cannot just replace text strings within serialize arrays like that...  before the string is a constant which tells the length of that string... you if change the string, you must update the length... or else you will have corrupted the data...   

the toolbox reset tabs and menus would do that for you automatically...  but since its corrupted, appears the button will no longer work...

lets try this... so  you know where it is in sfmeta, right?  can you replace the meta_value you have 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:"";}}}}

be sure to use the raw code button to copy...  this should reset the sfmeta entry to valid...

then go to forum - toolbox - housekeeping and reset the profile tabs and menus... and see if that gets it back...

Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 13, 2012 - 1:08 pm

Steve, I love you! kiss

It works perfectly now.

I thought that was normal text string and didn't thought about code and length.

Next time, before to make a mess, I'll ask here.

Thanks a lot, for your assistance. You rock! ;)

 

Marco

Hakuna Matata

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