• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

internal server error 500

Bug Report
3
6
1.2k
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.
  • A
    Ahed last edited by 11 Aug 2022, 06:59

    when add new category this error is show
    internal server error 500
    i made the debug true from .env file then this error is show
    "SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION medicame_db.get_url_path_of_category does not exist (SQL: update categories set _lft = case when _lft >= 144 then _lft+2 else _lft end, _rgt = case when _rgt >= 144 then _rgt+2 else _rgt end where (_lft >= 144 or _rgt >= 144))"

    1 Reply Last reply Reply Quote 0
    • ashish2409
      ashish2409 last edited by 12 Aug 2022, 06:57

      @Ahed
      Please check the Database, in the database you will be able to see the functions and inside that you will be able to see the get_url_path_of_category
      Please check that and also if again facing the issue please check and change the collection
      use collection - utf8mb4_uniocde_ci

      1 Reply Last reply Reply Quote 0
      • A
        Ahed last edited by 12 Aug 2022, 10:13

        where i can find the function please

        ashish2409 1 Reply Last reply 12 Aug 2022, 10:34 Reply Quote 0
        • ashish2409
          ashish2409 @Ahed last edited by 12 Aug 2022, 10:34

          @Ahed In database you may be able to find it.
          Please check the image
          alt text

          1 Reply Last reply Reply Quote 0
          • A
            Ahed last edited by 13 Aug 2022, 10:04

            Screenshot (235).png
            i think no any function
            may be tight sir?

            1 Reply Last reply Reply Quote 0
            • sanjay-webkul
              sanjay-webkul last edited by 17 Aug 2022, 08:14

              Hi there,
              As i can see there are no functions on your databse, so issue is occuring, plase create function, issue will be resolved.

              1 Reply Last reply Reply Quote 0
              5 out of 6
              • First post
                5/6
                Last post