CriticalGears supports this item


This author's response time can be up to 2 business days.

Popular questions for this item

Admin does not have any allowed extensions or upload quota appearing on the upload page, so I can’t upload any files because the file browser keeps all files invisible in the browse for files window. How to resolve this?

Please go to user management section and edit admin’s account – add everything you need (extensions, file size) and save it.

I was wondering about upgrading to 1.4. Do I need to reupload everything or just the dbconnect.php and the upgrade_1.4.php and if I do have to reupload everything will that delete all my files I have on there?

You have to reupload everything. Database will be intact so files will stay there. Just make sure you don’t delete uploaded files from FTP.

I keep getting the error message everytime I upload a large file (10MB or more) Error! Tried to upload . Got ‘Your upload quota has been reached. Try deleting some files.’ Each user has 100MB disk quota and 100MB file size. How to resolve?

By default php allows to upload 10MB only Script does not override php settings, so in order to upload larger files you have 2 options 1) you can edit php.ini file if you have access to it and set upload_max_filesize -per your needs. 2) you can create .htaccess file with following contetns:

php_value upload_max_filesize 100M php_value post_max_size 100M php_value max_execution_time 200 php_value max_input_time 200

but you will have to ensure that you are allowed to create and use such files with your hosting provider, I found that many times htaccess support is turned off by default, so you might need to ask to enable it for you.

either 1 of these options will solve your troubles.

Can you modify this script per my needs ? Can you add functionality “X” and options “Y” etc… ?

Definitely, I can modify any of my scripts for you, or create a new script from scratch per your needs, send me an email with detailed description through den page and I will be happy to give you a quote on your development needs.

Everything is working fine except for when I or client uploads anything over 2mb no matter what the allowance is set to i get the reading ‘Error! Most likely upload directory doesn’t have writable permissions or you didn’t set it up correctly. ’

It works fine for anything under 2mb.

By default PHP allows to upload files up to 2MB, everything more than that will be declined by server and you will get error despite all the settings which you setup for the user.

In order to fix this create .htaccess file in root of your hosting with following:

php_value upload_max_filesize 10M php_value post_max_size 10M

php_value max_execution_time 200 php_value max_input_time 200

instead of 10M – you can set whatever maximum limit which you want.

List of hosting companies which do not allow increasing php upload limits:

I have troubles downloading large files from file management script, how can this be resolved?

In order to download large files may have to alter the memory_limit of the php.ini. The default is 32M and this is enough for files up to 25MB. (thanks to station8 for bringing this to our attention)

I’m having problems with installing the script on GoDaddy hosting account or i can’t upload files larger than 8MB on godaddy.

linux shared hosting. change your php.ini file to php5.ini

memory_limit = 64M

file_uploads = On

upload_max_filesize = 190M

post_max_size = 190M

max_execution_time = 500

godaddy limits the file uploads to 192M on shared hosting.

Contributed by beyoyo2

a not logged in user can access files (or just see it) if he got the specific folder/file url – example: ”” or ”” -> How to prevent this ???

In order to disallow direct access to uploaded files you can create .htaccess file in that directory with following in it:

RewriteEngine On

RewriteRule ^.*$ – [F]

How do I set default file/s type instead of .JPG only for new user once they registered?

Open user_registrations.php – find $query=”INSERT INTO afm_users (username,password,email,extensions,quota,filesize,active,accesslevel,upload_dir) VALUES (’”.$username.”’,’”.md5($password).”’,’”.$email.”’,’JPG’,’1’,’1’,’”.$active.”’,’ghk’,’uploads’)”;

in the above query ‘JPG’ is the default extension, if you want to set other as default – change it to ‘JPG,PSD,DOC’ or any other file type format needed.

Show more

Contact the author

This author will respond to buyers' questions and provides limited support through their own support system.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy