Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 08:49 pm EST
Geeklog Forums
directory structure
b.raven
Anonymous
I seem to be falling down on my very first step.
On my server, I do not have a directory public_html
Am I understanding that I am to upload the CONTENTS OF the public_html folder INTO the root of my domain OR am I supposed to upload the DIRECTORY 'public_html' into the root?
The second part of the installation, everything outside the public_html directory, do I create a new DIRECTORY on my server, name it something, then place everything except the contents of public_html into IT and then edit my path on config.php accordingly? (config.php would then be INSIDE this directory whatever I call it)?
Sorry for these (probably) stupid questions and Thanks!
On my server, I do not have a directory public_html
Am I understanding that I am to upload the CONTENTS OF the public_html folder INTO the root of my domain OR am I supposed to upload the DIRECTORY 'public_html' into the root?
The second part of the installation, everything outside the public_html directory, do I create a new DIRECTORY on my server, name it something, then place everything except the contents of public_html into IT and then edit my path on config.php accordingly? (config.php would then be INSIDE this directory whatever I call it)?
Sorry for these (probably) stupid questions and Thanks!
6
6
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
If you are installing geeklog on a hosted site, you probally have a directory like htdocs that would be the target directory for your site URL. So if I placed a index.html file in that htdocs directory it would be display when I entered my sites URL - such as www.example.com.
This is your public_html directory then. The files like lib-common.php, index.php, admin diretory and layout directory - just to name a few would be located in this directory. These are public accessible files and accessed directly by a URL.
The non-public files like config.php, and directories like system, language, logs, plugins etc ... are not accessed directly by the user via a URL. The webserver needs to be able to access them but they are included in via the PATH and not a URL. So this allows you to place the config file and other system related files outside the webtree.
I hope that helps
Geeklog components by PortalParts -- www.portalparts.com
This is your public_html directory then. The files like lib-common.php, index.php, admin diretory and layout directory - just to name a few would be located in this directory. These are public accessible files and accessed directly by a URL.
The non-public files like config.php, and directories like system, language, logs, plugins etc ... are not accessed directly by the user via a URL. The webserver needs to be able to access them but they are included in via the PATH and not a URL. So this allows you to place the config file and other system related files outside the webtree.
I hope that helps
Geeklog components by PortalParts -- www.portalparts.com
6
9
Quote
b.raven
Anonymous
Very Much so!
I'll see what I can do....
Thanks!
I'll see what I can do....
Thanks!
5
8
Quote
b.raven
Anonymous
I may be out of my WEB tree: not sure 'outside the webtree' is, obviously.
Fatal error: Failed opening required '/web/sites/rav4rvn/lowcarbmania.com/config.php/system/databases/mysql.class.php' (include_path='.:/usr/local/lib/php') in /web/sites/rav4rvn/lowcarbmania.com/system/lib-database.php on line 110
Thanks for your patience!
Fatal error: Failed opening required '/web/sites/rav4rvn/lowcarbmania.com/config.php/system/databases/mysql.class.php' (include_path='.:/usr/local/lib/php') in /web/sites/rav4rvn/lowcarbmania.com/system/lib-database.php on line 110
Thanks for your patience!
5
9
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
It appears you may not have your $_CONF['path'] set correctly. I can see from the error message that you have config.php (the filename) as part of the path.
Let us know what your $_CONF[path] and $_CONF[path_html] variables are set to
Geeklog components by PortalParts -- www.portalparts.com
'/web/sites/rav4rvn/lowcarbmania.com/config.php/system/databases/mysql.class.php'
Let us know what your $_CONF[path] and $_CONF[path_html] variables are set to
Geeklog components by PortalParts -- www.portalparts.com
8
11
Quote
b.raven
Anonymous
Wow, you guys are great!
I've made changes now but before I attempt an install I'll wait to hear back from you as I had to drop the tables and clear the db to start over. Here's what i have the settings and they reflect where these directories are:
$_CONF['path'] = '/web/sites/rav4rvn/geeklog/
$_CONF['path_html' = '/web/sites/rav4rvn/lowcarbmania.com/
my fingers are crossed and I'll await your verdict.
I've made changes now but before I attempt an install I'll wait to hear back from you as I had to drop the tables and clear the db to start over. Here's what i have the settings and they reflect where these directories are:
$_CONF['path'] = '/web/sites/rav4rvn/geeklog/
$_CONF['path_html' = '/web/sites/rav4rvn/lowcarbmania.com/
my fingers are crossed and I'll await your verdict.
10
7
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Those settings look good
You should not have to re-install or anything that effects the database. Running the install.php makes any needed database changes and would generate an error if it was not able to find your site config.php. If the install script completed you can safely change your $_CONF parms afterwards. Sometimes after a site has been installed, I may re-organize the site files. All thats needed is to update the $_CONF settings.
Although, if this is a new site, there is no harm in deleting all the tables and re-installing. It's good practice to get familiar and really the only way to learn.
Many first time users can safely just restore all the files under the one site directory and they would only need to set $_CONF[path]. They could then at a later time move the non public_html files to a directory outside the public accessible area and update the $_CONF[path] and set $_CONF[path_html].
Geeklog components by PortalParts -- www.portalparts.com
You should not have to re-install or anything that effects the database. Running the install.php makes any needed database changes and would generate an error if it was not able to find your site config.php. If the install script completed you can safely change your $_CONF parms afterwards. Sometimes after a site has been installed, I may re-organize the site files. All thats needed is to update the $_CONF settings.
Although, if this is a new site, there is no harm in deleting all the tables and re-installing. It's good practice to get familiar and really the only way to learn.
Many first time users can safely just restore all the files under the one site directory and they would only need to set $_CONF[path]. They could then at a later time move the non public_html files to a directory outside the public accessible area and update the $_CONF[path] and set $_CONF[path_html].
Geeklog components by PortalParts -- www.portalparts.com
7
6
Quote
b.raven
Anonymous
thanks, Blaine!
I'm off to give it a go.
I'm off to give it a go.
8
7
Quote
b.raven
Anonymous
Fatal error: Failed opening required '/web/sites/rav4rvn/lowcarbmania.com/config.php/system/classes/timer.class.php' (include_path='.:/usr/local/lib/php') in /web/sites/rav4rvn/lowcarbmania.com/lib-common.php on line 113
hmmmmmmmm. I guess maybe these directories (backups, docs, language, logs, plugins, sql and system) should be outside the public_html but NOT inside a directory named 'geeklog' which is outside the web tree and IN which I placed the config.php. am I right? anyway, I'm not going to keep asking you to do this for me, I'll just keep at the darn thing till I make it work.
hmmmmmmmm. I guess maybe these directories (backups, docs, language, logs, plugins, sql and system) should be outside the public_html but NOT inside a directory named 'geeklog' which is outside the web tree and IN which I placed the config.php. am I right? anyway, I'm not going to keep asking you to do this for me, I'll just keep at the darn thing till I make it work.
8
6
Quote
b.raven
Anonymous
I DID IT!!!
Thank YOU!
Thank YOU!
9
7
Quote
b.raven
Anonymous
oy! that was before I looked at the plug-ins!
I'm sure I'll be back. Thanks in advance.
I'm sure I'll be back. Thanks in advance.
9
10
Quote
All times are EST. The time is now 08:49 pm.
- 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