CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

Bug: [DebugBar] Hot Reloading does not work

Open ALTITUDE-DEV-FR opened this issue 2 years ago • 9 comments

PHP Version

8.2

CodeIgniter4 Version

4.4.0

CodeIgniter4 Installation Method

Composer (as dependency to an existing project)

Which operating systems have you tested for this bug?

Windows

Which server did you use?

apache

Database

MYSQL

What happened?

Hello, In my side the reload hot-bar feature is not working in 4.4.0, the update is working fine in my 7 websites using CI 4.4.0, the reload hot bar not working for all.

This is a error message: "EventSource's response has a MIME type ('text/html") that is not "text/event-stream". Aborting the connection.

Screen : https://imgur.com/a/418byfj 7jIuewf

Steps to Reproduce

Just click in the hot bar

Expected Output

n:a

Anything else?

Screen : https://imgur.com/a/418byfj

ALTITUDE-DEV-FR avatar Aug 29 '23 22:08 ALTITUDE-DEV-FR

Thank you for reporting. What 's your browser and its version?

kenjis avatar Aug 30 '23 00:08 kenjis

I have the same Problem. Chrome 116

sanchawebo avatar Aug 30 '23 06:08 sanchawebo

Hi, For my part:

BRAVE [Version 1.57.53 Chromium: 116.0.5845.114 (Build officiel) (64 bits)]

Same on Google Chrome and Edge or Mozilla.

ALTITUDE-DEV-FR avatar Aug 30 '23 08:08 ALTITUDE-DEV-FR

Chrome 116 and php spark serve works fine.

kenjis avatar Sep 04 '23 07:09 kenjis

Do you like double slash? http://localhost:3000//__hot-reload

On the question: Try disabling your filters. And open a static page. Probably filters intercept the request from Hot Reload

neznaika0 avatar Sep 07 '23 15:09 neznaika0

Hello is use : http://localhost:8080/fr with /fr /en and more, the url not working with hot reload. Same problem with blank page without filters.

ALTITUDE-DEV-FR avatar Sep 08 '23 08:09 ALTITUDE-DEV-FR

Confirm from my side as well, Freebsd/debian, php8.2, mysql, firefox

nerozero avatar Feb 29 '24 07:02 nerozero

it's solve for this issue ? I don't find for the solution

yanyiik99 avatar Jul 31 '24 09:07 yanyiik99

How do you reproduce the issue?

kenjis avatar Jul 31 '24 09:07 kenjis