Log in | Register | Lost password

Bottom
Missing argument 8 for createimagedatafromupload()
  • Posted: 19.06.2003, 21:07
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hello!

    When i try to exchange an existing picture with a newer one i get the folowing error:

    Warning: Missing argument 8 for createimagedatafromupload() in /home/www/web43/html/modules/photoshare/pnuserapi.php on line 600

    Warning: Cannot modify header information - headers already sent by (output started at /../../../../modules/photoshare/pnuserapi.php:600) in /../../../../includes/pnAPI.php on line 1095

    All I know is that argument 8 is:
    $isUploaded = $args['isUploaded'];
    and args[] (in java) is usualy a String attribut filled with parameters on execution. Guess this is somehow the same...? Sorry I'm realy new to PHP.

    But the Image is actualy updated.
    Does anybody know how to fix this?
    Thanks in advance!

    [Edited on 19/6/2003 by tobias]
  • Posted: 19.06.2003, 22:14
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Edit line 803 in pnuserapi.php:

    $optionalImageData, $optionalThumbnailData);

    Should be

    $optionalImageData, $optionalThumbnailData, true);

    (That should do it for now).
  • Posted: 20.06.2003, 13:38
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Thank you very much, it's working now!
  • Posted: 20.06.2003, 15:36
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Good. :D

Template courtesy of Designs By Darren.