Question

Problem With PHP Site Recurrent Error In Logfile

Posted July 23, 2015 1.6k views
NginxUbuntuPHPDigitalOceanLEMP

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://127.0.0.1:9000”, 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

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.

Submit an Answer