Maian Uploader v4.0 Documentation
- HOME -   - INSTALLATION -   - UPGRADE -   - F.A.Q. -   - SCRIPT INFO -
Listed below are some frequently asked questions about Maian Uploader.

How do I know if my server has the GD library or CURL installed?
The user folders cannot be created automatically. Why?
I cannot seem to upload files larger than 4mb. Why?
I cannot set the script up myself. Can you help?
Why is there no upload progress bar?
How do I set up a mysql database?
Is there any way to test the paypal ipn system?
In sandbox, the IPN system keeps returning an INVALID response. What can I do?
Everything was working, now all I see is a white page. Why?
There is no language displaying. Why?
My server has stopped the php mail function sending to 3rd party addresses. What can I do?
Can I use html in my e-mails?
I cannot delete any folders or files via ftp. Why?
The file uploading in the user area isn`t working? what can I do?
Is it possible to have hyperlinks in the e-mails to the uploaded files?
Can I increase the amount of data that is shown per page?
Can I have more user admin upload fields in the admin area?
Can I disable the captcha code?
Can I alter the 1-20 upload box options in the admin area on the account types page?
Can I prevent people from changing their passwords?
Nothing is getting uploaded and everything is set up correct. any ideas?
In the admin area, how do I disable the redirect pages?
In there a time offset function to adjust the time?
I have an image upload service. Can I show thumbnail previews of uploaded images?
Can I change the size of the MP3,Flash Video Player & Code Generator windows when the grey box is enabled?
Is it possible to show controls for the Flash Video Player?
To find out if your server has these modules installed you need to view your PHP installation data.

To do this copy and paste the following into a text editor:

<?php
phpinfo();
?>

Save as a .php file and upload anywhere on your server. Then access this file in your browser. Scroll down and look for the following (note that some versions may vary):

CURL:

Curl

GD Library WITH Freetype Support:

GD Library

NOTE: For security, this file should be deleted after viewing.
There are a couple of possible reasons why this might fail. Firstly, you haven`t set the correct permissions on the main directory that holds the user folders. This directory MUST be writeable. If you are unsure of this feature, contact your web hosting company.

The second possibility is that your server is running in 'Safe Mode'. If the server is running in 'Safe Mode', PHP checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed.

'Safe Mode' is sometimes enabled on shared servers for security.
By default the PHP configuration is set to 2MB. To find out what your limits are, copy and paste the following into a text editor.

<?php
phpinfo();
?>

Save the file as 'test.php' and upload to your server. Once uploaded access this file in your browser. In your PHP configuration, look for the following:

- upload_max_filesize
- post_max_size

Your limits are also shown in your admin area when you add an account type. Click the little [?] link next to the 'Max Size Per File For File Uploads' field.

If you have access to your PHP.ini file, you should increase both these values. The location of your PHP.ini file is listed in the first section of your PHP information.

- Configuration File (php.ini) Path

NOTE: If you are on a shared server you may not be able to increase this value.
Yes, so long as I am familiar with your servers setup. All I ask in return is a small donation.
For a progess bar to work properly the script has to process through a .cgi file. This makes it a little awkward with the PHP code.

Raditha Dissanayake`s mega upload progress bar has a PHP version but still has to process through a .cgi file. Because of how the script is written it is awkward to implement at this moment in time. This however may be included in a future release if a suitable progress bar becomes available.
As servers vary, there is no one tutorial that can explain this procedure. Please contact your web hosting company who will be happy to advise you.
Yes. For this you need a Sandbox account. This is free. More details here:

https://developer.paypal.com
This sometimes happens on some servers. I assume its a Sandbox bug. For more information check out the Sandbox forums.

What I would suggest is you try a live payment. Paypal lets you have two accounts so long as you have one business account and one personal account. Try sending a payment from your personal account to your business account. ie: set a cost for your packages at £0.01 or $0.01 to test. If you make larger payments you can always send yourself a refund.

This script was tested with both Sandbox and Live payments without any problems.
The cause for this will be that you have edited one of the PHP files incorrectly, which is causing it to fail. Go back and check your editing.

If the problem persists, re-download the script from Maian Script World and start again.
The cause for this will be because you have edited the lang file and accidentally made a mistake. Most common problem is using appstropes (') without escaping them correctly. ie: \'. Failure to escape apostrophes correctly will cause the language file to fail. Go back and check your editing.

If the problem persists, re-download the script from Maian Script World and start again.
Enable the SMTP send option in your settings and enter your SMTP information.
Yes you can. If you want to use HTML in your e-mail templates, you need to do the following:

Open up the 'classes/class_mail.inc.php' & 'admin/classes/class_mail.inc.php' files in a text editor and set the following variable to true.

var $html = false;

Note that some data in some e-mails may not display correctly as the script is coded to use plain text data. If you know PHP it shouldn`t be too hard to make the necessary script changes.
If you create folders via an FTP client, the folder is owned by you. If you create a folder via PHP as this script does, the folder is owned by the same owner that Apache runs as. In the latter instance, its quite likely that you then won't be able to remove those folders using an FTP client.

If you have complete control over the server, you can add yourself to the group that the Apache user is a member of.

Your hosting company can remove any files for you and may also be able to update the permissions on their server to allow you to remove the files via FTP.
If you are experiencing problems with file uploading you can enable error logging to find out the possible cause. To do this follow these instructions:

1. Open up the 'index.php' file in a text editor.
2. Scroll down until you see the following variable around line 87:

define('LOG_UPLOAD_ERRORS', 0);

Change this to:

define('LOG_UPLOAD_ERRORS', 1);

3. Save and reupload the 'index.php' file.

4. Try uploading a file. Once you have done this open up the following file in a text editor:

log/upload_errors.txt

Hopefully you will see the reason for the upload failure here. Also check the permissions on your upload directory.
Yes. This option is in your settings.
Yes. This option is in your settings.
Yes. To do this do the following:

1. Open up the 'admin/index.php' file in a text editor.
2. Scroll down until you see the following variable around line 61:

define('UPLOAD_FIELDS', 5);

Change this to:

define('UPLOAD_FIELDS', 10);

Where the total is the amount of upload boxes you want.

3. Save and reupload the index file.
Yes. This option is in your settings.
Yes. To do this do the following:

1. Open up the 'admin/index.php' file in a text editor.
2. Scroll down until you see the following variable around line 60:

define('MAX_UPLOADS', '1-20');

Change this to:

define('MAX_UPLOADS', '1-30');

Where the value is the range you want to display.

3. Save and reupload the index file.
Yes, this option is in your settings.
Is your server running in 'Safe Mode'?. If so, you should switch this off as this may be a problem.
To do this do the following:

1. Open up the 'admin/index.php' file in a text editor.
2. Scroll down until you see the following variable around line 70:

define('REDIRECT_MESSAGE', '1');

Change this to:

define('REDIRECT_MESSAGE', '0');

3. Save and reupload the index file.
Yes. This option is in your settings.
Thumbnail previews are available by default for all images in v4.0.
Yes. Open the 'index.php' & 'admin/index.php' files and scroll down until you see the following constants:

define('CODEGEN_WINDOW_SIZE', '200, 100');
define('MP3_WINDOW_SIZE', '310, 70');
define('FLV_WINDOW_SIZE', '420, 350');

Change the values. Each value is width,height. So, for example, in the above example, the Flash Video Player has a width of 420px and a height of 350px. Separate values with a comma.
Yes, by default no contols are shown. To enable controls, open the following file and set the variable to true that hides the controls:

js/load_flv.js.php

Powered by Maian Uploader v4.0
© 2003- Maian Script World. All Rights Reserved.