OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Unable to open admin page

This topic contains 5 replies, has 4 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 month, 2 weeks ago.

  • Creator
    Topic
  • #38085

    Ingole Avinash
    Participant

    Hi this is Avinash
    I have created AppBundle as per given in the documentation and created entites and loaded data fixtures and created datagrids according to documentation. after creation of datagrid i added it to menu. i followed complete code in documentations there is no errors in code after then i cleared the cache by using this command
    php bin/console cache:clear –env=dev

    but now i am unable to open admin page iam getting error as
    An Exception was thrown while handling: Internal Server Error

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #38088
    Michael
    Michael
    Keymaster

    You can check the application logs in var/logs or try run your application in the dev mode (e.g. http://myapplication-domain.com/index_dev.php/admin ) to see a more verbose error message.

    #38089

    Ingole Avinash
    Participant

    Hi michael
    i am getting these error whenever im going to create something

    An exception has been thrown during the rendering of a template (“A plural alias for “Oro\Bundle\CalendarBundle\Entity\CalendarEvent” entity not found.”) in OroUIBundle::widget_loader.html.twig at line 7.

    please give me solution
    very thanks

    #38090

    Ingole Avinash
    Participant

    Hi Michael
    logs are like this
    [2019-02-06 10:32:40] event.DEBUG: Notified event “kernel.terminate” to listener “Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate”. {“event”:”kernel.terminate”,”listener”:”Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelTerminate”} []

    #38695

    Roshan
    Participant

    i have created a product module
    after clearing the cahe
    php bin/console cache:clear –env=dev
    unable to getting admin page getting error as

    An Exception was thrown while handling: Internal Server Error

    if i remove that product bundle from bundles getting error
    page is not working

    and in dev.log

    errors crated as

    request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: “An exception has been thrown during the rendering of a template
    (“Unable to generate a URL for the named route “Products_link” as such route does not exist.”)

    • This reply was modified 1 month, 3 weeks ago by  Roshan.
    #38706
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Search for occurrences of “Products_link” in your code.
    You have the link rendered in a template or the menu item that leads to the route that doesn’t exist. You have either delete the link or register the route.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No