hi
I have all files and folders at my server.
if i upload file then It gives me  error message  
No temp dir exist! Please fix your temp_dir variable in config
I have that temp & uploads folders at CHMODed to 777.
here are my config file.
package XUploadConfig;
use strict;
use Exporter ();
@XUploadConfig::ISA    = qw(Exporter);
@XUploadConfig::EXPORT = qw($c);
use vars qw( $c );
$c=
{
 # Directory for temporary using files
 temp_dir        => '/var/www.localhost.de/cgi-bin/xuploadpro/temp',
 # You can use different upload modes for different upload forms
 # Specify upload mode in xmode hidden input in upload_form.html
 modes =>
 {
   1 =>
   {
      # Directory for uploaded files
      target_dir      => '/var/www.localhost.de/cgi-bin/xuploadpro/uploads',
     
      # URL to send all input values from upload page
      url_post        => 'http://www.localhost.de/cgi-bin/xuploadpro/post.cgi',
     
      # Max number of upload fields
      max_upload_files => 4,
     
      # Minimum total upload size in Kbytes (leave empty or zero to disable)
      min_upload_size => 0,
      # Maximum total upload size in Kbytes
      max_upload_size => 7000000,
     
      # Allowed file extensions delimited with '|'
      # Use '.*' to allow all extensions
      ext_allowed     => 'jpg|jpeg|gif|png|rar|zip|avi|txt|csv|wma|app|bz2|mp3',
   },
   2 =>
   {
      # Directory for uploaded files
      target_dir      => 'www.localhost.de/cgi-bin/xuploadpro/uploads2',
     
      # URL to send all input values from upload page
      url_post        => 'http://www.localhost.de/post.php',
			
									
									
						XUpload - Problems!! Can you help me!!
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Are you sured '/var/www.localhost.de/cgi-bin/xuploadpro/temp' path is absolutely correct?
Maybe it's symlink?
This error message should only appear when temp_dir is not exist or not a directory.
			
									
									
						Maybe it's symlink?
This error message should only appear when temp_dir is not exist or not a directory.


 Facebook
 Facebook Twitter
 Twitter