🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved require login

    Technical Help
    5
    6
    851
    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.
    • M
      mxdevito last edited by

      Hi, why am i getting error 500 after this:

      SSanjeev DEVELOPER UVDESK STAFF MOD 21 Oct 2021, 10:33
      As we understand some of the user don't want to show knowlegebase to their customer instead they want to redirect customer to directly into customer login page.

      For this you need to make a slight changes in your code.

      Please follow the steps given below:

      • Locate path in your project.
        vendor/uvdesk/support-center-bundle/resources/config/routes/public.yaml

      Open public.yaml file replace line no. 3 (controller: Webkul\UVDesk\SupportCenterBundle\Controller\Website::home) by:

      controller: Webkul\UVDesk\SupportCenterBundle\Controller\Customer::login

      Finally run command php bin/console c:c from project root directory.

      Hope it will help someone 🙏

      Thanks

      peopleinside 2 Replies Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff last edited by

        @mxdevito

        Please enable dev mode first to check where you are getting this error and need to enable from .env file make APP_ENV: dev

        -  Go to file public.yaml file from the given location in your project folder. 
        vendor/uvdesk/support-center-bundle/resources/config/routes/public.yaml

        -  Open public.yaml file replace line no. 3 by below line: 
        controller: Webkul\UVDesk\SupportCenterBundle\Controller\Customer::login

        -  Finally run command  php bin/console c:c  from project root directory.

        S 1 Reply Last reply Reply Quote 0
        • peopleinside
          peopleinside EX helping member @mxdevito last edited by

          @mxdevito thank you for your message!
          Please wait a reply from @Sanjeev , they will reply asap.
          https://forums.uvdesk.com/topic/2000/disable-knowledge-base-permanently-and-redirect-to-customer-login

          💬 You can also ask help on GitHub Discussions
          🔴 I am no more active on Uvdesk
          🔴 Forum support is inactive!

          1 Reply Last reply Reply Quote 1
          • peopleinside
            peopleinside EX helping member @mxdevito last edited by

            @mxdevito please try to debug the error:
            check your server error log messages and if any error please report here. Be sure to hide personal or private informations.

            You can also activate the dev mode in UVdesk and try to load the page that give 500 error, an error should be print in the screen, reporting the error here can help developer to understand what can be wrong.

            • How to debug errors

            💬 You can also ask help on GitHub Discussions
            🔴 I am no more active on Uvdesk
            🔴 Forum support is inactive!

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

              @mxdevito

              Please enable dev mode first to check where you are getting this error and need to enable from .env file make APP_ENV: dev

              -  Go to file public.yaml file from the given location in your project folder. 
              vendor/uvdesk/support-center-bundle/resources/config/routes/public.yaml

              -  Open public.yaml file replace line no. 3 by below line: 
              controller: Webkul\UVDesk\SupportCenterBundle\Controller\Customer::login

              -  Finally run command  php bin/console c:c  from project root directory.

              S 1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  peopleinside peopleinside 
              • Referenced by  A arymaynart 
              • S
                samurysam @Sanjeev last edited by

                @Sanjeev but what if someone wants to redirect to ticket creation page instead of login then instead of Customer ::login what would be required to be changed in the code of public.yaml

                1 Reply Last reply Reply Quote 0
                • Komal Sharma
                  Komal Sharma UVdesk Staff mod last edited by Komal Sharma

                  @samurysam

                  what if someone wants to redirect to ticket creation page instead of login then instead of Customer ::login what would be required to be changed in the code of public.yaml

                  Please follow the below steps:

                  • Go to file public.yaml file from the given location in your project folder.
                  vendor/uvdesk/support-center-bundle/resources/config/routes/public.yaml
                  
                  • Open public.yaml file and replace the line no 3 by below line:
                  controller: Webkul\UVDesk\SupportCenterBundle\Controller\Ticket::ticketAdd
                  
                  • Finally run the below command for clear cache on your project root directory:
                  $ php bin/console c:c
                  

                  I hope this solution works for you to the redirect on ticket create page on home page.

                  Thanks and Regards
                  Uvdesk Team

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