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

  • Home
  • SEARCH
  • 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 9259579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:41:27+00:00 2026-06-18T12:41:27+00:00

I was following pdf blog tutorial, and in the PostsController where $this->Post should be

  • 0

I was following pdf blog tutorial, and in the PostsController where $this->Post should be available another method postConditions() is the only choice. According to the PDF Post is accessible due to the naming conventions. But it is not in my case.

I have created:

model Post.php – according to the pdf
Controller PostsController – according to the pdf

I use PhpStorm IDE to help me out with the stuff….

What did i do wrong? Could someone help me out?

I am using Cake 2.3.0 Stable on localhost XAMP

Thanks

  • 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-18T12:41:28+00:00Added an answer on June 18, 2026 at 12:41 pm

    I’m assuming you mean autocomplete in your editor is not working?

    CakePHP dynamically loads classes as and when they are references, your editor does not, so it is unaware of what Post is as it doesn’t know anything about it.

    I don’t use PhpStorm, but here’s someone who’s says they’ve got it working: http://blog.hwarf.com/2011/08/configure-phpstorm-to-auto-complete.html

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

Sidebar

Related Questions

In a blog post analyzing Python PDF libraries , S.Lott makes the following comment:
In this paper: Lock-Free Data Structures ( pdf ) the following Compare and Swap
Following on from this question , regarding accessing a PDF on a web page
Some of you may have seen my blog post on this topic, where I
Following this example, I can list all elements into a pdf file import pyPdf
Following the instructions in this SDN document (PDF) , I added a custom Lucene
Following this pdf document I added the following to my ~/.emacs file: (load auctex.el
The following code converts a PDF page into a JPEG. It runs as expected
The following works in current Firefox (PDF loads), but not in current IE (page
I have the following code function generate_pdf() { $fdf_data_strings = $this->get_hash_for_pdf(); #$fdf_data_names = array('49a'

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.