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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:55:37+00:00 2026-06-01T05:55:37+00:00

I manage a CakePHP 1.1 CMS website, and our hosts just upgraded PHP to

  • 0

I manage a CakePHP 1.1 CMS website, and our hosts just upgraded PHP to 5.3, causing a number of errors, such as:

Notice: Undefined variable: banner_image in /home2/intiwara/cake/app/views/layouts/public_site.thtml on line 49
Notice: Undefined variable: news_menu in /home2/intiwara/cake/app/views/articles/volunteer_animal_refuge.thtml on line 73

I can hide the errors by altering cake/cake/libs/configure.php line 133 to be:

error_reporting(E_ERROR);

However the variables and models are still not found so the page does not render.

I realize I need to upgrade to CakePHP 2.1, and every post I find dwells on this. However I’m the only technical volunteer here, I have only a few hours tomorrow afternoon to get the site working, then I am offline for two weeks’ work in rural Ethiopia, so I’m hoping there’s a ‘workaround’ solution I can put in place in the meantime. (The hosts didn’t tell us this was about to happen..)

I don’t need the admin functionality, I don’t mind hiding errors – I just need the site to render. Is there any way I can trick PHP 5.3 to ‘see’ these variables?

Thank you hugely
Chris

  • 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-01T05:55:38+00:00Added an answer on June 1, 2026 at 5:55 am

    If you followed the conventions you might have some luck and be able to upgrade to 1.3 withing a reasonable amount of time if you have a higher level of experience with CakePHP. From 1.1 to 2.1… this won’t go that smooth.

    Without knowing the whole code and all the issues it’s hard to tell anything, it’s not even really possible to say if it would be better to try to work around with fugly fixes or to do a proper upgrade to 1.3.

    If this is really something mission critical contact me in private and I’ll get you the contact to a company who can get it done.

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

Sidebar

Related Questions

I have a tournament website with CakePHP, where i needs to manage a condition
I made a simple CMS with CakePHP to handle a small (but growing) number
I have just upgraded from php 5.1 to 5.3 and had previously been using
I manage a website for an organization that has a network where several hundred
I'm building a controller to manage group based ACL in CakePHP and when I
I manage a large number of websites under Wordpress and I'd like to create
I manage a large number of shell (ksh) scripts on server A. Each script
I currently use virtual hosts on my computer so that I can manage multiple
Our website is going to work as follows: There's a central site www.example.org where
I'm using CakePHP's ACL component to manage permissions for my app. I have about

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.