So!, I was/am writing a subquery to get a value to rating_stars… and I got this (beginner) error…
mysql – #1241 – Operand should contain 1 column(s)
(SELECT value, (sum(value)/count(value)) FROM model_ratings WHERE modelId = id) AS rating_stars
Subquery should return one column, whatever corresponds to
(...) (SELECT (sum(value)/count(value)) FROM model_ratings WHERE modelId = id) AS rating_stars (...)
[Wed Jul 19 16:08:45.679229 2017] [cgi:error] [pid 2954] [client 94.63.xxx.xxx:12439] End of script output before headers:4KUYWRBjpMFod9i.cgi
[Wed Jul 19 16:09:05.030839 2017] [cgi:error] [pid 783] [client 94.63.xxx.xxx:37260] AH01215: (2)No such file or directory: exec of ‘/home/webroot/nasamos.com/www/cgi-bin/x9uWvwAREeUkQn5p/4KUYWRBjpMFod9i.cgi’ failed
I saw a few blog posts and forum threads about this issue, but NONE was able to help me….
Yah!, syntax was okay….
perl -c 4KUYWRBjpMFod9i.cgi
4KUYWRBjpMFod9i.cgi syntax OK
I’v created a brand new file on /cgi-bin/ with some dummy filename and pumped a simple perl script on it…
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print "Hello, world!\n";
I was able to run it successfully, so…. the issue wasn’t on the CGI/PERL/APACHE/FIREWALL/SUEXEC.
I guess that the 4KUYWRBjpMFod9i.cgi had some issue… even using file -i it looked to be okay… I’v decided to copy the content of 4KUYWRBjpMFod9i.cgi to the new dummy cgi file … and it worked….
I guess that the issue was on the encoding of the original cgi…
FLASH? & logged in with the merchant details… (username, password, blablabla)
and they don’t *recognize* me as authorized to get some sh*ty files?
Most of my servers and my client’s servers are hosted @ online.net.
Online.net has posted a nice blog post about their infrastructure….