Welcome to Geeklog, Anonymous Saturday, June 03 2023 @ 01:46 am EDT
Geeklog Forums
config.php help
JoeFamiliar
Anonymous
i am installing on a linux server
i have www/_private/geeklog/ for my config.php
and www/user/weblog/ for lib-common.php (public_html)
here is my code problem:
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/content/c/h/i/chide/html/_private/geeklog/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'user/weblog/';
i get this error:
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver is not a directory.
Halted.
can Geeklog be installed in other than root (public_html) folder? and if it can, what am i doing wrong?
i hope i have given enough info. thanks.
i have www/_private/geeklog/ for my config.php
and www/user/weblog/ for lib-common.php (public_html)
here is my code problem:
// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/content/c/h/i/chide/html/_private/geeklog/'; // should end in a slash
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'user/weblog/';
i get this error:
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver is not a directory.
Halted.
can Geeklog be installed in other than root (public_html) folder? and if it can, what am i doing wrong?
i hope i have given enough info. thanks.
4
4
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by JoeFamiliar:
i get this error:
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver is not a directory.
Halted.
is this the proper directory structure for your themes? or not?i get this error:
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver is not a directory.
Halted.
without seeing what you've set your $_CONF['path_layout'] to, I would suggest that you've an error in your $_CONF['path_html']. I would think that your html path is 'user/weblog/' without the $_CONF['path']...
that, or you are missing the XSilver directory.
hope that helps. just ask yourself, "is the path/directory in the error a proper path/directory?"
5
5
Quote
JoeFamiliar
Anonymous
i followed the instructions on the website:
Basically, a Geeklog installation consists of two parts: The part that is visible "to the world" - which is everything in the public_html directory. "public_html" is a popular name for the world-accessible directory that can be found on a webserver ("htdocs" and "www" are other popular names). So if you have such a directory, just copy everything from Geeklog's public_html directory into that directory on your webserver. Then you only need to set up $_CONF['path_html'] (in config.php) to point to that directory.
/home/content/c/h/i/chide/html/user/weblog/
The other part of Geeklog, which is everything outside the public_html directory, should not be accessible via a URL since it contains sensitive information. So you should really put those files and directories outside of your document root (i.e. outside the web server's public_html, htdocs, or www directory). Then you only need to set up $_CONF['path'] (again, in config.php) to point to the place where you put those files and directories.
/home/content/c/h/i/chide/html/_private/geeklog/
/user/ directory is on the same level as /_private/ directory
/home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver
is invalid
/home/content/c/h/i/chide/html/user/weblog/layout/XSilver
is valid
it seems to me that whatever is in
$_CONF['path_html'] = $_CONF['path'] . 'user/weblog/';
gets tacked on the end of
$_CONF['path'] = '/home/content/c/h/i/chide/html/_private/geeklog/';
if i put 'home/content/c/h/i/chide/html/user/weblog' in $_CONF['path_html'] i would get
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/home/content/c/h/i/chide/html/user/weblog/layout/XSilver is not a directory.
Halted.
does the html folder (/user/weblog) have to reside in a subdirectory under /geeklog/ ?
Basically, a Geeklog installation consists of two parts: The part that is visible "to the world" - which is everything in the public_html directory. "public_html" is a popular name for the world-accessible directory that can be found on a webserver ("htdocs" and "www" are other popular names). So if you have such a directory, just copy everything from Geeklog's public_html directory into that directory on your webserver. Then you only need to set up $_CONF['path_html'] (in config.php) to point to that directory.
/home/content/c/h/i/chide/html/user/weblog/
The other part of Geeklog, which is everything outside the public_html directory, should not be accessible via a URL since it contains sensitive information. So you should really put those files and directories outside of your document root (i.e. outside the web server's public_html, htdocs, or www directory). Then you only need to set up $_CONF['path'] (again, in config.php) to point to the place where you put those files and directories.
/home/content/c/h/i/chide/html/_private/geeklog/
/user/ directory is on the same level as /_private/ directory
/home/content/c/h/i/chide/html/_private/geeklog/user/weblog/layout/XSilver
is invalid
/home/content/c/h/i/chide/html/user/weblog/layout/XSilver
is valid
it seems to me that whatever is in
$_CONF['path_html'] = $_CONF['path'] . 'user/weblog/';
gets tacked on the end of
$_CONF['path'] = '/home/content/c/h/i/chide/html/_private/geeklog/';
if i put 'home/content/c/h/i/chide/html/user/weblog' in $_CONF['path_html'] i would get
Template Error: set_root: /home/content/c/h/i/chide/html/_private/geeklog/home/content/c/h/i/chide/html/user/weblog/layout/XSilver is not a directory.
Halted.
does the html folder (/user/weblog) have to reside in a subdirectory under /geeklog/ ?
4
6
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by JoeFamiliar:
does the html folder (/user/weblog) have to reside in a subdirectory under /geeklog/ ?
no it doesn't, but you have to modify your paths to accomodate.does the html folder (/user/weblog) have to reside in a subdirectory under /geeklog/ ?
try changing
$_CONF['path_html'] = $_CONF['path'] . 'user/weblog/';
to
$_CONF['path_html'] = '/home/content/c/h/i/chide/html/user/weblog/';
and leave
$_CONF['path'] = '/home/content/c/h/i/chide/html/_private/geeklog/';
as it is.
this should work if, as you say, the 'user' dir is on the same level with the '_private' dir. otherwise, according to the script's normal action, the html path is going to be tacked on to the geeklog path.
5
7
Quote
Status: offline
dinsdale
Forum User
Newbie
Registered: 01/04/05
Posts: 7
Your config.php file in the latest geeklog tarball is bunged up and needs to be corrected.
Here's what it looks like:
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
As you can see, there's a little extra bit in the active line that's effectively concatenating the two variables' contents.
Shame on you!!!!!
Here's what it looks like:
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
As you can see, there's a little extra bit in the active line that's effectively concatenating the two variables' contents.
Shame on you!!!!!
6
5
Quote
mach
Anonymous
nothing new here... it looks to function the way it is supposed to, i.e., the path variable plus the public_html dir, thus concencantenationing...
or did i misunderstand you?
7
8
Quote
All times are EDT. The time is now 01:46 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content