Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8768931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:11:48+00:00 2026-06-13T17:11:48+00:00

I am using CakePHP with Ubuntu, I tried to config cakephp with ubuntu, but

  • 0

I am using CakePHP with Ubuntu, I tried to config cakephp with ubuntu, but I found this error:

Error: [MissingControllerException] Controller class ImgController
could not be found.

#0 /var/www/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))

Has anyone who found a solution for this error?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:11:50+00:00Added an answer on June 13, 2026 at 5:11 pm

    I think you try to access to a file in img folder who doesn’t exist. If you have an image path like

    /img/my_picture.png

    ant the file dosen’t exist, CakePHP mapped it to the controller img, who doesn’t exist, so the error [MissingControllerException]


    To help you to understand, here what the htaccess does:

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
    

    And here some doc about the routing http://book.cakephp.org/2.0/en/development/routing.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using CakePHP. I created an external class which is not a model
I'm using cakePHP with its default model validation. On error cake add the class
I am using CakePHP and getting the following error Warning: Cache not configured properly.
I'm using CakePhp 2.2 and I have this simple controller, named ProvidersController : <?php
I am using cakephp 2.2 THis is my smtp setup in Config/email.php public $gmail
I am using CakePHP 2.1 and I am having this tag in my program..
I am using CakePHP and want to create a URL to a controller/view without
I am trying to use MongoDB on Ubuntu 11.10 with CakePHP 1.3 using the
I am using PHP http_post_data() call to send data to a cakephp controller.I do
Using CakePHP, I am finding that I'm duplicating some code between controller actions. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.