Progress bar stuck at 0%

  •  03-20-2011, 5:08 PM

    Progress bar stuck at 0%

    Hi,
     
    I was testing out the trial version of php uploader and got it mostly set up, but when I try to upload an image the bar just gets stuck at 0% and nothing happens!  I double-checked server-side settings -- the chmod for both temp and save directories are at 777, and the server supports both php 5 and html file uploads.
    We're using an ecards system where the pages are built dynamically, so I'm not sure if that has anything to do with why it isn't working.  Any ideas?
     
    Ryan
     
    Test page:
     
    My code:
    <?
    session_start();
    include_once('inc/UIfunctions.php');
    include_once('config.php');
    $page = new pagebuilder;
    include_once('inc/setLang.php');

    $page->showHeader();
    require_once "inc/uploader/phpuploader/include_phpuploader.php";
    ?>
    Allowed file types: jpg/jpeg, gif, png
    2MB Max File Size
    <form id="uploadimage" method="post">
    <?php     
                    $uploader=new PhpUploader();    
                    $uploader->SaveDirectory="http://okmusic.me/ecards/images/uploadedimages";
                    $uploader->TempDirectory="http://okmusic.me/ecards/images/tempuploadimages";
                    $uploader->Name="useruploadedimage";
                    $uploader->MaxSizeKB=2048000;
                    $uploader->AllowedFileExtensions="jpg,jpeg,gif,png";
                    $uploader->Render();   
    ?>
    </form>   
    <?
    $page->showFooter();
    ?>
     
View Complete Thread