Bought this a while ago, having huge problems with re-install...

Last post 02-17-2013, 12:25 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  02-13-2013, 11:50 AM 76863

    Bought this a while ago, having huge problems with re-install...

    Hi guys,

     

    I bought your script a long time back for my site (www.epicradio.net).

     

    I remember having a few problems at the time but I figured them out, got it installed and working...

     

    Since then I've re-worked the site and I need to get it going again.. I'm trying but getting a lot of issues...

     

    See the following link for a screenshot of the errors I'm having (the error up the top is constantly there and the one in the popup box happens just after trying to upload a file once it gets to 100%..

     

    http://i.imgur.com/yjL5h8X.jpg

     

    Also here's the code in my file...

     

    <?php require_once "phpuploader/include_phpuploader.php" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>


    <body>
    <form id="form1" method="POST" action="upload.php">   
                <?php   
                    //Step 2: Create Uploader object.   
                    $uploader=new PhpUploader();   
                    //Step 3: Set a unique name to Uploader   
                    $uploader->Name="myuploader";    
                    //Step 4: Render Uploader   
                    $uploader->Render();   
                ?>   
            </form>
            
    <?php   
    //Gets the GUID of the file based on uploader name   
    $fileguid=@$_POST["myuploader"];   
    if($fileguid)   
    {   
        //get the uploaded file based on GUID   
        $mvcfile=$uploader->GetUploadedFile($fileguid);   
        if($mvcfile)   
        {   
            //Gets the name of the file.   
            echo($mvcfile->FileName);   
            //Gets the temp file path.   
            echo($mvcfile->FilePath);   
            //Gets the size of the file.   
            echo($mvcfile->FileSize);    
               
            //Copys the uploaded file to a new location.   
            $mvcfile->CopyTo("/uploads");   
            //Moves the uploaded file to a new location.   
            $mvcfile->MoveTo("/uploads");   
            //Deletes this instance.   
            $mvcfile->Delete();   
        }   
    }   
    ?>          
            
    </body>
    </html>
     

    I'd appreciate some help on getting this up and running again!!

     

    Thanks in advance,

    Dave Brady

    Epic Radio Director 

  •  02-14-2013, 5:26 AM 76864 in reply to 76863

    Re: Bought this a while ago, having huge problems with re-install...

    Can you remove the following code then try again?

     

            //Copys the uploaded file to a new location.   
            $mvcfile->CopyTo("/uploads");   
            //Moves the uploaded file to a new location.   
            $mvcfile->MoveTo("/uploads");    


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-14-2013, 11:01 AM 76865 in reply to 76864

    Re: Bought this a while ago, having huge problems with re-install...

    Tried the changes you suggested....

     

    Still not working, here's the next screenshot:

    http://i.imgur.com/1RRBv75.jpg

     

    Question.. seeming as the deployment instructions are just generic and the same for everyone couldn't you just send me an upload file that I could put up which should technically work?

     

    Alternatively I saw in another thread you guys logged into someone's FTP and helped them fix theirs directly... I'd be open to doing that with you guys.. However this is only temporary while I get songs from my bands then I'm re-launching in which case I'll need to re-install again... So if we do it that way I'll need to know how to get it working for next time... Or if I can just copy the working one and then dump it up there when I get the new site running... that works...


    All that said, thanks for the quick reply and hopefully we can get this sorted out ASAP so I can stop annoying you guys.. >_>

     

    regards,

    Dave Brady

    Epic Radio Director 

  •  02-17-2013, 12:25 PM 76880 in reply to 76865

    Re: Bought this a while ago, having huge problems with re-install...

    Hi EpicRadio,

     

    1. About the session error, please try the example page below, does it still get this error?

     

    I used <?php session_start(); ?> in it, I think this code will fix your session error. 

    1. <?php require_once "phpuploader/include_phpuploader.php" ?>  
    2. <?php session_start(); ?>  
    3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
    4. <html xmlns="http://www.w3.org/1999/xhtml">  
    5.   <head>  
    6.     <title>  
    7.       example  
    8.     </title>  
    9.   </head>  
    10.   <body>  
    11.         <?php                  
    12.                     $uploader=new PhpUploader();  
    13.                     $uploader->Name="myuploader";  
    14.                     $uploader->MultipleFilesUpload=true;  
    15.                     $uploader->Render();  
    16.             ?>   
    17.   </body>  
    18. </html>  
     

    2. About the pop up error, try set the TempDirectory for the uploader control, does it work? Ensure that your site has the write/read permission of the folder you set for.

     

    $uploader->TempDirectory="D:/xx/xx/mytemp/"; 

     

    If it does not work, please use echo phoinfo(); to output all php settings, so we can check it.

     

    Regards,

     

    Ken 

View as RSS news feed in XML