Warning!! Avoid cpanelnginx at all costs

Status
Not open for further replies.

twhiting9275

Well-Known Member
Sep 26, 2002
560
28
178
cPanel Access Level
Root Administrator
Twitter
I'm sure this will be denied, but I'll put my experience with these clowns here, for the world to see, at least in the HOPES that something gets done.

FIrstly, I've been following nginx and cPanel for a while. When I heard about their install, I figured I'd give it a shot, right? What harm could be done. Imagine my surprise, when the first thing out of the box was:
[25-Oct-2010 09:01:19] PHP Notice: Undefined index: SERVER_NAME in /scripts/cpnginx/lib.php on line 0
[25-Oct-2010 09:01:19] PHP Notice: Undefined index: validip in /scripts/cpnginx/lib.php on line 0
[25-Oct-2010 09:01:19] PHP Notice: Undefined index: validdirectory in /scripts/cpnginx/lib.php on line 0
[25-Oct-2010 09:01:20] PHP Notice: Undefined offset: 6 in /scripts/cpnginx/cpnginxvhost.php on line 0
Yikes. those are some nasty php errors. But, it gets worse! When posting this on their forums, it was deleted, and the helpdesk response was simply
It is not true , there something wrong with his server php configuration.
That's right, folks, the quote of the day. Blame it all on the php configuration, deny anything wrong in your script, and pretend it's all gone mad!

But wait, there's MORE. When confronted with this attitude (I'm a developer and a systems admin, so I have a slight clue what I'm doing here), he responded:

you was acting like a child without any longs or tings
Yeah, I have tings I can give, right? I mean I'm just full of everyting to give. How am *I* to know what is needed to debug? Of course I'm not going to give the clown root access to my server, that's just begging for an accident.

So, next he tells me to check basic cPanel stuff (like I'm an idiot or something), then FINALLY, after 3 hours, the solution comes out:
Open the vhost file /usr/local/nginx/conf/vhost.conf on line 5286 , you can see some of your domain is using "*" instead of IP . Nginx won't use just "*" for virtual hosting . You are configured one of your domain to use the ip as " *" , Edit the file /var/cpanel/userdata/USER/DOMAIN and modify " ip: * " to "ip: X.X.X.X " , where X.X.X.X is your server main IP
And, of course, we have a winner. Of course, this clown is still trying to blame everything but his script, and say "hey, we don't do that", we're not to blame!!! Even better? When I corrected him (a proper script would have a failsafe mechanism to detect this), this was exactly his response:

Ok that is enough . There is no need to use this script . We are closing this.
But WAIT, there's even MORE! On going to his website (or trying to) to explain what the problem was, and maybe make some helpful suggestions (like I said, I'm a developer, I know wtf I'm doing, and love being treated like a child!), lo and behold he's actually blacklisted my IP address. Funny, funny stuff there.

Professional individuals take the good with the bad without automatically banning someone, and a professional individual will NOT automatically jump into "it's your fault" mode. Be VERY careful when dealing with these individuals, and above all, do NOT give them your root password. I mean, if they'll ban someone from their system just because they don't like your responses to their attacks, then think what they'd do to your server if you let them have full control!

Truth be told, despite the unprofessional response here, I was going to go ahead with the order anyways. Why? I need something like this setup. It's sad that someone gets so defensive over their product that they can't stand true, constructive criticism. Oh well, time to find someone else, or maybe do this myself.
 

securitywonks

Registered
Aug 9, 2011
1
0
51
PHP Notice: Undefined index:

Errors occurs when Variable is not set.

using isset($variable) will solve that kind of errors.

These Errors will be shown when <?php error_reporting(E_ALL); ?> is enabled etc... kind of situations.

just some thoughts.

Note: I am using cpnginx in one of our servers. it works nice without issues. Just an update.

post when you find a better extension, thank you
 

twhiting9275

Well-Known Member
Sep 26, 2002
560
28
178
cPanel Access Level
Root Administrator
Twitter
PHP Notice: Undefined index:

Errors occurs when Variable is not set.

using isset($variable) will solve that kind of errors.

These Errors will be shown when <?php error_reporting(E_ALL); ?> is enabled etc... kind of situations.
Of course they will, because they're errors that need to be addressed and fixed, instead of ignored and blamed on the system as the vendor does. Simply brushing these errors off is incompetence at it's best.

As far as replacement, just look here.
 

syslint

Well-Known Member
Verifed Vendor
Oct 9, 2006
271
7
168
India
cPanel Access Level
Root Administrator
Twitter
Status
Not open for further replies.