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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:16:26+00:00 2026-06-13T23:16:26+00:00

I moved my app from one server (develop) to other (release) and cake is

  • 0

I moved my app from one server (develop) to other (release) and cake is falling in file lib/Cake/bootstrap.php which is one of cake core files.

the former address (which is running) is http://sdruzenid.kho.cz
at address http://sdruzenid.cz is the error.

I just copied all files from one server to other. There was no hard-coded addresses

At first server the adresar structure was

root: /sdruzenid
app: /sdruzenid/app
webroot: /sdruzenid/app/webroot
adresar www is not used (because the other web runs in it and this is just subdomain)

in new location it is
root: /www
app: /www/app
webroot: /www/app/webroot

when I print paths from app/webroot/index.php it is:
ROOT: /httpd/html/sdruzenidcz/www
WWW_ROOT: /httpd/html/sdruzenidcz/www/app/webroot/
CAKE_CORE_INCLUDE_PATH: /httpd/html/sdruzenidcz/www/lib:/httpd/html/sdruzenidcz:./

the error is cased by this code in lib/Cake/bootstrap.php

App::uses('ErrorHandler', 'Error');
App::uses('Configure', 'Core');
App::uses('CakePlugin', 'Core');
App::uses('Cache', 'Cache');
App::uses('Object', 'Core');
App::$bootstrapping = true;

the error is at last line. I cant find where variable $bootstrapping is defined or set but this is in cake core and on develop deploy it works fine

In my code app/webroot.index.php near error is:

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
    if (function_exists('ini_set')) {
        ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
    }
    //it crashes after include of bootstrap.php
    if (!include 'Cake' . DS . 'bootstrap.php') {
        $failed = true;
    }
} else {
    if (!include CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php') {
        $failed = true;
    }
}
  • 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-13T23:16:27+00:00Added an answer on June 13, 2026 at 11:16 pm

    The problem was simple. On hosting was low version of php. After upgrade all went fine.

    So by short: If you have error in cake/core/bootstrapping.php on line 144, upgrade your php.

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

Sidebar

Related Questions

I have moved my iPhone app from one machine to another. In the process
I have a CakePHP app that is being moved to Sql Server from MySql.
I moved my app from silverlight 3 VS2010 to a system having Silverlight 4
I just moved a web app project from VSS to TFS and when I
My app was working fine on my server. I moved it to another server,
I changed my session on my dev machine from InProc to SQL Server. One
I'm trying to implement file upload functionality in the iPhone app. Server code is
I'm having trouble seeing tables from one particular SQL Server 2008 database while trying
Recently I moved a web app I'm developing from MySQL to PostgreSQL for performance
Just migrated my PHP web app to another server with a new db and

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.