0

Error Problem

Hi., I am new to YAP... When i followed the 'Getting Started' with "mysocial.php" and "yosdk" provided., i got the following Fatal error while executing....

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 44781 bytes) in E:\Sites\Single5\pgcinfotech\webroot\polestar\yahoo_app\lib\Yahoo.inc on line 179

i got struct., Can any1 plz help me.........

by
6 Replies
  • QUOTE (Kumar @ Oct 23 2009, 10:50 PM) <{POST_SNAPBACK}>
    Hi., I am new to YAP... When i followed the 'Getting Started' with "mysocial.php" and "yosdk" provided., i got the following Fatal error while executing....

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 44781 bytes) in E:\Sites\Single5\pgcinfotech\webroot\polestar\yahoo_app\lib\Yahoo.inc on line 179

    i got struct., Can any1 plz help me.........


    Hi,

    Could you tell me which step you did when you see this error?

    - Henry
    0
  • QUOTE (Henry @ Oct 24 2009, 03:35 PM) <{POST_SNAPBACK}>
    Hi,

    Could you tell me which step you did when you see this error?

    - Henry


    I got the problem too.
    The step to Preview the Application URL
    0
  • Same here, i even set the memory to 256mb with ini set but still get that error. Maybe it's the last version on github the problem.
    0
  • QUOTE (Celeb @ Oct 26 2009, 09:55 AM) <{POST_SNAPBACK}>
    Same here, i even set the memory to 256mb with ini set but still get that error. Maybe it's the last version on github the problem.


    I am trying to duplicate the issue and seem to not be having an issue. Can you enable debugging and try again:

    CODE
    error_reporting(E_ALL | E_NOTICE); # do not show notices as library is php4 compatable
    ini_set('display_errors', true);

    YahooLogger::setDebug(true);
    YahooLogger::setDebugDestination('LOG');
    0
  • I have the same issue with recent SDK.
    I tried to enable logging but it gave me no additional info.
    0
  • QUOTE (kit1980ukr @ Nov 1 2009, 11:43 PM) <{POST_SNAPBACK}>
    I have the same issue with recent SDK.
    I tried to enable logging but it gave me no additional info.


    The problem stems from error login (in my case due to an invalid application key)
    at 181 YahooLogger calls itself causing an infinite loop
    YahooLogger::error("ERROR OBJECT - " . print_r($object, true));

    replace YahooLogger::setDebugDestination('LOG'); by YahooLogger::setDebugDestination('CONSOLE'); and you get the error message

    Hope this helps
    Alain
    0

Recent Posts

in YAP