Bagisto Forum

    Bagisto

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

    when i use custom controller and call index function for home page

    Bug Report
    2
    4
    626
    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
      mindwebtree last edited by

      why throught this error
      Refused to apply style from 'http://127.0.0.1:8000/css/shop.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

      when i use custom controller and call index function for home page

      1 Reply Last reply Reply Quote 0
      • A
        Amitk-Webkul last edited by

        Hi there,

        please verify once the URL path is correct for the CSS file. because this issue is faced when the URL is incorrect.

        If still facing the same please let us know.

        M 1 Reply Last reply Reply Quote 0
        • M
          mindwebtree @Amitk-Webkul last edited by

          @Amitk-Webkul yeah am sure path is correct

          1 Reply Last reply Reply Quote 0
          • A
            Amitk-Webkul last edited by

            Hi @mindwebtree,

            Please check the rel attribute from the link element. The error will only appear when the rel attribute is not there.
            and the path of the CSS file is not correct for this try to click on the URL of the CSS file if the file is not opened for this correct the URL.

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