Jump to content

More detailed error messages


apeisa
 Share

Recommended Posts

I have multisite setup using symlinks on /wire/ folder. When I get error messages they are something like this:

Unknown User:/?/:ProcessWire Error:Exception: Fieldtype 'FieldtypeMapMarker' does not exist (in /path_to/pw/wire/core/Field.php line 200)

Now I don't actually have a clue which site is causing this error, since that path is common for each of my sites. Would it be possible to get hostname or actual full url where error occured?

Link to comment
Share on other sites

Where does the error message appear? it should be in the /site/assets/logs/errors.txt file for the site where the error occurred (unless the sites are sharing a common /site/assets/logs/ dir?). Let me know, I can add a hostname to the error log.

Link to comment
Share on other sites

This update has been pushed to the dev branch. It now includes the hostname. Also made the email output a little easier to read. Because it's possible for hostname to include colons (for port number) I've changed the log format delimeter to be tabs rather than colons.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...