# Checking php errors

After [enabling debug mode](/about/troubleshooting/debug-mode.md), if your server settings allow it, ProjectSend will enable the output of warnings and errors.&#x20;

While php will most likely log them into an error.log file, there are 2 places inside the app where you can look for visible errors:

* Any regular page will display warnings and fatal errors in the place where they happened. In most cases, parts of the page will be rendered and the error will appear after that. If somehow it's inside an HTML element it might not be visible in the page directly, but you will be able to find it by inspecting the page's code (a regular browser's function).\
  If your server has XDEBUG for php installed and enabled, the output will be easier to read and have even more details.

<figure><img src="/files/24O1YjC7f8XRVDOnQA4R" alt=""><figcaption><p>Warnings, notices and fatal errors can appear in place when debug is properly enabled and php's configuration allows it.</p></figcaption></figure>

* Ajax calls (loading the dashboard widgets, creating a zip file, downloading the actions log, etc) can be found by opening the browser's console and checking the Network tab.\
  Check the following image to see the relevant places: Inside the Network tab, XHR (Ajax) calls were filtered, then a request was selected, inside that call, the response sub-tab was selected and finally the output appeared on the bottom box. In this case, the call did not return any errors, but this is where they can be found if output is enabled.

<figure><img src="/files/QNHdYK0H6m1sNHjQtUYW" alt=""><figcaption><p>Browser's console showing the Response tab inside an ajax request, where errors might appear if the request fails.</p></figcaption></figure>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.projectsend.org/about/troubleshooting/checking-php-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
