Problems running demos

  •  08-24-2010, 10:40 AM

    Problems running demos

    Hello,
     
    I've had real problems just running the simple demo,
     
    <form id="form1" method="POST">
        <?php
        
            $uploader=new PhpUploader();
         
            $uploader->Name="myuploader";        
            $uploader->Render();
            
        ?>
        </form>
     
    Initially there was a problem with the file path so in 
    include_phpuploader.php I changed,
     
             //$cd=dirname($this->GetWebPath(__FILE__));
            $cd = "phpuploader";
     
    then in my demo I got this, which suggests the script file is not being recognised.
     
    <script src="phpuploader/ajaxuploaderresource.php?type=script" type="text/javascript">
    1The resource from this URL is not text: http://www.gapblog.com/phpuploader/ajaxuploaderresource.php?type=script
    </script>
    <span style="display: none;"/>
    <button style="display: none;">Cancel upload</button>
    <img id="myuploader_Loader_unique" contextvalue="d7dd66df74e90c17db2cf3154486077a" onerror="this.onload()" onload="this.style.display="none" ; CuteWebUI_AjaxUploader_Initialize(this.id);" borderstyle="border-style:solid;border-width:1px;border-style:#444444;" barstyle="Continuous" infostyle="padding-left:3px;font:normal 12px Tahoma;" barheight="20" panelwidth="360" numfilesshowcancelall="2" showprogressinfo="1" showprogressbar="1" uploadtype="Auto" uploadcursor="Auto" uploadingmsg="Uploading.." cancelallmsg="Cancel all Uploads" canceluploadmsg="Cancel upload" maxhttpsizekb="2048" maxpartialsizekb="102400" flashloadmode="1" uploadurl="phpuploader/ajaxuploaderhandler.php" resourcehandler="phpuploader/ajaxuploaderresource.php" resourcedirectory="phpuploader/resources" insertbuttonid="myuploaderButton" src="phpuploader/ajaxuploaderresource.php?type=file&file=continuous.gif" serverlang="PHP" uploadmodulenotinstall="1" namespace="CuteWebUI" uniqueid="myuploader" style="display: none;"/>
     
     
    Any suggestions?
     
     
    Regards,
    Rupert
     
View Complete Thread