Welcome to Codstack Support Center

    You can fully and easily get supported by our experts.

    Support for our products includes:
    • Responding to questions or problems regarding the product and its features
    • Fixing bugs and reported issues
    • Providing updates to ensure compatibility with new software versions
    Product support does not include:
    • Customization and installation services
    • Support for third party software and plug-ins      Codstack Support                                                                                                          


    CAPTCHA Image

     

    Search our FAQ

    If you can’t find your answer send us a ticket

    PHP Upload Configuration

    It is because of your server privacy and unique settings that some of you can not upload large files! You know the default in[...]

    It is because of your server privacy and unique settings that some of you can not upload large files! You know the default installation is not geared for working with files exceeded from 2 Mega Bytes. So please read this article if you have problems with uploading large files to your server.

    Ok if you have faced with such a problem you should go to your server and find a file named php.ini and edit it.

     

    All the configuration settings for your installation are contained in the php.ini file. Sometimes these setting might be overridden by directives in apache .htaccess files or even with in the scripts themselves.

    There are some paramaters inside this file but you should change just the last two of them:

    • file_uploads
    • post_max_size
    • max_input_time
    • memory_limit
    • upload_max_filesize
    • max_execution_time

     

    By the way let's get familiar with all of them! The first one is fairly obvious if you set this "off", uploading is disabled in your server. So as you might have guessed you should not change its value! You should always set this "on". We will cover the rest of the configuration settings in detail below.

    upload_max_filesize and post_max_size

    Files are usually POSTed to the webserver in a format known as 'multipart/form-data'. The post_max_size sets the upper limit on the amount of data that a script can accept in this manner. Ideally this value should be larger than the value that you have set for upload_max_filesize.

    It's important to realize that upload_max_filesize is the sum of the sizes of all the files that you are uploading. post_max_size is the upload_max_filesize plus the sum of the lengths of all the other fields in the form plus any mime headers that the encoder might include. Since these fields are typically small you can often approximate the upload max size to the post max size.

    memory_limit

    When the PHP engine is handling an incoming POST it needs to keep some of the incoming data in memory. This directive has any effect only if you have used the --enable-memory-limit option at configuration time. Setting too high a value can be very dangerous because if several uploads are being handled concurrently all available memory will be used up and other unrelated scripts that consume a lot of memory might effect the whole server as well.

    max_execution_time and max_input_time

    These settings define the maximum life time of the script and the time that the script should spend in accepting input. If several mega bytes of data are being transfered max_input_time should be reasonably high. 

     

    What you should do

    Ok good, now with all the above info in mind you need to change these paramaters in php.ini file in your server:

    • upload_max_filesize: You should change its value according to your favorite maximum size when uploading large size files.
    • max_execution_time: As the second probability this time value should be increased if you feel that the upload time might be exceeded from the default time value.

    How to make a database on your cPanel

    If you use sharing host and you have cPanel for controlling your website you can make a database with following steps: v L[...]

    If you use sharing host and you have cPanel for controlling your website you can make a database with following steps: v

    • Login to your cPanel

          

     

    • Go to your mysql database menu on your cPanel

     

    mysql

     

    • Write your database name and click on Create Database. You will see a page saying to you that your database has been created. Please click on Go Back button and continue the following steps...

     

    new db

     

    • Write your new user name for database and choose a strong password for this user so click on Create User. You will see a page saying to you that your user has been created. Please click on Go Back button and continue following steps...

     add new user in MySQL

    • Now you can add your user to your database. Please select created user and database and click on Add button

    add user to database

    • OK, in this step you must select ALL PRIVILEGES check box and click on Make Changes.

     

    Add all privileges

     

    Well done your database has been created you can insert your information to your config files and use this database in your web applications ;)

    How to deny file accessibilty by browser

    If you want to make your files and folders unaccessible outside of Lift File Manager by browser follow these steps below: 1-[...]

    If you want to make your files and folders unaccessible outside of Lift File Manager by browser follow these steps below:

    1- Go to the directory  ../filemanager_assets   by your ftp or host panel and find a file named htaccess.txt

    2- Open htaccess.txt and edit it according to your needs

        Here you should add those file extensions that you don't want to be accessible by browser.

        We have added some file extensions as default. You should add your own.

    3- After you amended the file htaccess.txt, copy it to your  root directory   where you have installed Lift File Manager

    4- Rename the mentioned file from htaccess.txt to .htaccess

    Now you're done and the files or folders you've defined are no longer accessible from the public by any browsers even if they know direct URLs.

     

    NOTE: If you want to do the same thing with a  specific directory   on your server, place a .htaccess file in related  directory  .

    How to change Lift File Manager's Skin

    Hopefully Lift File Manager uses Twitter Bootstrap Framework meaning that you can easily change its skin [...]

    Hopefully Lift File Manager uses Twitter Bootstrap Framework meaning that you can easily change its skin to your favorite skin based on your specific project.

    So follow the below steps to do so:

    1- Choose your favorite skin from Codecanyon ( Recommended ).

    2- Upload the new skin next to the default bootstrap stylesheet used in Lift File Manager on your server

    Changing Lift's Skin

     Path:       ../filemanager_css 

    3- Now open the file header.php with a simple text editor or whatever you better prefer and add your favorite skin after this line:

      href="../filemanager_css/bootstrap.css" rel="stylesheet"> 

     

    NOTE: You can find header.php in  ../filemanager_admin  ( This is for the Admin Panel ) and  ../filemanager_user  ( This is for the User Panel )

    NOTE: You can find a file named login.php in both of the above  directories  and apply the same changes if you want to change the login page style for both of the admin and user login pages.

    NOTE: Bootstrap 3 Skins recommended.

    Back to Codcanyon