We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this code
define("CONSUMER_SECRET","asdlhgasdhg135"); define("ACCESS_TOKEN","ReqnFVaBasdfgs5t321Rebd"); define("ACCESS_TOKEN_SECRET","kEshxx3pox13t6aqefrhqaPaprGfA6F2c6xYSU"); define("CONSUMER_KEY","s6tNuF91236ta4B7NU");
require('plurkAPI.php');
$plurk = new PlurkAPI(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET); $json = $plurk->callAPI('/APP/Profile/getPublicProfile', array('user_id' => 'clsung'), true); $json = $plurk->callAPI('/APP/Profile/getOwnProfile'); $json = $plurk->callAPI('/APP/FriendsFans/getFriendsByOffset', array ('user_id' => 'clsung'));
When I run this one, I get this error:
Fatal error: Out of memory (allocated 61865984) (tried to allocate 19456 bytes) in /home/sxtest/public_html/test123/plurk/plurkOAuth.php on line 106
Why is this happening. Any help for this! Thanks! :)
The text was updated successfully, but these errors were encountered:
Hi, will you try modify your php.ini, and set memory_limit to larger number? e.g.
memory_limit = 64M
Sorry, something went wrong.
use require_once(); instead of require();
require -> require_once, as suggested in issue #2
644024c
Thanks, I've stopped developing in PHP for years, let's see how it works.
No branches or pull requests
I have this code
define("CONSUMER_SECRET","asdlhgasdhg135");
define("ACCESS_TOKEN","ReqnFVaBasdfgs5t321Rebd");
define("ACCESS_TOKEN_SECRET","kEshxx3pox13t6aqefrhqaPaprGfA6F2c6xYSU");
define("CONSUMER_KEY","s6tNuF91236ta4B7NU");
require('plurkAPI.php');
$plurk = new PlurkAPI(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
$json = $plurk->callAPI('/APP/Profile/getPublicProfile', array('user_id' => 'clsung'), true);
$json = $plurk->callAPI('/APP/Profile/getOwnProfile');
$json = $plurk->callAPI('/APP/FriendsFans/getFriendsByOffset', array ('user_id' => 'clsung'));
When I run this one, I get this error:
Fatal error: Out of memory (allocated 61865984) (tried to allocate 19456 bytes) in /home/sxtest/public_html/test123/plurk/plurkOAuth.php on line 106
Why is this happening. Any help for this! Thanks! :)
The text was updated successfully, but these errors were encountered: