Welcome, Guest
Username: Password: Remember me

TOPIC: Notice: Undefined variable

Notice: Undefined variable 4 months 3 days ago #111089

  • abryenton
  • abryenton's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Hi folks,

I was wondering if someone could help me with an issue we are having with our LimeSurvey. We are currently using an older version of LimeSurvey (Version 1.87+ Build 8518)

This morning we received complaints that all surveys were showing this on the top of the page:

Notice: Undefined variable: xx983v in /srv/www/htdocs/survey/index.php(1) : regexp code(1) : eval()'d code on line 1
Notice: Undefined variable: xxq3aq in /srv/www/htdocs/survey/index.php(1) : regexp code(1) : eval()'d code on line 2
Notice: Undefined variable: x918zp in /srv/www/htdocs/survey/index.php(1) : regexp code(1) : eval()'d code on line 3
Notice: Undefined variable: x36opv in /srv/www/htdocs/survey/index.php(1) : regexp code(1) : eval()'d code on line 4

As far as I know nothing was changed.

Any idea's on what could have caused this?

Thanks,
Aaron
The administrator has disabled public write access.

Notice: Undefined variable 4 months 3 days ago #111099

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
A hack of you web server.

Without any doubt.
The administrator has disabled public write access.

Notice: Undefined variable 4 months 3 days ago #111100

  • abryenton
  • abryenton's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Thanks for the response.

How so? Could you provide any additional information?
The administrator has disabled public write access.

Notice: Undefined variable 4 months 3 days ago #111109

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
We don't use eval()' on line 1 or 2 or 3 ..

Then you php file are updated by someone else. You can replace the file by a clean file www.limesurvey.org/en/archived-releases/...24-archived-releases

eval is surely a hack. You have surely a virus attacking to your ftp tools to pit this on your server.

1st : change your FTP password
2nd : never 'remind my passord' in your ftp tool
2nd : replace the php files wit a clean LS core file
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image