Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'CodeIgniter\Filters\DebugToolbar' not found #1871

Closed
ManojKiranA opened this issue Mar 27, 2019 · 10 comments
Closed

Class 'CodeIgniter\Filters\DebugToolbar' not found #1871

ManojKiranA opened this issue Mar 27, 2019 · 10 comments

Comments

@ManojKiranA
Copy link

ManojKiranA commented Mar 27, 2019


Describe the bug
i have installed the CodeIgniter4 with composer
after the successful installation i have fired the dev server by

php spark serve --port 8001

But When i load the http://localhost:8001/ in browser

i am getting error as

Class 'CodeIgniter\Filters\DebugToolbar' not found

After i have tried the manual installation by dowloading the latest releases from the

Release Link

Context

  • OS: [Windows 10 pro]
  • Web server [Apache/2.4.38 (Win64)]
  • PHP version [7.2.16]
@diegoldev
Copy link
Contributor

diegoldev commented Mar 27, 2019 via email

@jim-parry
Copy link
Contributor

@ManojKiranA Does composer update indeed solve the issue for you?

@jim-parry
Copy link
Contributor

I will take the lack of a response as a yes. We have successfully run it.

@TIWDev
Copy link

TIWDev commented Jul 1, 2019

I note this issue has been closed, but having undertaken a fresh installed of CI4.0.0-Beta3 last night, the issue does remain. Running composer update cleared it.

@Pensare
Copy link

Pensare commented Jul 15, 2019

Yesterday I installed CI4 and everything went wlll. This morning I installed it on another machine, and got the message
'CodeIgniter\Filters\DebugToolbar' not found

tried composer update as suggested but it didn't help. The folder filter didn't have the Toolbar.php file, after copying it from the yesterday installation the error disappeared.

@MGatner
Copy link
Member

MGatner commented Jul 15, 2019

@TIWDev @Pensare how did you do the initial install?

@Pensare
Copy link

Pensare commented Jul 15, 2019

I used
composer create-project codeigniter4/appstarter project-root -s beta
after it was created I used
composer update

I just tried it again (deleted the project) and now it works well, might have done something stupid myself but not sure because I think I did all the same steps.

@MGatner
Copy link
Member

MGatner commented Jul 15, 2019

I ran those commands and DebugToolbar.php is there and functional. It definitely seems like there is something fishy here, but not necessarily replicable.

@TIWDev
Copy link

TIWDev commented Jul 15, 2019

@MGatner I think it would have been the same composer command that @Pensare used. It was a fresh install - I hadn't had CI4 on the machine before, and was definitely done via Codeigniter, so I would simply have followed the instructions.

I have another machine here (which has never had CI4 on it) I can try and install it again if that helps.

@niranjnn01
Copy link

I took had the same problem today . It was fixed when running "composer update"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants