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
Simple press and Wordpress login problem
Avatar
Valerio Vassallucci
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2014 - 10:10 am

Hi,

I have a problem with the simple press login and wordpress.

When a user logs in for the first time with forum login button (meaning the first time you access the site from the browser) is the returned error 403 (or blocked with chrome and firefox) on the page where the log and see that www."forum name".com/wp-login.php.

Once accessed the first time works.

If you delete browser data, or logs in after a few hours, the problem returns.

I think the problem occurs again when it expires coockie the session.
 
What could be the reason for this?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 14, 2014 - 10:33 am

I should imagine some local/environmental issue to be honest.

Do not forget that there is no such thing as logging into Simple:Press.  The login process is controlled and carried out by WordPress. Simple:Press simply passes the name and password values across to WordPress. WordPress, as the site management system, carries out the validation etc.

Do you oerhaos have a conflict with another login or perhaps membership plugin? That might explain it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Valerio Vassallucci
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2014 - 12:51 pm

I don't use any plugin for login, i use the standard wordpress login.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 14, 2014 - 1:44 pm

As Andy has already explained it definitely sounds like a local issue, do you have the same problem logging in to WP?

Avatar
Valerio Vassallucci
Member
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2014 - 7:05 am

No, if i go in the default login page the page load without probelm.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 17, 2014 - 11:20 am

Personally I would ask your host why it behaves differently. They should be able to explain the 403.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Valerio Vassallucci
Member
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2014 - 12:38 pm

I don't think that the problem is with the host because the second time it works.

If i try to access, the first time gives me 403, if i load the login page and go back (even without login) does work.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 17, 2014 - 3:16 pm

i am unsure what you mean by the login page... although I assume you mean the standard WP form.

But I was suggesting you go and talk to your host in case they can explain the 403 by looking in the logs. At this point in time you are the only user reporting any such problem so it is something in your environment that is the cause. Your host may well be in a position to supply the answer.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Valerio Vassallucci
Member
Free Members
sp_UserOfflineSmall Offline
Nov 18, 2014 - 11:32 am

Solved

The problem was in .htaccess, i've added this code and now it's ok

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/

RewriteRule .* - [CO=wordpress_test_cookie:WP+Cookie+check:%{HTTP_HOST}:1440:/]

 

Thanks for the support

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2014 - 11:34 am

Curious. Not encountered that one before!
Good news though and thanks for the update and information.

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