Author Topic: Check referer in roundcube 0.9.0  (Read 7258 times)

Offline jamil_isayyed

  • Jr. Member
  • **
  • Posts: 37
Check referer in roundcube 0.9.0
« on: April 24, 2013, 05:31:17 AM »
Hi All,

i have a question about check_referer config, in the new version of roundcube 0.9.0.
i had check_referer in the config main.inc.php  set to true. but i am getting an error in the logs and i can not enter the roundcube unless i have change it to false.

the error is as follow:

[24-Apr-2013 10:34:39] PHP Fatal error:  Call to undefined method rcmail::check_referer() in .../roundcube/index.php on line 239
[24-Apr-2013 10:34:42] PHP Fatal error:  Call to undefined method rcmail::check_referer() in .../roundcube/index.php on line 239

so please advise?

Thanks,
Jamil Isayyed

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365

Offline jamil_isayyed

  • Jr. Member
  • **
  • Posts: 37
Re: Check referer in roundcube 0.9.0
« Reply #2 on: May 20, 2013, 05:17:59 AM »
Thanks alec for this link, and sorry for the late reply. i have fixed this problem today by updating to 0.9.1. but the problem that i am still facing a bug when the user try to open an attachment (PDF attachments) especially when the t check_referer config is enabled.

i get this error:
"
REQUEST CHECK FAILED

Access to this service was denied due to failing security checks!
Please contact your server-administrator.
"

so any idea how i can fix this.

Thanks,
BR,
Jamil Isayyed