Title: @1 File Store: Frequently-asked questions
Please check this section before you email us for technical help.

Question: Can UPOINT do the installation for me?
Answer: Yes! We charge merely $10 for the installation. Payment can be made at https://upoint.info/payment.htm . Once payment is made, please create at Helpdesk ticket at www.upoint.info/contact.htm and tell us your domain name, FTP address and FTP username/password. Typically, installation takes 1~2 days.

Question: How can I purchase more licenses?
Answer: From version 3 onwards, each license issued is based on both the domain name and the IP address of the website. For single-purchase users, you may request for additional domain licenses at only $10 per license. Payment can be made at https://upoint.info/payment.htm . Once payment is made, please create at Helpdesk ticket at www.upoint.info/contact.htm and tell us your domain name.

Question: Would I be getting free upgrades?
Answer: This is the upgrade policy from version 3.0 onwards:

Minor upgrade: Free (example: upgrade from v3.x to v3.z)
Major upgrade which does not require a license regeneration: Free (example: upgrade from v3.x to v4.z)
Major upgrade which requires a license regeneration: $10 (example: upgrade from v3.x to v4.z)

Question: Where can I find the FAQ for this script?
Answer: Our FAQ page is located at http://upoint.info/cgi/helpcenter/

Question: How do I view my server's PHP settings?
Answer: Create a text file containing only the lines below and name it "info.php". Upload it to your server and view it with your browser.

<?PHP phpinfo() ?>

Question: How do I edit my server's PHP settings?
Answer: Using the "info.php" page above, see under Configuration File (php.ini) Path for the actual location of your "php.ini" file. If you are running your own server (such as dedicated server), you can SSH to to the file and edit it using PICO command or similar. If you are on a shared server, you need to get your server Administrator to change that. It is unlikely that they will do it for you as the changes affect all users on the same server.

Remember to restart Apache (httpd) after making changes.

Question: The file upload failed although the size of the file I tried to upload is smaller than the maximum limit set in the config file.
Answer: Please check your server's "php.ini" PHP settings to see if file upload is allowed. Make sure that the variable "file_uploads" is ON. Also, check what is the value of the variable "upload_max_filesize".

Question: I got a "timeout" or "server reset" error when I tried to upload larger files.
Answer: Check the value of the variable "max_input_time" of your PHP settings (use the "info.php" method above). By default it is set to 60 and 60. Change it to -1 and -1.

max_input_time integer:
This sets the maximum time in seconds a script is allowed to receive input data, like POST, GET and file uploads. The default setting is 60.

| Details: How to optimize your PHP installation to handle large file uploads |

Question: I got error messages when I tried to click on the ZIP icon (to download file in ZIP format).
Answer: This is because Safe_Mode is turned ON in your server. To use this feature, you need to turn Safe_Mode OFF. If Safe_Mode is globally turned ON in your server, you can turn the Safe_Mode OFF for a particular domain. E.g., turn Safe_Mode OFF for domain1.com but leave Safe_Mode ON for others (for better security).

Under httpd.conf:

<VirtualHost ***.***.***.***>
ServerAlias www.domain.net domain.net
ServerAdmin webmaster@domain.net
DocumentRoot /home/domain/public_html
php_admin_flag safe_mode Off
BytesLog domlogs/domain.net-bytes_log
ServerName www.domain.net
User domain
Group domain
CustomLog domlogs/domain.net combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/

Question: I do not need visitors to enter the public guest username/password. Can I create a direct link that brings visitors to the main page without login?
Answer: Yes, just link to ../filestore/main.php?id=1&login=guest_public&password=123 where id is the folder ID.

Questions: What is the maximum upload filesize the script can handle?
Answer: Virtually there is no limit at the script's side. The ultimate limit depends on your server's configuration (see above) as well as your internet connection. For example, you can definitely upload larger files if you are using an ADSL connection compared to a 56K dialup connection. Even if you are using an ADSL connection, a 5M subscription is much faster than a 1M subscription.

Questions: Can you install this script for me? What do you need?
Answer: Yes. We charge merely an additional $10 for the installation. Payment can be made here. After that, contact us and tell us your:

- Domain name
- FTP address, FTP username and FTP password
- Access to the web-based MySQL panel such as phpMyAdmin
- Purchase details of the script (if installation is for commercial version)

Question: I got a completely blank page when I point to the File Store folder.
Answer: It looks like the script cannot locate the "smarty" folder. Please check the path to smarty folder in "config.php". Some common mistakes that we have come across are: (1) The slash "/" at the beginning of the path is missing (2) The double-quotation mark either before or after the email address variable is accidentally deleted.

Questions: After the installation, I managed to access the script and to log into File Store. But when I clicked on "Users", "Groups", "Directories" etc on the left menu, I got a Software Error or Error 500 message.
Answer:This is a very uncommon situation. It seems that your server is not configured to use the standard CHMOD environment. Try to chmod the "controls" folder and all its subfolders to 777 (as in the instruction file) but leave the chmod value of the files in the subfoders to the default (unchanged) instead of 666 as mentioned in the instruction. If it is still not working, chmod the files to 644. If still no luck, leave the subfolder "controls", its subfolders and files at default values.

Question: How do I view certain file types (such as movies) inline with browsers.... instead of a forced download?
Answer: Here is the mods from Aaron Cooper (Centric Interactive - United States). Modification is at the end portion of "download.php". This mod is not officially tested. Apply at your own risk.

$file_extension = strtolower(substr(strrchr($filename,"."),1));

//This will set the Content-Type to the appropriate setting for the file
switch( $file_extension ) {
case "pdf": $ctype="application/pdf"; break;
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "doc": $ctype="application/msword"; break;
case "xls": $ctype="application/vnd.ms-excel"; break;
case "ppt": $ctype="application/vnd.ms-powerpoint"; break;
case "gif": $ctype="image/gif"; break;
case "png": $ctype="image/png"; break;
case "jpeg":
case "jpg": $ctype="image/jpg"; break;
case "mp3": $ctype="audio/mpeg"; break;
case "wav": $ctype="audio/x-wav"; break;
case "mpeg":
case "mpg":
case "mpe": $ctype="video/mpeg"; break;
case "mov": $ctype="video/quicktime"; break;
case "avi": $ctype="video/x-msvideo"; break;
default: $ctype="application/force-download";
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: private");
/ ********** eod ********** /
//header("Content-type: application/force-download");
//header("Content-disposition: attachment; filename=\"".$filename."\"");
//header("Content-Transfer-Encoding: binary");
//header("Content-length: ".$size);
header("Content-disposition: inline; filename=\"".$filename."\"");
header("Content-Type: $ctype");
header("Content-length: ".$size);

  Powered by Document Publisher