3

I just uploaded my changes to server which contains a functionality of sending email to the user but on sending email i get Failed to load resource: the server responded with a status of 500 (Internal Server Error) error in console. I am unable to trace the error, where can i find the exact error which caused this issue?

  • I'm using Phalcon Framework
  • Phalcon Version: 3.3.1
  • PHP Version: 5.6.33
  • Nginx

Thanks

Imad uddin
  • 147
  • 1
  • 2
  • 11
  • Possible duplicate of [Find out the error\_log's path](https://stackoverflow.com/questions/8955411/find-out-the-error-logs-path) – M. Eriksson Oct 03 '18 at 05:54
  • @MagnusEriksson please explain how is it duplicate? – Imad uddin Oct 03 '18 at 05:57
  • If you find the error log, you will see what the error message actually is. – M. Eriksson Oct 03 '18 at 05:58
  • 1. 500 errors ends up in the configured error log. Looking at the error log should give you the information you need to find out what caused the error. 2. If the link didn't help you, just say that instead of being rude. That will _not_ help you... good luck. I'm out. – M. Eriksson Oct 03 '18 at 06:09
  • 1
    @MagnusEriksson yes it didn't help me and nor did your rude comments good bye! – Imad uddin Oct 03 '18 at 06:10

3 Answers3

4

In Linux Systems

/var/log/[SERVER NAME]/php_errors.log & errors.log

[SERVER NAME] is apache2 - if you are using apache or lampp - when you are using lampp

In Windows System

[SERVER SOURCE ROOT]/logs.

(P.S - This Paths are default configured paths check php.conf)
Siva
  • 1,481
  • 1
  • 18
  • 29
1

It will depends on what OS your server is.

If we suppose it's a linux or unix server, you should be able to see them in /var/log/nginx/error.log if you didn't modify where the log are written in your vhost.

night-gold
  • 2,202
  • 2
  • 20
  • 31
0

Also can check in:

/usr/local/apps/apache/logs
Pavel Kenarov
  • 944
  • 1
  • 9
  • 21