Evaluation version doesn't display upload dialogue

Last post 08-12-2012, 2:23 PM by therealhg. 6 replies.
Sort Posts: Previous Next
  •  08-08-2012, 10:13 PM 74381

    Evaluation version doesn't display upload dialogue

    Greetings, 
     
    The phpfileuploader looks like a great product that fits my needs. I'm looking forward to trying it out. However, when I downloaded the trial and installed it, nothing displays on the page. Here is a url to my test install:
     
    http://www.smartmediaconsulting.com/phpuploadtest/demo.htm
     
    None of the examples that are included in the download package work. The file upload form does not appear. I've tried this on two different servers with different versions of PHP (5.1.6 and 5.3)
     
    Is this an issue with the license file that's included in the download?
     
    Thanks
    HG 
  •  08-09-2012, 10:02 AM 74389 in reply to 74381

    Re: Evaluation version doesn't display upload dialogue

    Hi therealhg,
     
    Please try the way below, it will fix this problem. The php uploader got the wrong resource path on your site.
     
    1.        Open file ”phpuploader\include_phpuploader.php”
     
    2.        Find section below
     
    $cd=dirname($this->GetWebPath(__FILE__));
     3.        Change to
    $cd=dirname($_SERVER['SCRIPT_NAME']).'/phpuploader';
     
    Regards,
     
    Ken 
     
  •  08-09-2012, 10:43 PM 74394 in reply to 74389

    Re: Evaluation version doesn't display upload dialogue

    Ken, thanks for your help. Turns out I was looking for the wrong thing, and the link I sent for my test server was actually working.
     
    However, on the server where I really intend to use this, the upload button to start the upload dialogue does not even appear. In fact, the HTML stops loading at the point where "new PhpUploader()" is invoked. See the screenshot below:
     
    This server is running PHP 5.1.6 
     
  •  08-09-2012, 10:44 PM 74395 in reply to 74394

    Re: Evaluation version doesn't display upload dialogue


    Here's the URL to the example above: http://www.aemta.org/phpuploadtest/form-simple-upload.php
     
     
  •  08-10-2012, 8:00 AM 74401 in reply to 74395

    Re: Evaluation version doesn't display upload dialogue

    Hi therealhg,
     
    Got this problem after did the change I provided?
     
    Can you set up ftp access for me of this php uploader site? So I can check it for you directly.
     
    You can send the info to [email protected]
     
    Regards,
     
    Ke 
  •  08-10-2012, 11:42 AM 74405 in reply to 74401

    Re: Evaluation version doesn't display upload dialogue

    Yes, this was my original issue, and the updated code didn't correct it. I am setting you up and will email you momentarily.
     
    Thanks for your quick replies!
     
    HG 
  •  08-12-2012, 2:23 PM 74408 in reply to 74405

    Re: Evaluation version doesn't display upload dialogue

    Ken, thanks for your help. Following you guidance, it turns out my issue was a combination of proper permissions on the "savefiles" folder and using the following declaration for the temp directory:
     
    $uploader->TempDirectory="/tmp";
     
    I am now experimenting further with my own scenarios.
     
    Best,
    HG 
View as RSS news feed in XML