Page 1 of 1

some pages give 500 error.

Posted: Fri Jan 23, 2015 6:33 pm
by baljinder1356
hi, m using vestacp for a month now, but still a novice.

my problem is the php works great if i need to process few things like few rows of table at a time, but when it comes to processing large database values, it gives 500 error. even if my database entries are more than 100 rows (1 row each of 2 columns), it stucks at giving me 500 error. i thought it was occuring because it has limited php_execution time(30 sec), but even if i changed it to 300 sec, it gave same error.

FYI: m using Digital Ocean cloud server, with centos 6, 512 memory and single core CPU.

following is the error m getting from error log:
2015/01/23 13:17:01 [error] 1544#0: *50801 upstream prematurely closed connection while reading response header from upstream, client: 123.237.59.221, server: saiinternationallehra.com, request: "POST /index.php/notification/send_sms HTTP/1.1", upstream: "http://128.199.132.91:8080/index.php/notification/send_sms", host: "saiinternationallehra.com", referrer: "http://saiinternationallehra.com/index.php/notification/send_sms"


thanks in advance.

Re: some pages give 500 error.

Posted: Sat Jan 24, 2015 8:13 am
by baljinder1356
ok, i googled about the error, n it says that it is nginx problem. so i removed nginx from this-> http://vestacp.com/docs/#how-to-remove- ... hel-centos

that 500 error was removed but instead it says "connection was reset"

i dnt know why the problem is coming, plz help

Re: some pages give 500 error.

Posted: Tue Jan 27, 2015 8:19 am
by baljinder1356
omg, not a single reply.

i think, i need to get back to zpanel. thanks i haven't transffered all of the domains to vesta

Re: some pages give 500 error.

Posted: Tue Jan 27, 2015 8:21 am
by joem
baljinder1356 wrote:omg, not a single reply.

i think, i need to get back to zpanel. thanks i haven't transffered all of the domains to vesta
Want a faster reply check out http://vestacp.com/#support ;)

Re: some pages give 500 error.

Posted: Tue Jan 27, 2015 8:53 am
by baljinder1356
joem wrote:
baljinder1356 wrote:omg, not a single reply.

i think, i need to get back to zpanel. thanks i haven't transffered all of the domains to vesta
Want a faster reply check out http://vestacp.com/#support ;)
any idea for the waiting time, without paying for support fees?

Re: some pages give 500 error.

Posted: Mon Feb 02, 2015 12:54 pm
by baljinder1356
i sent some enquiry emails to [email protected] regarding premium support packages and not getting any replies, can u plz help in the issue
joem wrote:
baljinder1356 wrote:omg, not a single reply.

i think, i need to get back to zpanel. thanks i haven't transffered all of the domains to vesta
Want a faster reply check out http://vestacp.com/#support ;)

Re: some pages give 500 error.

Posted: Mon Feb 02, 2015 9:15 pm
by skurudo
You have problem with the php script or database (or both)
You unistall nginx and still have error 500..
It is right?

For this error may be many reasons... as short max_execution_time, small memory_limit, mysql connection time in php.ini, htaccess...

May be it's time to see, what's in httpd error_log?