Advertisement:

Author Topic: Invalid CSRF token in osclass 3.1  (Read 1448 times)

carsangrah123

  • Jr. Member
  • **
  • Posts: 59
  • www.carsangrah.com
Invalid CSRF token in osclass 3.1
« on: November 04, 2013, 10:47:57 am »
Can somebody help me in fixing the issue of Invalid CSRF token for Osclass 3.1 without updating to Osclass 3.1.2.
I know it has been discussed in http://forums.osclass.org/installation-update-help/invalid-csrf-token/ in very detail. But There I could't find solution except update.
Thanks

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Invalid CSRF token in osclass 3.1
« Reply #1 on: November 05, 2013, 07:20:42 pm »
Put this on your config.php file, just before the ?>

Code: [Select]
ini_set(session.save_path, '/path/to/your/folder/osclass/oc-content/uploads')

You need to change /path/to/your/folder/osclass to the correct path you have installed osclass. WARNING, it's your server PATH, not your domain.


If that doesn't work, update to 3.2

carsangrah123

  • Jr. Member
  • **
  • Posts: 59
  • www.carsangrah.com
Re: Invalid CSRF token in osclass 3.1
« Reply #2 on: February 25, 2014, 07:31:32 am »
Put this on your config.php file, just before the ?>

Code: [Select]
ini_set(session.save_path, '/path/to/your/folder/osclass/oc-content/uploads')

You need to change /path/to/your/folder/osclass to the correct path you have installed osclass. WARNING, it's your server PATH, not your domain.
Tried, Its not working.

If that doesn't work, update to 3.2