Hi, after I logout from the forum I get a blank page. Only after reloading this blank page mit F5 I get the logout message if I really want to logout. What do I need to change to get rid of this blank page. I did not notice this blank page before. Thanks for any suggestions.
Support Forum
Well the first thing to say is that ‘Only after reloading this blank page mit F5 I get the logout message if I really want to logout” is not a common feature of WP. It does not ask such a question – which suggests you might be using some sort of login/logout plugin perhaps?
Login/logout/registration are all pure WordPress as far as Sp is concerned. They are NOT SP functions. But on our Login/registration admin panel we do offer the option for you to specify a redirect which i then passed on to WP so this might be what you need to set.
I already tried this option, but it did not work. Actually, in the meantime the situation worsened. I cannot even open the forum page. Just a blank page. http://pensta.net
First, I could get a workaround by login in as admin and then within the forum plugin clicking the button “go to forum”. This would call up again the forum. This does however not work anymore. I will reinstall SP.
That is not loading anything. Not even the WP header.
Did you change any code?
Yes, I did, but only hardcoded text strings, which are not included in the mo-files, which are quite a number to my surprise (which should be fixed to allow complete localization of sp). But this should not result in this behaviour. Anyway, I deinstalled SP being aware there is a problem and I will now document every step I make.
To make sure there is no old code left, it did the following:
– Deleted the sp plugin from the admin page of wp (assuming that this will delete also anything in the mysql database, which might be related to sp)
– Deleted on the server the following two folders (inlcuding subfolder of course):
wp-content/sp-resources
wp-content/plugins/simple-press
After that I reinstalled sp. After login as admin to the forum and logging out, again the same error. Blank page. Nothing loaded. After reload with f5 the logout message appears. After clicking the logging out link the home page appears.
This is now a real surprise. I did not change anything in wp, which might cause this error (as you indicated that you use the wp-logout routine).
This would indicate to me that there was still some old stuff left after the deinstallation of sp and it must be in the mysql database if I have not overlooked a folder as I deleted sp from the server.
I would also indicate that this is somehow related to a wp problem, but I definitively did not touch wp at all. Must likely sp did write something in a wp-table, which remained there after the deinstallation of sp.
Btw, first I had only a blank page after the logout. Later I was not even able to load the forum (the problem you noticed). Between these two errors I did not change anything in the code.
A clue to the solution:
When I logout from the forum and I get a blank page the following address is given:
http://pensta.net/wp-login.php?action=logout&_wpnonce=622ec5deb2
When I delete “&_wpnonce=622ec5deb2” and reload the page the proper logout message page appears.
what version of wp??? current versions require the nonce – older versions do not… and to run sp 5.0, you must be on wp 3.3+…
When I delete “&_wpnonce=622ec5deb2” with firebug before clicking the logout button, this will bring me correctly to the logout message page. This, it is this “&_wpnonce=622ec5deb2”, which causes the blank page.
Btw, since my earlier post after new installation of sp I cannot even access the forum page at all right now, i.e., I am right there, where I was before I deinstalled sp. And I did not work on the code at all. I realise now, that this seems to be a wp problem. I used Joomla before and heard over and over about the so much superior wp and now this. This must be annoying to sp developers, when basic things do not properly work because of wp problems. Any normal user would have quit long before. I really like sp. Hope you can solve this issue for me.
As the problem started, when I tried to fix the German mo-translations, a word about that (maybe this is of interest to you)
1. Approved German glottpress translations are sometimes akward.
2. Approved German translations have quite a number of mistakes, also grammatical mistakes. E.g., it seems that the German comma rules are not known.
3. German word order is different from English word order. This results in impossible translations when a variable like the username is between text strings. In this case you cannot simply translate text strings, you must complete reword the text to make a readable sentence, without changing the code structure to accomodate for the German word order.
This just to inform you that the current German localization sheds a bad light on sp. I cannot let users face a forum with such basic mistakes. I also noticed that the German translations of the user profile page are in the mo-file, but they are not displayed on the user profile page. Thus, currently it is not possible to present the user profile page in German.
so back to another question… any other login, registration or user plugins?
wp most definitely requires a logout nonce (ie http://wordpress.org/support/topic/wp-27-cant-log-out) but many, many topics on this… where is this logout link? is it in the forum? or elsewhere?
No login, registration or other user plugin used. Yes, I realized that there are many topics on this logout nonce issue on very different levels. The logout link is in the forum, the one the registered user clicks to logout. The real bad thing is now that I cannot even access the forum page anymore as mentioned before, see: http://pensta.net/
Thanks for hanging in there. I however did not send a PM with my login credentials. Whatever, if you need to have a look at my site this is okay.
Your are right. As mentioned before, I deinstalled SP, but I did not create up to this point any forum. The logout problem does not need a forum to solve it. I can add forums so some tests can be made (I am in the process to get this website going, so nothing really is lost, just about a week’s time trying to solve the problem on my own).
When I am logged in on the site admin and I go to the acutal site via the top WP admin bar on the left I get the actual site with the admin bar at the top indicating that I am still logged in. It seems that we have a different behaviour.
The jQuery issue I cannot comment on. If this should be the problem, is there a way to find out, which themes are complining with WP coding rules? If I really have to switch to a new theme I don’t want to run into the same problem.
I am not aware of anything called Quick Post Widget. I did not add something like this to WP. So I do not need to load what I did not add. I am not sure if the tinyMCE editor comes with WP or if you refer to the SP Plugin. Whatever, what you described I do not need.
As I recall I started to work with SP on WP with the current theme for maybe two weeks. I installed WP, the theme and then SP. I added some forums to get used to the system. I had no problem at all. Then I started to localize SP into German, first by adding the German mo-files but realized that the provided mo-files are of bad quality as mentioned above. I improved the translations with a po-editor. As I recall, up to that point I had no problems. Then I realized that you cannot thoroughly localize SP as there is still hardcoded text in the code. Here I began the first time to work on the code and did not have any problems (just replacing strings). In this process I also adapted the English default avatar images to German. After I had replaced them, the problems started.
From my knowledge of programming this should all not result in what we have now. Particularly that after reinstalling SP completely the same issue pops up again and right away. This persistent different behaviour in comparison to the early stages of my work suggests to me that there is now something wrong within WP and this most likely resides in the database, which would explain that I cannot get rid of it, as WP itself was not reinstalled.
If I have to reinstall WP and have to use another theme and adapt it to my particlular layout, I can do it, but I would be calming if I would know, if this really will sort out the problem. But without knowing the problem a simple reinstallation may end up at the same point where we are now.
What puzzles me ist the fact that after reinstalling SP I had the forum logout problem but had no problem to access the forum. It worked fine for an hour with numerous switches to the forum and back to the main site. Only later, without any changes from my side suddenly I could not access the forum anymore.
My suggestion: I will delete SP again. Please, correct my deleting process desribed above, if necessary, so that we get rid off all SP components. This should allow us to access the forum again after reinstallation and you might be able to see how the problem evolves as you log in and log out.