Re: CuteWebUI AjaxUploader Initialize is not defined BLOCKED SCRIPTalert('TODO:FIXME')

  •  02-28-2011, 6:00 PM

    Re: CuteWebUI AjaxUploader Initialize is not defined BLOCKED SCRIPTalert('TODO:FIXME')

    I spoke with Eric in Live Chat today and he helped me solve this problem, and I thought I'd post the resolution here.
     
    Edit cuteeditor_files/Dialogs/phpuploader/include_phpuploader.php
     
    You'll need to change the $cd  declaration in the PhpUploader() function:
     //$cd=dirname($this->GetWebPath(__FILE__));
    $cd=dirname($_SERVER['SCRIPT_NAME']).'/phpuploader';
     
    I commented out the old line for historical purposes and added the new line.  Basically some servers work fine with the GetWebPath() method and some do not.  So all of them work fine with the $_SERVER variable for the path.
     
    Hope that helps.
View Complete Thread