WarBlade
Legacy Member
Hoi,
Ik zou graag een File Explorer installeren van http://www.lesterchan.net, maar ik krijg steeds een "Invalid Directory" error...
De live-demo: http://www.lesterchan.net/files/
Meer info: http://lesterchan.net/others/downloads.php (de tweede download onder "Scripts")
Ik volg bovenstaande richtlijnen, maar toch werkt het niet...
Ik heb de te uploaden bestanden (van het script) ge-upload naar: www.mijnwebsite.be/explorer
De map met bestanden (die ik graag wil laten zien in FE): www.mijnwebsite.be/explorer/explore
Dus:
Ik hoop dat er iemand aan uit kan...
Ik zou graag een File Explorer installeren van http://www.lesterchan.net, maar ik krijg steeds een "Invalid Directory" error...
De live-demo: http://www.lesterchan.net/files/
Meer info: http://lesterchan.net/others/downloads.php (de tweede download onder "Scripts")
Code:
-> Installation Instructions
------------------------------------------------------------------
// Open config.php
Find:
------------------------------------------------------------------
$root_directory = '';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$root_directory = '/home/user/public_html/files';
The Absolute Path Of The Folder That You Want To Show It's Contents (Without Trailing Slash)
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$root_url = '';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$root_url = 'http://www.yoursite.com/files';
The URL To That Folder (Without Trailing Slash)
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$gfe_directory = '';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$gfe_directory = '/home/user/public_html/gfe';
The Absolute Path Of The Folder You Uploaded The Files Of GaMerZ File Explorer (Without Trailing Slash)
Note: You Can Upload GaMerZ File Explorer Into The Same Folder As The Contents That You Want To Show.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$gfe_url = '';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$gfe_url = 'http://www.yoursite.com/gfe';
The URL That Folder (Without Trailing Slash)
Note: You Can Upload GaMerZ File Explorer Into The Same Folder As The Contents That You Want To Show.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$site_name = 'GaMerZ File Explorer';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$site_name = 'Your Site File Explorer';
Your Site Name
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$root_filename = 'index.php';
------------------------------------------------------------------
Note: You Do Not Need To Change This.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$nice_url = false;
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Example Nice URL: http://www.yoursite.com/gfe/browse/folder1/
Example Normal URL: http://www.yoursite.com/gfe/index.php?dir=folder1
If You Want To Use 'Nice URL', Set It To 'true' Instead Of 'false' And Do The Following:
1. Upload '.htaccess' To The Folder Where You Uploaded GaMerZ File Explorer.
2. Open up '.htaccess' And Replace All References Of '/files/' To The Folder Path After Your Domain Name Of $gfe_url.
For Example: $gfe_url = 'http://www.yoursite.com/gfe';
Your Should Replace '/files/' To '/gfe/'
Drop Me An Email If You Are Not Sure About It.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$can_search = true;
------------------------------------------------------------------
Note:
------------------------------------------------------------------
By setting This To 'true', You Allow Users To Search For Files In GaMerZ File Explorer.
It Is Best To Set It To 'false' If You Are On A High Traffic Site.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$default_sort_by = 'date';
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Default Sort Field. Values Can Be 'name', 'size', 'type' or 'date'.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$default_sort_order = 'desc';
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Default Sort Order. Values Can Be 'asc' or 'desc'.
------------------------------------------------------------------
// Upload These Files To The Directory You Specified In $gfe_directory
Put:
------------------------------------------------------------------
Folder: resources
File: config.php
File: functions.php
File: index.php
File: search.php
File: settings.php
File: view.php
------------------------------------------------------------------
Ik volg bovenstaande richtlijnen, maar toch werkt het niet...
Ik heb de te uploaden bestanden (van het script) ge-upload naar: www.mijnwebsite.be/explorer
De map met bestanden (die ik graag wil laten zien in FE): www.mijnwebsite.be/explorer/explore
Dus:
Code:
-> Installation Instructions
------------------------------------------------------------------
// Open config.php
Find:
------------------------------------------------------------------
$root_directory = '[COLOR="Red"]/explore[/COLOR]';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$root_directory = '/home/user/public_html/files';
The Absolute Path Of The Folder That You Want To Show It's Contents (Without Trailing Slash)
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$root_url = 'http://www.mijnwebsite.be/explorer/explore';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$root_url = 'http://www.yoursite.com/files';
The URL To That Folder (Without Trailing Slash)
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$gfe_directory = '[COLOR="Red"]/explorer[/COLOR]';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$gfe_directory = '/home/user/public_html/gfe';
The Absolute Path Of The Folder You Uploaded The Files Of GaMerZ File Explorer (Without Trailing Slash)
Note: You Can Upload GaMerZ File Explorer Into The Same Folder As The Contents That You Want To Show.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$gfe_url = 'http://www.mijnwebsite.be/explorer';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$gfe_url = 'http://www.yoursite.com/gfe';
The URL That Folder (Without Trailing Slash)
Note: You Can Upload GaMerZ File Explorer Into The Same Folder As The Contents That You Want To Show.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$site_name = 'GaMerZ File Explorer';
------------------------------------------------------------------
Example Replace:
------------------------------------------------------------------
$site_name = 'Your Site File Explorer';
Your Site Name
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$root_filename = 'index.php';
------------------------------------------------------------------
Note: You Do Not Need To Change This.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$nice_url = false;
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Example Nice URL: http://www.yoursite.com/gfe/browse/folder1/
Example Normal URL: http://www.yoursite.com/gfe/index.php?dir=folder1
If You Want To Use 'Nice URL', Set It To 'true' Instead Of 'false' And Do The Following:
1. Upload '.htaccess' To The Folder Where You Uploaded GaMerZ File Explorer.
2. Open up '.htaccess' And Replace All References Of '/files/' To The Folder Path After Your Domain Name Of $gfe_url.
For Example: $gfe_url = 'http://www.yoursite.com/gfe';
Your Should Replace '/files/' To '/gfe/'
Drop Me An Email If You Are Not Sure About It.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$can_search = true;
------------------------------------------------------------------
Note:
------------------------------------------------------------------
By setting This To 'true', You Allow Users To Search For Files In GaMerZ File Explorer.
It Is Best To Set It To 'false' If You Are On A High Traffic Site.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$default_sort_by = 'date';
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Default Sort Field. Values Can Be 'name', 'size', 'type' or 'date'.
------------------------------------------------------------------
Find:
------------------------------------------------------------------
$default_sort_order = 'desc';
------------------------------------------------------------------
Note:
------------------------------------------------------------------
Default Sort Order. Values Can Be 'asc' or 'desc'.
------------------------------------------------------------------
// Upload These Files To The Directory You Specified In $gfe_directory
Put:
------------------------------------------------------------------
Folder: resources
File: config.php
File: functions.php
File: index.php
File: search.php
File: settings.php
File: view.php
------------------------------------------------------------------
Ik hoop dat er iemand aan uit kan...

