All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: Invalid Directory - Can anyone help :(  (Read 18514 times)

0 Members and 1 Guest are viewing this topic.

Offline core

  • Newbie
  • *
  • Posts: 5
    • View Profile
Invalid Directory - Can anyone help :(
« on: 14 March 2008, 11:57 »
Hi,

first: Nice Tool :)

i get alwas the Invalid Directory Error







Quote

### The Absolute Path Of The Folder That You Want To Show It's

Contents (Without Trailing Slash)
// Example: /home/user/public_html/files
$root_directory = '/www/gfe/files';

### The URL To That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/files
$root_url = 'http://xxx.kilu.de/gfe/files';

### The Absolute Path Of The Folder You Uploaded The Files Of

GaMerZ File Explorer (Without Trailing Slash)
// Example: /www/gfe
$gfe_directory = '/www/gfe';

### The URL That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/gfe
$gfe_url = 'http://xxx.kilu.de/gfe';

### Your Site Name
$site_name = 'GaMerZ.File.Explorer';

### Root File Name
$root_filename = 'index.php';

### Enable The Use Of Nice URL (Requires Apache To Have

mod_rewrite Enabled)
// true: Enable | false: Disable
$nice_url = false;

### Enable Searching Of Files (Please Disable This If You Are On

A High Traffic Site)
// true: Enable | false: Disable
$can_search = true;

### Default Sort Field
// name | size | type | date
$default_sort_by = 'date';

### Default Sort Order
// asc | desc
$default_sort_order = 'desc';
?>

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #1 on: 14 March 2008, 12:29 »
are you sure /www/gfe/files is the full absolute path to GFE?

From what I see, it is not, it is just the path you can see starts from /www

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline core

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #2 on: 14 March 2008, 12:42 »
i think so.. if i login to the server i get this structure. do i need php?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #3 on: 14 March 2008, 12:53 »
yes create a file called phpinfo.php and then inside the content put
Code: [Select]
<?php phpinfo(); ?> and pass me the url to that file.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline core

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #4 on: 14 March 2008, 13:12 »
did you get my pn?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #5 on: 14 March 2008, 17:41 »
i will check it

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline core

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #6 on: 15 March 2008, 00:15 »
now i found out a longer path

Quote
### The Absolute Path Of The Folder That You Want To Show It's Contents

(Without Trailing Slash)
// Example: /home/user/public_html/files
$root_directory ='/var/www/users/xxx/files';

### The URL To That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/files
$root_url = 'http://www.xxx.kilu.de/files';

### The Absolute Path Of The Folder You Uploaded The Files Of GaMerZ File

Explorer (Without Trailing Slash)
// Example: /www/gfe
$gfe_directory = '/var/www/users/xxx/files/gfe';

### The URL That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/gfe
$gfe_url = 'http://www.xxx.kilu.de/files/gfe';

..but still error

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #7 on: 15 March 2008, 14:33 »
Can u do the instructions on Reply #3 then PM me your site http://URL/phpinfo.php

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline core

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #8 on: 15 March 2008, 17:41 »
done

Offline hantts

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #9 on: 14 November 2008, 03:35 »
HI GaMerZ:

I am sorry to disturb you.

My OS is win2003, I used xampp running PHP, wordpress,  and so on.

I also appeared in the wrong, I would like to ask about how to solve?

Annex I of the LocalHost information.

thanks. ;D
« Last Edit: 14 November 2008, 04:40 by GaMerZ »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #10 on: 14 November 2008, 04:41 »
Paste your config here

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline hantts

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #11 on: 15 November 2008, 14:57 »
 Here are my running phpinfo.php, results. But a little more.  ;D

 http://www.hanpoong.co.kr/images/sub_0.png

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #12 on: 15 November 2008, 15:50 »
I am talking about the config.php for GFE as well.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline hantts

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #13 on: 19 November 2008, 02:37 »
sorry, I understand it wrong.
PLS see below:

$root_directory = 'D:/Program%20Files/xampp/htdocs/GaMerZFileExplorer';

$root_url = 'http://localhost/gfe';

$gfe_directory = 'D:/Program%20Files/xampp/htdocs/gfe';

$gfe_url = 'http://localhost/gfe';

$site_name = 'GaMerZ.File.Explorer';

$root_filename = 'index.php';

$nice_url = true;

$can_search = true;

$default_sort_by = 'date';

$default_sort_order = 'desc';

PS: My site root dir is "D:\Program Files\xampp\htdocs"

thanks.
« Last Edit: 19 November 2008, 05:35 by GaMerZ »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #14 on: 19 November 2008, 05:35 »
Your folder name in $root_directory ends with GaMerZFileExplorer and your folder name in $root_url ends with gfe? They should match!

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline hantts

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #15 on: 24 November 2008, 12:52 »
Thanks your reply. Your help, I finally made it.

But I can't use "$nice_url = true;" mode, I do something :

1. i see http://forums.lesterchan.net/index.php?topic=2707.0 ,and add "<IfModule mod_rewrite.c>......</IfModule>
" into apache\conf\httpd.conf file;
2. find "#LoadModule rewrite_module modules/mod_rewrite.so" in httpd.conf and del "#";
3. "AllowOverride None" to replace "AllowOverride All" in httpd.conf;

but can't running apache.

// Example: /home/user/public_html/files
$root_directory = 'D:/Program Files/xampp/htdocs';

### The URL To That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/files
$root_url = 'http://localhost';

### The Absolute Path Of The Folder You Uploaded The Files Of GaMerZ File

Explorer (Without Trailing Slash)
// Example: /home/user/public_html/gfe
$gfe_directory = 'D:/Program Files/xampp/htdocs/gfe';

### The URL That Folder (Without Trailing Slash)
// Example: http://www.yoursite.com/gfe
$gfe_url = 'http://localhost/gfe';

### Your Site Name
$site_name = 'GaMerZ.File.Explorer';

### Root File Name
$root_filename = 'index.php';

### Enable The Use Of Nice URL (Requires Apache To Have mod_rewrite Enabled)
// true: Enable | false: Disable
$nice_url = false;

### Enable Searching Of Files (Please Disable This If You Are On A High

Traffic Site)
// true: Enable | false: Disable
$can_search = true;

### Default Sort Field
// name | size | type | date
$default_sort_by = 'date';

### Default Sort Order
// asc | desc
$default_sort_order = 'desc';
« Last Edit: 24 November 2008, 12:54 by GaMerZ »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #16 on: 24 November 2008, 12:55 »
if you cant use it to true, then set it false. You need to have some knowledge of htaccess rewriting if you want to set it to true.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline hantts

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Invalid Directory - Can anyone help :(
« Reply #17 on: 25 November 2008, 08:46 »
To remind you of, I have already done a number of actions:

1.   Enable Apache's  mod_rewrite;

2.   Modified "$ nice_url = true;";

3.   open "gfe\.htaccess" and modify:

begin:
# BEGIN GFE
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /files/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sortby/(.+[^/])/sortorder/(.+[^/])/?$ /files/index.php?by=$1&order=$2 [QSA,L]
RewriteRule ^browse/(.+[^/])/sortby/(.+[^/])/sortorder/(.+[^/])/?$ /files/index.php?dir=$1&by=$2&order=$3 [QSA,L]
RewriteRule ^browse/(.+[^/])/?$ /files/index.php?dir=$1 [QSA,L]
RewriteRule ^viewing/(.+[^/])/?$ /files/view.php?file=$1 [QSA,L]
RewriteRule ^download/(.+[^/])/?$ /files/view.php?file=$1&dl=1 [QSA,L]
</IfModule>
# END GFE

end:
# BEGIN GFE
<IfModule Mod_rewrite.c>
RewriteEngine On
RewriteBase / gfe /
RewriteCond% (REQUEST_FILENAME)!-F
RewriteCond% (REQUEST_FILENAME)!-D
RewriteRule ^ sortby /(.+[^/])/ sortorder /(.+[^/])/?$ / gfe / index.php? By = $ 1 & order = $ 2 [QSA, L]
RewriteRule ^ browse /(.+[^/])/ sortby /(.+[^/])/ sortorder /(.+[^/])/?$ / gfe / index.php? Dir = $ 1 & by = $ 2 & order = $ 3 [QSA, L]
RewriteRule ^ browse /(.+[^/])/?$ / gfe / index.php? Dir = $ 1 [QSA, L]
RewriteRule ^ viewing /(.+[^/])/?$ / gfe / view.php? File = $ 1 [QSA, L]
RewriteRule ^ download /(.+[^/])/?$ / gfe / view.php? File = $ 1 & dl = 1 [QSA, L]
</ IfModule>
# END GFE

ps:
My platform is win2003 :
  + Apache 2.2.9
  + MySQL 5.0.67 (Community Server)
  + PHP 5.2.6 + PHP 4.4.9 + PEAR
  + PHP-Switch win32 1.0 (use "php-switch.bat" in the xampp main directory)
  + XAMPP Control Version 2.5 from www.nat32.com   
  + XAMPP Security 1.0   
  + SQLite 2.8.15
  + OpenSSL 0.9.8i
  + phpMyAdmin 2.11.9.2
  + ADOdb 4.990
  + Mercury Mail Transport System v4.52
  + FileZilla FTP Server 0.9.27
  + Webalizer 2.01-10
  + Zend Optimizer 3.3.0
  + eAccelerator 0.9.5.3 f黵 PHP 5.2.6 (but not activated in the php.ini)


I was lucky, she finally had to work.
Thank you for providing such a useful tool, the same would also like to thank you for their selfless help.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: Invalid Directory - Can anyone help :(
« Reply #18 on: 25 November 2008, 10:17 »
I did not really help much, credits go to you for figuring out the nice permalinks =)

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.