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 6954751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:38:48+00:00 2026-05-27T14:38:48+00:00

I have inheirted a CakePHP site. I have the dropped the sites folder into

  • 0

I have “inheirted” a CakePHP site. I have the dropped the sites folder into my localhost and setup the database configuration. It seems to be loading the views, but the .css and images are not getting loaded and the links are pointing directly to localhost for example.

localhost/categorys

Instead of

localhost/mysite/categorys

Is there a configuration I need to set to make sure everything is pointed to correctly?

  • 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-05-27T14:38:49+00:00Added an answer on May 27, 2026 at 2:38 pm

    Configure your index.php file in your app/webroot directory.

    Scroll down to the part that says:

    /**
     * The full path to the directory which holds "app", WITHOUT a trailing DS.
     *
     */
        if (!defined('ROOT')) {
            define('ROOT', dirname(dirname(dirname(__FILE__))));
        }
    /**
     * The actual directory name for the "app".
     *
     */
        if (!defined('APP_DIR')) {
            define('APP_DIR', basename(dirname(dirname(__FILE__))));
        }
    /**
     * The absolute path to the "cake" directory, WITHOUT a trailing DS.
     *
     */
        if (!defined('CAKE_CORE_INCLUDE_PATH')) {
            define('CAKE_CORE_INCLUDE_PATH', ROOT);
        }
    

    and make sure the paths point to the places the comments say they should point to.

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

Sidebar

Related Questions

setup: cakephp, jquery 1.8.7, cakephp.bee.pl ajax helper I have a website who is set
I have inherited a client site which crashes every 3 or 4 days. It
I have inherited a poorly written web application that seems to have errors when
I have a problem with writing cookies in cakephp and even don't know how
I am using cakePHP rating plugin with Flowplayer. I have customized the Flowplayer using
I have created a temporary table using cakephp $this->Model->query() and inserted some records using
In my cakephp app I have an Option model. In my option/index view I
I have inherited a database that has a table (300gb) full of SQL datatype
I have inherited a Access database that has a query that SELECTs over 50
I have inherited a really bad access database that I need to move the

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.