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
No update in WordPress Updates Page
Avatar
JosephUgoretz
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2012 - 12:46 pm

OK, I'll wait and see what Steve has to say.  Our install is a complicated one in other ways, so I agree that it could well be something more idiosyncratic going on.  One of those problems that will take some chewing! laugh

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 18, 2012 - 2:20 pm

ANother quick message from Steve (he can read the forum posts but not answer them):

We use the wp api for the update transient stuff. We don't 'look' anywhere specific for it. We get it from wp and we ask wp to update with out stuff via the api. So no we donlt look at any table as qwe use the API

This has been working. We have multiple folks doing admin upgrades in multisite.

I am to ask if you are doing domain mapping with plugin?

andy-signature.png
YELLOW
SWORDFISH
Avatar
JosephUgoretz
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2012 - 9:06 pm

No domain mapping. I will look into this more on my end and report back.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2012 - 9:21 pm

so yeah... have been doing some testing tonight... and as I feared - all works well for me...

I assume you are not seeing the sp update listed on the network admin updates page (wp-admin/network/update-core.php)?  I know you said it showed up on the wp plugins page... and of course as fate would have it, those two places list the updates differently...  both check for a update the same...

but the wp update method adds our plugin to the wp site transient (_site_transient_update_plugins) while the second just writes it to the screen...  I did not know it was multisite when I suggested checking the options table... as you correctly pointed out, multisite stores it elsewhere... but we use the wp api, so wp decides where to store it...

so if you are up to it, we can try tracking down what is happening to that site transient and why its not read on the wp network admin update panel...

Avatar
JosephUgoretz
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 8:23 pm

Thanks--I'm definitely up to it, but I don't know really where to go at this stage.  I will have some time tomorrow to test some things (didn't even have a minute to try working on this today).  I had the idea of working with a new clean test install on a local server and then slowly replicating my setup to see if I can pinpoint where the breakdown happens.  But that's a brute-force, slow process, so if you have any leads to most likely places to check, I'll take them!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 8:29 pm

yes, what I was thinking of is a few strategic 'print' and 'die' statements... wink  see what the data tells us...

might be easier on live server only cause we know its happening...  we can limit the debug display only to your user account...  check our our sp-load-debug.php file... in particular ashow() and vshow()...

Let me know when you might be around tomorrow (I am in Arizona) to do some stuff and can try to walk you through some stuff to look at...   or you could shoot us (via pm) a temp account with wp and sp admin caps, and ftp access and can do some troubleshooting myself... either way is fine...

have opened a bottle wine now, so tonight probably not the best time! kiss

Avatar
JosephUgoretz
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2012 - 12:18 pm

Things got a little hectic, but I am ready to look at some ideas, if you have advice?  I will be around this evening (Eastern time) or tomorrow (thursday)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2012 - 8:48 pm

gonna have to be a weekend for me...  how did you want to do it?  you or me?  if you, can try to post a view things to get you started...   work just limits my time during the week...

Avatar
JosephUgoretz
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2012 - 9:03 pm

I think for now it's best if I try, because my security guy is very tight-fisted with ftp accounts.  But if you can post a few obvious things to start with I can work with those to get started and then see if we can do some teamwork on the weekend.  If it looks like we will need to get you an ftp account to troubleshoot, I can try to wrangle that as a step two.

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2012 - 9:16 pm

understand... no worries...

first thing is to make sure you can read our update file...  since you see it on the plugin, assume you can, but lets check...

edit file simple-press/sp-startup/admin/spa-admin-updater.php...  around line 19 after

    $body = wp_remote_retrieve_body($response);

lets add

ashow($body);
die();

load up an admin page and see if we get a good response on the server... if so, can remove again...

now to go further you need to have a plugin that needs updating...  you can just edit one of them and drop the version by a .1...  verify that you see update needed on the sp plugins page...

then edit same file, routine sp_update_check_sp_plugins(), around line 105... after

        $plugins = sp_get_plugins();

add in

ashow($plugins);
die();

and go to the wp udpates page...  does it show some plugins?

so you can see what I am doing here... just following the path on down to see why you dont see plugin updates...  in that same routine, just keep stepping your way down until you see why you dont get to the part with all the table output listing the plugins...

sound easy? wink

oh....  ashow() is one of our debug stuff for pretty display of debug info...

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626