Problem With PHP Site Recurrent Error In Logfile

July 23, 2015 444 views
Nginx LEMP PHP DigitalOcean Ubuntu

I have a tracker (CPVLab) installed on a Droplet and it appears to work fine but I have a recurrent error in the logfile:

2015/07/23 14:30:57 [error] 1302#0: *10 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: query in /var/www/mysite.com/htdocs/traydata.php on line 0" while reading response header from upstream, client: 176.249.72.xxx, server: mysite.com, request: "GET /traydata.php?user=xxxx21&pass=d2c5fa20f0d93ec895a521d02fbf513d&action=campaigns HTTP/1.1", upstream: "fastcgi://", host: "mysite.com"

Ioncube loaders are installed and according to ioncube support, installed correctly.
Can someone suggest where to start looking for this error?

Thanks in advance.

1 Answer


I would begin in the /var/www/mysite.com/htdocs/traydata.php file. The error indicates that this file is looking for a variable query that isn't defined. What is happening in that file? What is requesting that file? What is it trying to do?

We need more detailed information of what's going on to be able to advise, as it's not clear what to suggest currently. It's important to remember that when asking for help to provide as much information as you can. That gives us the ability to replicate or review things in full to assist.

Have another answer? Share your knowledge.