Koozali.org: home of the SME Server

WebFIle Browser Problem

Ian

WebFIle Browser Problem
« on: September 15, 2003, 06:41:49 AM »
I am only able to upload small files (2mb or smaller) and I would like to set the upload size limit to 1GB  It says to make sure your php.ini match and wtb.ini equal the same size and they do but it seems like it is timing it self out in the transfer.  I get action canceled on any file bigger then 2mb.  Below are my files  Sorry for the legnth.  Hopefully someone can help.

PS I am aware that this is esmith supprt site but I got the software through a link on the forum and hoping some one can help me since there is no way to get support from the creator that I can find

*********************PHP.INI************************************
[PHP]

engine         =   On
short_open_tag   =   On   ;
asp_tags      =   Off
precision      =   14
y2k_compliance   =   Off
output_buffering   = Off
output_handler      =
implicit_flush      = Off
allow_call_time_pass_reference   = On
safe_mode      =   Off
safe_mode_exec_dir   =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions   =
highlight.string   =   #DD0000
highlight.comment   =   #FF8000
highlight.keyword   =   #007700
highlight.bg      =   #FFFFFF
highlight.default   =   #0000BB
highlight.html      =   #000000
expose_php   =   On
max_execution_time = 30
memory_limit = 32M
error_reporting      = E_ALL & ~E_NOTICE
display_errors      = Off
display_startup_errors   = Off
log_errors      = On
error_log      = syslog
track_errors      = Off
warn_plus_overloading   = Off
variables_order      =   "EGPCS"
register_globals   =   On
register_argc_argv   =   On
post_max_size      =20M
gpc_order         =   "GPC"
magic_quotes_gpc   =   On
magic_quotes_runtime=   Off
magic_quotes_sybase   =   Off
auto_prepend_file   =
auto_append_file   =
default_mimetype = "text/html"

include_path       = ".:/usr/share/php"
doc_root      =
user_dir      =
extension_dir   =   /usr/lib/php4
enable_dl      = On
file_uploads   = On
upload_max_filesize =998M
allow_url_fopen = On

extension=imap.so
extension=ldap.so
extension=mysql.so
[Syslog]
define_syslog_variables   = Off

[mail function]
SMTP         =   localhost
sendmail_from   =   me@localhost.com

[Debugger]
debugger.host   =   localhost
debugger.port   =   7869
debugger.enabled   =   False

[Logging]

[Java]

[SQL]
sql.safe_mode   =   Off

[ODBC]
odbc.allow_persistent   =   On
odbc.check_persistent  =    On
odbc.max_persistent   =   -1
odbc.max_links         =   -1
odbc.defaultlrl   =   4096
odbc.defaultbinmode   =    1

[MySQL]
mysql.allow_persistent   =   On
mysql.max_persistent   =   -1
mysql.max_links         =   -1
mysql.default_port      =
mysql.default_socket   =
mysql.default_host      =
mysql.default_user      =
mysql.default_password   =

[mSQL]
msql.allow_persistent   =   On
msql.max_persistent      =   -1
msql.max_links         =   -1

[PostgresSQL]
pgsql.allow_persistent   =   On
pgsql.max_persistent   =   -1
pgsql.max_links         =   -1

[Sybase]
sybase.allow_persistent   =   On
sybase.max_persistent   =   -1
sybase.max_links      =   -1
sybase.min_error_severity   =   10
sybase.min_message_severity   =   10
sybase.compatability_mode   = Off

[Sybase-CT]
sybct.allow_persistent   =   On
sybct.max_persistent   =   -1
sybct.max_links         =   -1
sybct.min_server_severity   =   10
sybct.min_client_severity   =   10

[bcmath]
bcmath.scale   =   0

[browscap]

[Informix]
ifx.default_host      =
ifx.default_user      =
ifx.default_password      =
ifx.allow_persistent      =   On
ifx.max_persistent      =   -1
ifx.max_links         =   -1
ifx.textasvarchar      =   0
ifx.byteasvarchar      =   0
ifx.charasvarchar      =   0
ifx.blobinfile         =   0
ifx.nullformat         =   0

[Session]
session.save_handler      = files
session.save_path         = /tmp
session.use_cookies       = 1
session.name              = PHPSESSID  
session.auto_start        = 1
session.cookie_lifetime   = 0
session.cookie_path       = /
session.cookie_domain     =
session.serialize_handler = php
session.gc_probability    = 1
session.gc_maxlifetime    = 1440
session.referer_check     =
session.entropy_length    = 0
session.entropy_file      =
session.cache_limiter     = nocache
session.cache_expire      = 180
session.use_trans_sid     = 1
url_rewriter.tags         = "a=href,area=href,frame=src,input=src,form=fakeentry"

[MSSQL]
mssql.allow_persistent      =   On
mssql.max_persistent      =   -1
mssql.max_links            =   -1
mssql.min_error_severity   =   10
mssql.min_message_severity   =   10
mssql.compatability_mode   =  Off

[Assertion]

[Ingres II]
ingres.allow_persistent      =   On
ingres.max_persistent      =   -1
ingres.max_links         =   -1
ingres.default_database      =
ingres.default_user         =
ingres.default_password      =

[Verisign Payflow Pro]
pfpro.defaulthost         =   "test.signio.com"
pfpro.defaultport         =   443
pfpro.defaulttimeout      =   30

[Sockets]
sockets.use_system_read      =   On
***************************************************************************

**********************************WTB.PHP*****************************
$title = "*************";// Title (may contain HTML tags)
$windowtitle = $title;             // Window title (text only)
$defaultstatusmsg = $title;        // Default status message (text only)

$bodybgcolor  = "#FFFFFF";         // Background color of page body
$bodyfgcolor  = "#000000";         // Foreground color of page body
$thbgcolor    = "#D0D0D0";         // Background color of table headers
$thfgcolor    = "#000000";         // Foreground color of table headers
$tdbgcolor    = "#F0F0F0";         // Background color of table cells
$tdfgcolor    = "#000000";         // Foreground color of table cells
$infocolor    = "#008000";         // Info messages foreground color
$warningcolor = "#FF8000";         // Warning messages foreground color
$errorcolor   = "#FF0000";         // Error messages foreground color
$linkcolor    = "#0000FF";         // Link color
$actlinkcolor = "#FF0000";         // Active link color

$trashcan = "wfbtrash";            // Trash can (must be located in base directory)
$trashcaninfofileext = "wfbinfo";  // Extension of information file in trash can

$filealiases = true;               // File aliasing feature
$filealiasext = "wfbalias";        // File alias extension

$defaultsortby = "name";           // Default sort mode (name/size/date)
$hidedotfiles = true;              // Hide dot-files (obsolete : use $hidefilepattern instead)
$hidefilepattern = "^(CVS|\..*)$"; // All files matching that pattern will be hidden
$showunixattrs = false;            // Show perms / owner / group (UNIX)
$filemode = 0664;                  // Create mode for files (UNIX)
$dirmode = 0775;                   // Create mode for directories (UNIX)
$uploadmaxsize = 1046478848;          // Max file size for uploads (check your php.ini)

$readmefile = "wfbreadme.html";    // README file name (empty means no README file)
$showreadmefile = false;           // Allows README file to be in file list

$useimages = false;                // Use images, set to false by default to respect the philosophy
$imagesdir = "wfbimages";          // Images directory (must be located in base directory)
$showimagesdir = false;            // Show images directory
$trashcanimage = "trashcan.gif";   // Image for trash can
$upperdirimage = "upperdir.gif";   // Image for upper and main directory
$opendirimage = "opendir.gif";     // Image for open directory
$dirimage = "dir.gif";             // Image for simple directory
$fileimage = "file.gif";           // Image for file directory
$editimage = "edit.gif";           // Image for edit action
$viewimage = "view.gif";           // Image for view action

$searchmaxlevels = 10;             // Search levels (max depth in sub directories for searches, 0 means no limits)
$downloadimage = "download.gif";   // Image for download action

$editcols = 80;                    // Number of columns for edit area
$editrows = 24;                    // Number of rows for edit area
$defaultfileformat = "dos";        // Default file format when editing and saving (dos/unix)
$viewextensions = array(           // Viewable extensions (empty array means every file is viewable)
   "txt",
   "php",
   "exe",
   "zip",
   "iso",
   "php3",
   "jsp",
   "asp",
   "htm",
   "html",
   "shtml",
   "xml",
   "wml",
   "js",
   "css",
   "cgi"
);

$authmethod = "session";      // Do not require user authentication
//$authmethod = "session"; // Use builtin session-based authentication (recommended, needs the PHP session
                           // management feature activated)
//$authmethod = "cookie";  // Use builtin cookie-based authentication (not recommended : very basic, very UNSECURE)
//$authmethod = "realm";   // Use builtin browser's basic authentication (needs PHP to be running as a module)
//$authmethod = "server";  // Require server based authentication (such as Apache's .htaccess)

$realmname = "Web File Browser";  // Realm name for use with $authmethod = "realm"

$noauthprofile = "full";          // Default profile used when $authmethod = "none"

$allowunknownusers = false;       // If set to false, any server authenticated but locally unknown user
                                  // gets the unknown-user profile (see bellow)

$unknownuserprofile = "readonly"; // Profile used for locally unknown users

// ---- PROFILES ----
// You can create as many profiles as you need using these samples

$profile = array(
   "full" => array(
      "allowmove" => true,                 // Allows file and directory moving
      "allowrename" => true,               // Allows file and directory renaming
      "allowalias" => true,                // Allows file aliasing
      "allowcopy" => true,                 // Allows file copying
      "allowdelete" => true,               // Allows file deletion
      "allowremovedir" => true,            // Allows directory deletion
      "allowcreatefile" => true,           // Allows file creation
      "allowcreatedir" => true,            // Allows directory creation
      "allowupload" => true,               // Allows file uploads
      "allowurlupload" => true,            // Allows file uploads from URL
      "allowbrowsetrashcan" => true,       // Allows browsing of trash can
      "allowemptytrashcan" => true,        // Allows emptying of trash can
      "allowrestorefromtrashcan" => true,  // Allows restore files from trash can
      "allowdownload" => true,             // Allows file download
      "allowedit" => true,                 // Allows file edition
      "allowshow" => true,                 // Allows file viewing (useful only if allowedit is false)
      "allowsearch" => true,               // Allows searches
      "allowregexpsearch" => true          // Allows optional use of regular expressions in searches
   ),
   "readonly" => array(
      "allowmove" => false,                // Allows file and directory moving
      "allowrename" => false,              // Allows file and directory renaming
      "allowalias" => false,               // Allows file aliasing
      "allowcopy" => false,                // Allows file copying
      "allowdelete" => false,              // Allows file deletion
      "allowremovedir" => false,           // Allows directory deletion
      "allowcreatefile" => false,          // Allows file creation
      "allowcreatedir" => false,           // Allows directory creation
      "allowupload" => true,              // Allows file uploads
      "allowurlupload" => false,           // Allows file uploads from URL
      "allowbrowsetrashcan" => false,      // Allows browsing of trash can
      "allowemptytrashcan" => false,       // Allows emptying of trash can
      "allowrestorefromtrashcan" => false, // Allows restore files from trash can
      "allowdownload" => true,             // Allows file download
      "allowedit" => false,                // Allows file edition
      "allowshow" => true,                 // Allows file viewing (useful only if allowedit is false)
      "allowsearch" => true,               // Allows searches
      "allowregexpsearch" => true          // Allows optional use of regular expressions in searches
   )
);

// ---- USERS ----
// You can create as may users as you need using this templates :

$user = array(
   "admin" => array(
      "password" => "********",
      "profile" => "full"
   ),
   "user" => array(
      "password" => "*******",
      "profile" => "readonly"
   )
);

// ---- Things that **may** be customized (but without any warranty)... ----

// *** I INSIST *** : you be careful what you do here !
// Many people ask me questions because of their mis-usage of these parameters...

$basedir = @dirname(__FILE__);    // Base directory = local directory
//$basedir = "/foo/bar";          // Base directory = custom directory (UNIX)
//$basedir = "c:/My Documents";   // Base directory = custom directory (WINDOWS)

// Remember that the trash can must be located in the base directory (local or custom)

$filelinks = true;                 // Links on files (inhibited with a custom $basedir
                                   // unless you specify $basevirtualdir), works fine
                                   // when $basedir = local directory

$basevirtualdir = "";              // If you have set a custom $basedir AND $filelinks = true
                                   // and if the base directory is accessible thru a
                                   // virtual directory of the webserver
                                   // set this variable (eg. "/virtualfoo/virtualbar")
                                   // in all other cases let it empty !

************************************************************************************
If you need any more let me know