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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:54:50+00:00 2026-06-05T11:54:50+00:00

I am using the following: cakephp 1.3 CakePHP-Facebook-Plugin 3.1.1 (branch cakephp 1.3)(webtechnick) php 5.3.x

  • 0

I am using the following:

cakephp 1.3

CakePHP-Facebook-Plugin 3.1.1 (branch cakephp 1.3)(webtechnick)

php 5.3.x

My problem is on line 146 of the following:

https://github.com/webtechnick/CakePHP-Facebook-Plugin/blob/cakephp1.3/controllers/components/connect.php

I have manually set createUser to false as both an argument to the component, and by altering the default value in the component itself (set line 50 to false). Yet if I do this on line 147:

print "authUser: ".empty($this->authUser)." createUser: ".$this->createUser;

i get "authUser: 1 createUser: false"

the problem is based on that output line 147 should not execute at all, what is going on here?

(1 && false) == false

no?

I almost punched my computer last night. Just thought you might want to know.

The real problem is that if this code executes it basically adds an anonymous user to my user table, bad juju.

  • 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-05T11:54:52+00:00Added an answer on June 5, 2026 at 11:54 am

    so bottom line, var_dump() in php saves lives. Failure on my part, my false was accidentally a string thank you aptana auto quotes.

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

Sidebar

Related Questions

i am using cakephp facebook plugin. when i click login. i get the following
I am using php wurfl 1.3.1 with cakephp - The following user agent is
what would be the efficient way of saving the following array using php (cakephp)?
I have a problem when using CakePHP HABTM. I have the following models. class
I am using CakePHP 1.3 and in core.php. I set the following settings Configure::write('Security.level',
I'm using the cakephp url HTML helper like following: <?php echo $this->Html->url(array('controller' => 'communities',
I am trying to replicate the following code using HTML Helper in CakePHP 2.1.
I am using CakePHP 2.0's integrated Auth component. I have the following tables :
Using CakePHP 1.3, I have the following layout: /srv/www/_cakephp13/ /app/ /cake/ /plugins/ /vendors/ etc...
I am using following code in the cakephp project in bootstrap to define constants

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.