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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:30:10+00:00 2026-05-27T09:30:10+00:00

I needed to setup two completely separated cakePHP-Environments on my nginx-server (nginx 1.0.5, php5-fpm

  • 0

I needed to setup two completely separated cakePHP-Environments on my nginx-server (nginx 1.0.5, php5-fpm via fastcgi).

I created the following folder-structure:

/var/www
  /**virtual1**/
    /app
    /lib/Cake/..
  /**virtual2**/
    /app
    /lib/Cake/..

Now, when I call virtual1.mydomain.com I see my front-end-app and can use it.
But, when I call virtual2.mydoamin.com I get strange errors (like when virtual2 includes some of the files of virtual1..) Virtual1 is working anyway.

Now I clear my browser cache & my cookies and reload virtual2.mydomain.com. Now I can use this app without any problems BUT virtual1.mydomain.com show strange errors.

Okay – Now I limited each host to his own directory using open_basedir. Result:

Warning: include(): open_basedir restriction in effect. File(/var/www/virtual1/lib/Cake/Cache/Engine/FileEngine.php) is not within the allowed path(s): (/var/www/taskees:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/virtual2/lib/Cake/Core/App.php on line 505

Warning: include(/var/www/virtual1/lib/Cake/Cache/Engine/FileEngine.php): failed to open stream: Operation not permitted in /var/www/virtual2/lib/Cake/Core/App.php on line 505

Warning: include(): Failed opening '/var/www/virtual1/lib/Cake/Cache/Engine/FileEngine.php' for inclusion (include_path='/var/www/virtual2/lib:.:/usr/share/php:/usr/share/pear') in /var/www/virtual2/lib/Cake/Core/App.php on line 505

Warning: include(): open_basedir restriction in effect. File(/var/www/virtual1/lib/Cake/Core/CakePlugin.php) is not within the allowed path(s): (/var/www/taskees:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/virtual2/lib/Cake/Core/App.php on line 505

Warning: include(/var/www/virtual1/lib/Cake/Core/CakePlugin.php): failed to open stream: Operation not permitted in /var/www/virtual2/lib/Cake/Core/App.php on line 505

Warning: include(): Failed opening '/var/www/virtual1/lib/Cake/Core/CakePlugin.php' for inclusion (include_path='/var/www/virtual2/lib:.:/usr/share/php:/usr/share/pear') in /var/www/virtual2/lib/Cake/Core/App.php on line 505 Fatal error: Class 'CakePlugin' not found in /var/www/virtual2/app/Config/bootstrap.php on line 67

Edit: I get the same errors when I call these pages from a different computer operating on a different internet-connection 🙁

okay – Why the hell do these cakePHP-Installations try to get files from the each time other installation

AND WHY DOES THIS CHANGE EVERYTIME AFTER CLEARING CACHE AND COOKIES?

  • 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-27T09:30:11+00:00Added an answer on May 27, 2026 at 9:30 am

    Oooh, I have an idea. How is the cacheing being stored? Is it using a database, or is it storing to file. If you have multiple installs, but only one db, make sure the caches are storing to file.

    As a debug measure, make two databases using mysqldump. Separate them in the config/database.php files for each install, then check the problem again. If it goes away, then something in the cacheing is being written to db (which you don’t want).

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

Sidebar

Related Questions

My setup I have two classes, here shown stripped down to what is needed
I'm writing an NSIS installer and the setup program elevates as administrator as needed
In unit testing, the setup method is used to create the objects needed for
I needed some simple string encryption, so I wrote the following code (with a
I have a Jenkins (Hudson) server setup that runs tests on a variety of
Im following Lars Haendel's Functor tutorial on newty.de to setup a callback system. I
I'm trying to set the ideal performance setup for MySQL and resources needed on
So basically I have two models, Entry and Comment. I have the association setup
Needed Finfo but deleted msi package, so uninstalled php 5.3.0, downloaded 5.3.2 and installed.
We needed to monitor all processes Registry calls/File Sytem calls/Process creations in the system

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.