Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Affiliate Version 4.3.1 – Blank Page Body On Logout
Tagged: Logout, WP Affiliate
- This topic has 4 replies, 2 voices, and was last updated 14 years ago by westcoweb.
-
AuthorPosts
-
November 17, 2010 at 9:29 am #2249westcowebMember
Hi All,
Can you please help with the following:-
Using [wp_affiliate_view] to display Registration / Login within WP page. Everything is ok on login – all submenu options display correctly however on logout I get blank page body i.e. theme header, sidebar and page title displays correctly; its just the page body is blank.
Manual refresh of page shows full Registration / Login screen within the page body which is the action I want to happen on logout.
The logout code in wp_affilaite_platform1.php just does unset of cookies; so my question is what do I need to do to force the logout action to redisplay initial Registration / Login?
Michael
November 18, 2010 at 1:49 am #26651amin007ParticipantCan you please post a link to the affiliate page so I can create a test account and check it out?
November 18, 2010 at 8:36 pm #26652westcowebMemberHi Amin
Apologies for not getting back to you quicker; I have now reset WP-Affiliate to allow signups again and the link you want is this:-
http://westcountrywebsciences.co.uk/marketing-partners-centre
Takes you to a page using [wp_affiliate_view] where you can register new account.
My testing has been done under Firefox (latest version) and the behaviour reported initially is still present. Once in the affiliate area, access any of the sub-menu options and everything displays ok.
Now Logout; you should see the blank page body (theme header and sidebar are displayed ok).
Now try the following:
Click on Partners tab in top menu; you should find yourself still logged into the affiliate area. Do logout now and you will get the initial screen for the affiliate area (Register / Log In Images) i.e the behaviour that I would expect…
Update: Have just tested page under IE 8 (Latest version) and the behaviour is even more bizarre. When in affiliate area; the sub-menu options (contact , ads etc) disappear when clicked on.
Hopefully all of the above makes sense….
Kind regards,
Michael Bailey
November 19, 2010 at 4:15 am #26653amin007ParticipantI just tested by creating an affiliate account and I do not see the bank page. When I logout I get the initial landing page. I tested in Firefox (v3.6.12) and IE8.
From your explanation it seems like it’s having difficulty logging your out. Can you try creating a new account using the signup form then test it out? When you test it stay logged out of your WP admin just to create a real world user scenerio.
November 19, 2010 at 1:40 pm #26654westcowebMemberHi Amin, results of my testing; initially cleared all browser cookies etc. and NOT logged in as WP admin.
Results under my original Affiliate user account are exactly the same i.e. blank page body.
Now created two affiliate accounts: one via “Join” on the {wp_affiliate_view] page and one via add affiliate under the WP admin menu.
Cleared cookies etc and results as follows:-
Both accounts allow me to logout normally; i.e both return to the initial Join / Login screen as we would expect.
This is truly bizarre behaviour with that original affiliate account; obvious solution is to delete that one and re-create.
Thanks for looking at this and apologies for wasting some of your valuable time; however I never considered that it might be the affiliate account that was causing the problem.
Kind regards,
Michael
-
AuthorPosts
- You must be logged in to reply to this topic.