I'm really confused about the Facebook session related methods. Everything besides the ->API method in which you have to supply an access token now seems to rely on getSession returning whatever is expected to be in a valid session (I know access token is one of those things).My code performs the oAuth handshake and gets a valid access token which I store to $params['access_token'] and then can call the method ->api(/me, $params['access_token']) to get data back.How do I set a valid session to the FB object so that I can use the other methods, such as ->getLogoutURL? I know there is a ->setSession method but I don't know what it is expecting as input.Hopefully my question is clear...1. I can get a valid access token2. How do I make the ->getSession method return anything other than NULL?

i am having a code which parses the xml text which is obtained from google search it used to working fine before , I think after updating my version infos it not working fine what might be the problem i am getting the following error Fatal error: Call to undefined method SimpleXMLElement::child_nodes() in /home/search.php in line 70 let me know how can i solve this problem This code is used in smarty And it gets the response string from curl.

I have two other classes, LogMapper and Log, which Logger uses to write records to a database.I also have a mechanism that emails me when a fatal error occurs. I received the following in about a dozen emails: Call to undefined method Log::setUserId()

My application uses autoloading, and I first thought that may be the problem, but clearly the Logger class is being loaded, and so autoloading has not broken. The path for the Log class is correct in the autoloader...and clearly the Log class has been loaded--otherwise a "Class 'Log' not found" error would have been thrown.

I redirect users to another server to login. After they loginsuccessfully, they will be redirected to test.php. The server providesxml_rpc interface so I can communicate with it. After running myscripts, I get this error:

Fatal error: Call to undefined method XML_RPC_Response::kindOf() in /usr/share/PEAR/XML/RPC.php on line 1972

I've got a client who has just set up a new VPN and is attempting to install my plugin.He's getting the following error:Fatal error: Call to undefined method SplFileInfo::getRealPath() on the commented line below. This appears to have something to do with the ZEND libraries. Any ideas what I should tell him to do?

I'm trying to test mongohq by just creating a random collection. I'm getting this error: Fatal error: Call to undefined method MongoDB::insert() in /ajax/db.php on line 24. I have the client installed as far as I know: I'm also running php 5.2.6. What's the problem?

The email::connect() returns an instance of SwiftMailer. As per these docs, it would seem that it should work. However, I get an error Fatal error: Call to undefined method Swift_Mailer::setSubject() in /home/user/public_html/application/classes/controller/properties.php on line 45 I've seen that email::connect() does exactly what the example code in the docs does. That is include the correct file return an instance of the library What am I doing wrong?

i'm trying to implement paging in xml using this code and got around to making it work. while it works perfectly, there is a small issue, that when i click on the NEXT button, it keeps reloading the page with the same initial records. it does not take the user to the next page.

i came across this link wherein the poster had a similar issue, and it seems from the answers parameters need to be passed. however, the guy in that link was using MM_XSLTransform, while i'm not. hence when i try to implement this code in index.php:

This is probably an easy one for some of you. I'm trying to test a protected method on a small DB connection class I have. Relevant code is as follows:

class DbConnect{

/** * Connexion MSSQL local[code]....

To test the method, I had the bright idea (probably from a post here somewhere) to subclass and call from there. I created a subclass, right at bottom of my test file. I obviously could not override the visibility of the method to public, so decided another approach in the stub: declare a public method that calls the parent's protected localConnect method:

I'm doing this tutorial here: [URL].._facebook_integration_with_cakephp I baked a new project with cake bake facebook_app and set the configuration database file to the correct settings and the default cakePHP screen showed that tmp directory was writable, DB setup was good, etc.

I downloaded the CakePHP plugin by WebTechNick here: https://github.com/webtechnick/CakePHP-Facebook-Plugin, and filled out app information (app_secret, app_id, etc), adding it to facebook_app/config/facebook.php

I realize that means PHP didn't recognize Facebook as an object. But I installed the plugin! Also, it seems not MVCish to have something like $this->Facebook->share(); in a view (home.ctp). However, this is exactly how WebTechNick does it in his tutorial (I followed it exactly 3x) and it does not work for me. I'm a complete noob at cakePHP (although I've read the entire documentation) and I'm just trying to learn and understand through examples.

i was wondering if you could point me in the right direction. Im extending the mysqli class but can't seem to call the error function..

[Code............]

Fatal error: Call to undefined method mysqli::error() in C:wampwwwvhdocs estmysqli.class.php on line 31. i've also tried parent::mysqli_error and had the same error... I cant see why i cant call the error.....

Failing the facebook PHP OAUTH authentication (the user presses don't allow for example) means facebook adds the correct $_GET endings to the redirect URI i pass it. For example:[URL].. No problems there. I can use $_GET to get the error reason and inform the user of what they did wrong.

If it passes however, facebook adds[URL].. A hash symbol instead of a question mark. And I can't get the authentication code using $_GET. Why? Any Help?

I'm working in an environment that only uses windows!!! HELP!!! but because of this I must test and use everything on windows. So, I'm using PHP 4.06, Apache 1.3.2 and Windows 2000 pro. Everything works. But here is my problem. I tried setting up functionality with fdftk. What I tried doing is setting up my extension directory and the extension=php_fdf.dll in my php.ini file. When I try to run my script I get an error like this: Fatal Error: Call to undefined function : fdf_open().

I am currently butting my head against a brick wall with a problem right now. I am trying to use two arrays to track an item and it's quantity. When ever the script runs it says I keep getting this error message:

Fatal error: Call to undefined function: () in /info/www/docs/cpcdb/search/addcart.php on line 109

This error occurs on the first time the session is initialized. The called function is get(). When I reload the page (reloading session) I get a new error

Fatal error: Call to undefined function: () in /info/www/docs/cpcdb/search/addcart.php on line 93

which occurs in a branch of an if statement that checks to see if my arrays are not empty. The function called on line 93 is upditem. Code:

I have an online photogallery nearly working. I get the error below and have no idea why its happening. The 'Still Here!' bit is what the code is echoing so i can see if that set of code works. I have followed a tutorial for this and Not really sure what to do. Code:

I keep getting a Fatal error: Call to undefined function for NO real reason allow url includes is on, and I get the function trough a require_once, the file being called by require_once if I echo something from it it appears on the page, only the functions even a blank function foo(){};