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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:07:50+00:00 2026-05-23T19:07:50+00:00

guys. I’ve been trying to bake some models, controllers, and views in CakePHP 1.3

  • 0

guys.

I’ve been trying to bake some models, controllers, and views in CakePHP 1.3 – however, when I run the command from console, I’ve been running into a lot of warnings and unexpected behavior. For instance, if I attempt to bake a model with associations, it fails the first time )and echos a PHP error into the generated model file); if I bake it again, it works correctly.

A lot of these warnings have to do with user permissions (especially for Cake’s tmp cache) – unfortunately, my host is using a SunOS box with Solaris ACLs, so the running is a bit rough there. However, it’s the other messages that I’ve been worried about:

sh: /usr/local/php/bin/clear: not found

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/apc.so' - ld.so.1: php: fatal: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/apc.so: open failed: No such file or directory in Unknown on line 0
PHP Warning:  set_time_limit(): Cannot set time limit in safe mode in ~/cakephp_1.3/cake/console/cake.php on line 133
PHP Warning:  fopen(~/cake_apps/tmp/cache/persistent/cake_core_file_map): failed to open stream: Permission denied in /web2/web/floridasadd.org/cakephp_1.3/cake/libs/file.php on line 152

(Please note that I have replaced my home directory with ~, where applicable, for security reasons.)

Has anyone run into this before? It’s kind of a strange issue, compounded by the Solaris ACLs. Additionally, my home directory is in a chroot jail, but it’s only in effect for the http daemon. (My shell access isn’t locked in – I would imagine that programs I run under my UID aren’t locked in, either.)

I know that this question is a little haphazard, but I’m really looking for anyone who has had a similar experience with Cake’s Bake script. I’m not really sure where to go here. Does anyone have any ideas or experience to share with me? I would greatly appreciate it.

  • 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-23T19:07:51+00:00Added an answer on May 23, 2026 at 7:07 pm

    Looks like your PHP CLI is running in safe mode, hence the errors.
    Try setting safe_mode = off in PHP CLI php.ini (you can find it via php --ini in shell).

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

Sidebar

Related Questions

Guys I have been trying lots of different options from cutting up to building
Guys, Is there an easy way to return different fields names from different models
Guys, I'm trying to convert something from C# to VB.NET and I'm having trouble
Guys, I Started playing with django-nonrel, and am trying to run my old django
Guys, for some reason EL is not telling actions from properties. I have this
Guys, can someone give me a brief run through of how to change the
Guys, I’ve been writing code for 15+ years, but managed to avoid Web Development
guys. I have two view controllers with two uiwebviews. Here is my code: First
guys. I've been searching for an answer for my issue the whole morning, but
Guys that is code copied from a book (Programming Windows 5th edition): #include <windows.h>

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.