Upload Progress Bar

Note: This page is obsolete. The progress bar is now built into all versions of ZendTo.

The most frequently requested feature is a progress bar so you can track the file uploads when a user drops off files. So here is how to do it in the current version.

  1. Download zendto-progress-bar.tgz and unpack it somewhere safe.
  2. Inside /opt/zendto, replace the contents of your bin, lib, templates and www directories (including all subdirectories) with the corresponding directories from the file you just downloaded.
  3. Compare the 2 files in the config directory with those in your installation to see if there are new settings that need to be added to your files.
  4. Now when a user uploads a file, they should see a nice progress bar showing them their upload.

Ubuntu

  1. Become root with "sudo su -"
  2. apt-get update
  3. apt-get install php-pear php-apc
  4. Edit /etc/php5/apache2/php.ini and add these 2 lines to the end:
    apc.rfc1867 = on
    apc.max_file_size = 50G
    apc.slam_defense = off
  5. Edit /etc/php5/cli/php.ini and edit the line that sets "error_reporting":
    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
  6. service apache2 restart

CentOS

  1. Log in as root, or become root with "su -"
  2. If you are running on a 64-bit system, edit /etc/yum.conf. In the "[main]" section, add this line:
    exclude=*.i386 *.i586 *.i686
  3. rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-8.ius.el5.noarch.rpm
    rpm --nodeps -e php php-common php-mysql php-cli php-pdo php-ldap
    yum install php52-pear php52 php52-cli php52-common php52-devel php52-gd php52-mbstring php52-mcrypt php52-mysql php52-pdo php52-soap php52-xml php52-xmlrpc php52-bcmath php52-pecl-apc php52-pecl-memcache php52-ldap
  4. Edit /etc/php.d/apc.ini and add these 3 lines to the end:
    apc.rfc1867 = on
    apc.max_file_size = 50G
    apc.slam_defense = off
  5. Re-apply all the /etc/php.ini modifications as described here as your old php.ini file won't be there any more.
  6. service httpd restart