Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

internal 500 error in php pages "Resolved"...

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

internal 500 error in php pages "Resolved"...
  • Quote

Post by willamsphp » Thu Dec 03, 2015 5:19 pm

I'm having the following problem.
When I opened my site with html pages the Vesta operates normally

example: http://ksystem.com.br "no error"

more when trying to open any page that is not in php open of the error 500

example: https://ksystem.com.br/financeiro/index.php "with error"

Another thing I noticed and that this problem only happens with some php files with others does not happen this error

example: http://perfuratriz.ml "no error"

example: http://leia.tk/index.php "no error"

example: http: // http://leia.tk/galeria/index.php "with error"
Last edited by willamsphp on Wed Dec 09, 2015 10:51 pm, edited 1 time in total.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: internal 500 error in php pages
  • Quote

Post by tjebbeke » Thu Dec 03, 2015 6:24 pm

Check error log, is probably an error in your script.
Top

willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Re: internal 500 error in php pages
  • Quote

Post by willamsphp » Fri Dec 04, 2015 2:49 am

tjebbeke wrote:Check error log, is probably an error in your script.

Excuse my ignorance am newbie very little experience.

As do to see error log
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: internal 500 error in php pages
  • Quote

Post by imperio » Fri Dec 04, 2015 12:07 pm

Hi,
What web stack and OS on your server ?
Top

willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Re: internal 500 error in php pages
  • Quote

Post by willamsphp » Fri Dec 04, 2015 7:58 pm

imperio wrote:Hi,
What web stack and OS on your server ?
Ubuntu 14.04.1 LTS (GNU / Linux 3.13.0-43-generic x86_64)

VestaCp Version: 0.9.8 (amd64) Release: 15
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: internal 500 error in php pages
  • Quote

Post by imperio » Fri Dec 04, 2015 8:25 pm

web stack
nginx + php-fpm or apache + nginx ?
Top

willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Re: internal 500 error in php pages
  • Quote

Post by willamsphp » Sat Dec 05, 2015 1:04 am

imperio wrote:
web stack
nginx + php-fpm or apache + nginx ?
apache + nginx
Top

willamsphp
Posts: 33
Joined: Wed Feb 11, 2015 5:36 pm

Re: internal 500 error in php pages
  • Quote

Post by willamsphp » Wed Dec 09, 2015 10:50 pm

Resolved...

in /var/log/apache2/domains/seudominio.com.error.log
And I indentifiquei the error.
The problem really wrong in my php script unresolved rookie mistake.
open php <? and closed?> this error caused 500 browser solved correcting all my php script with NetBeans 8.1
The correct way.
<? php "Conteudo" ?>
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password