Jump to content

Recommended Posts

Posted

Hi,

I downloaded a module (in this case AutoFbPost). After finishing the download I've been logged out, and when I try to log in I get a 'This request was aborted because it appears to be forged.'

I cannot find the module within /site/modules/, where is it?

Thanks!

Posted (edited)

This sounds more like a stale frontend-proxy or session caching issue than something caused by module installation. Try setting

$config->protectCSRF = false;

in site/config.php, then you should be able to log in again and can dig deeper into the root of the problem.

Edit: meant setting it to false, of course.

Edited by BitPoet
Posted

Thanks BigPoet, put the string in the config, but nope, still alarmed for forgery...

I also deleted an recreated /logs /sessions and /cache, to no avail...

Posted

Ah! :lol: Thats it!

Well forgery is gone, but I cannot login via usual credentials. Should I change pass uploading some temp code?

Setting debug to true I see the error resides in session_start(),

No such file or directory (2) in /var/www/[...]/web/site/modules/AutoFbPost/AutoFbPost.module

Failed to write session data.

Posted

Could it be that you replaced your site/config.php and changed $config->userAuthSalt? If yes, restoring the old value for userAuthSalt would be the preferred way to go.

Posted

Ah, I see that only now. You should be able to comment out the require_once and session_start lines in AutoFbPost.module and change the autload property in line 40 to false to stop it from interfering with your session.

Posted

I get that a lot when trying to sign in via  some automatic password apps.

I think it's also because some of my sites are based on similar setups and share AuthSalt keys.

Same here?

Posted

Can't say why, but the downloaded module has weird owner and group, probably the admin, can't say. Wrote to the provider, whose services I am starting to understand less...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...