Welcome Requirements Installation FAQ  

HOW TO CHANGE THE PASSWORD FOR USER "ADMIN

Log in as "admin", go to "Users & Groups", enter group "Default", select user "admin", then click EDIT.

HOW TO QUICKLY CREATE A "GUEST" USER

Log in as "admin", go to "Users & Groups", and create a new group. Uncheck "User may change files" and other options that may apply. Then create a new user inside that group, and makes sure he is "inheriting" the groups' permission settings.

HOW TO INCREASE THE MAXIMUM UPLOAD SIZE FOR FILES

The upload limit shown in the "Upload" dialog is taken dynamically from your server (more precisely, from your php.ini configuration file).

The limit under standard PHP installation currently defaults to 2MB per file.

Here's how to quickly see what specifically is your PHP limit for the size of files that you can upload with PHP applications:

In Afian, click the "Diagnostics" option (in the left tree menu, when you're logged in as "admin"). On that page you should see exactly the limitations of your PHP configuration.

To increase the limit, edit these two parameters in your php.ini file:

UPLOAD_MAX_FILESIZE
and
POST_MAX_SIZE

If you get a "maximum execution time excedeed" error, increase "MAX_EXECUTION_TIME" in php.ini.

If you upload large files via a slow connection and get a "timeout" error... increase the "TIMEOUT" time in your web server's configuration file (i.e. httpd.conf for Apache).

USING A CUSTOM PHP.INI FILE

Alternatively, instead of changing php.ini settings globally for your entire installation of PHP, you can put a custom php.ini in Afian's directory to alter the upload settings just for Afian.

We provide you here with a sample php.ini file that enables you to upload large files. Right-click here and choose "Save Target As...". Save the file as "php.ini" and upload it into your main Afian directory.

If Afian stops working after you upload the sample php.ini file, this simply means that the path to Zend on the sample php.ini file is different than what you have on your server. Edit the file accordingly.

IF YOU GET "GIBBERISH" WHEN TRYING TO INSTALL AFIAN

If, after uploading Afian's program files, you get garbled characters on the screen instead of Afian's setup page, this means that your server doesn't have the Zend Optimizer plugin.

IF YOU RECEIVE A "FATAL ERROR" MESSAGE WHEN TRYING TO INSTALL AFIAN

If, after uploading Afian's program files, you get a message such as:

Fatal error: Unable to read 42830 bytes in /var/www/system/class/lib.zip.php on line 0

...this means that you have uploaded Afian's files in ASCII mode and the files were corrupted. Please re-upload them and set the transfer mode in your FTP client to binary.

IF THUMBNAILS ARE NOT SHOWING

If you see the standard file icons for JPG and GIF instead of their thumbnails, you probably don't have the GD extension enabled in your PHP. The GD extension is a common one, and is used to generate images "on the fly". To enable it, ask your hosting service, or take a look in the php.ini at the [extensions] section.

Also, if you can see thumbnails for JPEG and PNG images, but not for GIF images, you might need to recompile PHP and instruct it to include the GIF format. Unlike other file formats, GIF is a proprietary format, and it's not enabled by default in some PHP installations because of licensing issues.

IF YOU ARE UNABLE TO DELETE FILES USING AFIAN

Please check that you have set the proper Unix permissions for Afian's program files.

In Afian, click the "Diagnostics" option (in the left tree menu, when you're logged in as "admin"). Check the "File permissions" field.

::