UVdesk

    • Register
    • Login
    • Search
    • Recent

    Solved How to disable the Symfony Exception error pages on Invalid URLs

    Technical Help
    2
    4
    376
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leedsy90 last edited by

      I've installed UVdesk on Ubuntu 18.04 and so far it looks like a brilliant solution, however, if I browse to an invalid URL I get a Symfony Exception page with lots of debug information and I would like to disable this and have a generic 404 page not found page displayed.

      Is this possible, a guide and/or screenshots would be very helpful.

      I've attached an example.

      Capture.PNG

      1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff mod last edited by

        @leedsy90

        You are currently running your project in development(dev) mode.
        Please change it to prod in .env file of your project then for any error you will see a error page instead.
        APP_ENV: prod

        L 1 Reply Last reply Reply Quote 0
        • L
          leedsy90 @Sanjeev last edited by

          @Sanjeev Thank you.

          I found a similar thread on stackoverflow referring to the dev mode and was able to change this. Thank you for your speedy reply, it's nice to see an active forum for an opensource project.

          I have a few other question so will open separate thread for these.

          1 Reply Last reply Reply Quote 0
          • Sanjeev
            Sanjeev developer UVdesk Staff mod last edited by

            @leedsy90

            I have a few other question so will open separate thread for these.

            We would love to resolve your queries.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post