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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:19:30+00:00 2026-06-01T23:19:30+00:00

I am using cakephp 2.1 when i am creating add function in controller and

  • 0

I am using cakephp 2.1 when i am creating add function in controller and view add.ctp

i am getting this error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ‘,’ or ‘;’ in C:\wamp\www\rohitchoudhary\caketoodoo\app\View\tasks\add.ctp on line 5

Please help me

  • 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-01T23:19:32+00:00Added an answer on June 1, 2026 at 11:19 pm

    this is not a cake but a php question.
    and not even that.

    just make sure you use a decent PHP IDE which would give parsing errors.
    then you would find out that you probably placed an invalid char somewhere.
    either way you should be able to debug such a parse error yourself.

    such error messages are always descriptive enough to get it done on your own.

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

Sidebar

Related Questions

i am using cakephp and creating this condition: $conditions = array(Userword.levelid=>0, Userword.userid=>$this->Auth->user('UserId'),date(Userword.date)=>DATE_SUB(CURDATE(),INTERVAL 0 DAY));
I've got a small question about Creating Aro-s in Cakephp http://book.cakephp.org/#!/view/1547/Acts-As-a-Requester I'm using code
I was using this tutorial http://bakery.cakephp.org/articles/Casmo/2010/06/26/creating-pdf-files-with-html2ps-html2pdf to set up html2ps with cakePhp. Everything is
I'm creating an RSS feed out of some articles using CakePHP, but it doesn't
I'm creating a web application using cakephp 1.2.6. There is a functionality that I
This site is built using CakePHP 1.2* I have an element that needs to
Using cakePHP my goal is to combine the index view of two or more
I am using JQuery where i am trying to use the Cakephp Controller returned
Using CakePHP 1.3.6 I'm sure I may have to add code and examples, but
I am using cakephp and creating a form <?php echo $form->create('User', array('action' => 'cancel'));?>

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.