Warning: base64_decode() expects exactly 1 parameter, 2 given [solved]

  •  12-06-2009, 5:52 PM

    Warning: base64_decode() expects exactly 1 parameter, 2 given [solved]

    Hi:
     
    This is the error:
    1. FLM <br />  
    2. <b>Warning</b>:  base64_decode() expects exactly 1 parameter, 2 given in <b>/cuteeditor/Dialogs/phpuploader/include_phpuploader.php</b> on line <b>643</b><br />  
    3. OK 
    The "error" occurs on "_HandleXhttpUpload()" function.
     
    In my previous thread (Customize image upload script)  I ask for the php I need to modify for work with the images. Ok, I edit that file (dialogs/upload_handler.php) and work's perfectly in my localhost, but I update this file in server and, when I try to upload an image, this error pops (js alert). I got the error just after select an image and shows the progress bar.
     
    It seems that  that my upload_handler.php never executed in my tests.
     
    Here are some info:
     
    Web browser: FireFox 3.5.5 (linux)
    Local php version: 5.2.9 (linux)
    Server php version: 5.1.6 (linux)
     
    Tell me if need some more info, please.
     
     Thanks for your time and sorry for my English.
View Complete Thread