Report this

What is the reason for this report?

Problem With PHP Site Recurrent Error In Logfile

Posted on July 23, 2015

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.