Page 1 of 1

Should be simple...

Posted: Sun Dec 30, 2012 2:59 pm
by kahlereese
Hi,

I just uploaded the Advanced File Server, but am stumped before I could get out of the blocks. There is something I'm missing here:

Followed the configuration file, and uploaded to server. The test compat.php shows all green. I open index.php and it wants to redirect to index.html (which doesn't exist) and I get an IIS error. Is there something wrong with the config.inc.php file?

Noticed that index.php creates the HTML files, could it be permissions? Sorry, fairly new to this and don't have any ideas.

Thanks
Kahle

Code: Select all

$conf['mysql']['server'] = 				'localhost';
$conf['mysql']['user'] = 				'root';
$conf['mysql']['pass'] = 				'*****(the correct pass)';
$conf['mysql']['db_name'] = 			'codecanyon';

// this string must be compatible with the php date function.
$conf['display']['date_format'] = 		'h:i:s d/m/Y';

// set this to true to remove a upload ticket from the database when it has no uploads left.
$conf['core']['ticket_auto_remove'] = 	true;

// This is an array of pages that don't require a password.
// index - 		Home page
// upload - 	Upload page
// tickets - 	Manage tickets page
// files - 		Manage files page
// users - 		Manage users page
$conf['core']['no_login_pages'] = 		array('index');

Re: Should be simple...

Posted: Thu Jan 03, 2013 2:56 am
by jacek
Ah, the issue is that it relies on Apache for nice file names in the URL. I'm not sure if IIS has something similar or how it works. When you get redirect to index.html you would actually be viewing index.php?page=index so one option would be to use those directly instead.