Welcome to Geeklog, Anonymous Wednesday, December 04 2024 @ 01:13 pm EST

Geeklog Forums

Don't read if you're tired of installation path questions


Anonymous

Anonymous
I have been struggling trying to understand my path problem for over a week and I could use some help. Here is the background. Please let me know if I can provide some more information to figure this one out.Per my hosting company, the absolute path to my web pages is /home/virtual/site208/fst/var/www/html and the first page on the installation tells me that the install.php file is located here: /home/virtual/site208/fst/var/www/html/myadmin/install/install.php My config.php is stored in the directory “above” html so my guess is that the path to the config.php would be: /home/virtual/sit208/fst/var/www/ and this is what “path” should be set to in the lib-common.php file which currently reads: require_once( '/home/virtual/sit208/fst/var/www /config.php' ); On page one of the install, when it asks for the “ Path to geeklog”, what is that referring to? If it is asking where the HTML is stored I would think that should enter: /home/virtual/site208/fst/var/www/html If it is asking where the config.php is stored, then I think I should enter /home/virtual/site208/fst/var/www In either instance above I still get an error message that “Geeklog could not find config.php in the path you just entered” In case I have a permissions problem, Here's my dirinfo on what it think is /home/virtual/site208/fst/var/www -rw-r--r-- 1 olwigb olwigb 34 Sep 23 02:49 CHANGELOG -rw-r--r-- 1 olwigb olwigb 141 Sep 23 02:49 INSTALL drwxr-xr-x 2 olwigb olwigb 4096 Sep 23 02:49 backups -rwxr-xr-x 1 olwigb olwigb 19145 Sep 28 18:47 config.php drwxr-xr-x 3 olwigb olwigb 4096 Sep 23 02:49 docs -rw-r--r-- 1 olwigb olwigb 408 Sep 23 02:49 emailgeeklogstories drwxr-xr-x 2 olwigb olwigb 4096 Sep 23 02:48 etc drwxr-xr-x 2 olwigb olwigb 4096 Sep 23 02:48 include drwxr-xr-x 3 olwigb olwigb 4096 Sep 23 02:48 language -rw-r--r-- 1 olwigb olwigb 135050 Sep 28 18:14 lib-common.php drwxr-xr-x 2 olwigb olwigb 4096 Sep 28 15:52 logs drw-r--r-- 2 olwigb olwigb 4096 Sep 23 02:48 logsbak lrwxrwxrwx 1 olwigb olwigb 21 Sep 19 03:07 mainwebsite_cgi -> ../../var/www/cgi-bin lrwxrwxrwx 1 olwigb olwigb 18 Sep 19 03:07 mainwebsite_html -> ../../var/www/html lrwxrwxrwx 1 olwigb olwigb 18 Sep 19 03:07 mainwebsite_perl -> ../../var/www/perl drwxr-xr-x 2 olwigb olwigb 4096 Sep 22 00:19 mainwebsite_php drwxr--r-- 11 olwigb olwigb 4096 Sep 22 03:47 olwig drwxr-xr-x 3 olwigb olwigb 4096 Sep 23 02:48 plugins -rw-r--r-- 1 olwigb olwigb 3974 Sep 23 02:49 readme drwxr-xr-x 3 olwigb olwigb 4096 Sep 23 02:48 sql drwxr-xr-x 5 olwigb olwigb 4096 Sep 23 02:48 system Here’s the dirinfo for what I think is my web pages directory /home/virtual/site208/fst/var/www/html -rw-r--r-- 1 olwigb olwigb 246 Sep 28 18:07 404.php drwx------ 2 olwigb olwigb 4096 Sep 19 03:08 _private drwxr-xr-x 4 olwigb olwigb 4096 Sep 19 03:08 _vti_bin drwxr-xr-x 2 olwigb olwigb 4096 Sep 28 08:04 _vti_cnf -rw-r--r-- 1 olwigb olwigb 1754 Sep 19 03:08 _vti_inf.html drwxr-xr-x 2 olwigb olwigb 4096 Sep 19 03:08 _vti_log drwxr-xr-x 3 olwigb olwigb 4096 Sep 28 08:04 _vti_pvt drwxr-xr-x 2 olwigb olwigb 4096 Sep 19 03:08 _vti_txt -rw-r--r-- 1 olwigb olwigb 8687 Sep 28 18:07 article.php drwxr-xr-x 2 olwigb olwigb 4096 Sep 28 18:07 backend -rw-r--r-- 1 olwigb olwigb 36457 Sep 28 18:07 calendar.php -rw-r--r-- 1 olwigb olwigb 24977 Sep 28 18:07 calendar_event.php -rw-r--r-- 1 olwigb olwigb 15388 Sep 28 18:07 comment.php drwxr-xr-x 2 olwigb olwigb 4096 Sep 28 18:07 help drwxr-xr-x 9 olwigb olwigb 4096 Sep 28 18:07 images -rw-r--r-- 1 olwigb olwigb 350 Sep 28 18:07 index.html -rw-r--r-- 1 olwigb olwigb 7804 Sep 28 18:07 index.php -rw-r--r-- 1 olwigb olwigb 87 Sep 28 18:07 info.php drwxr-xr-x 9 olwigb olwigb 4096 Sep 28 18:07 layout -rw-r--r-- 1 olwigb olwigb 135050 Sep 28 18:18 lib-common.php -rw-r--r-- 1 olwigb olwigb 8790 Sep 28 18:07 links.php drwxr-xr-x 4 olwigb olwigb 4096 Sep 28 18:07 myadmin drwxr-xr-x 8 olwigb olwigb 4096 Sep 28 18:01 olwig.familynotepad.com -rw-r--r-- 1 olwigb olwigb 21905 Sep 28 18:07 plugins.php -rw-r--r-- 1 olwigb olwigb 7215 Sep 28 18:07 pollbooth.php -rw-r--r-- 1 olwigb olwigb 2695 Sep 28 18:07 portal.php -rw-r--r-- 1 olwigb olwigb 2454 Sep 19 03:08 postinfo.html -rw-r--r-- 1 olwigb olwigb 11043 Sep 28 18:07 profiles.php -rw-r--r-- 1 olwigb olwigb 30528 Sep 28 18:07 search.php drwxr-xr-x 3 olwigb olwigb 4096 Sep 28 18:07 staticpages -rw-r--r-- 1 olwigb olwigb 10399 Sep 28 18:07 stats.php -rw-r--r-- 1 olwigb olwigb 27154 Sep 28 18:07 submit.php -rw-r--r-- 1 olwigb olwigb 28865 Sep 28 18:07 users.php -rw-r--r-- 1 olwigb olwigb 26341 Sep 28 18:07 usersettings.php My config.php file contains: $_CONF['path'] = "/home/virtual/site208/fst/var/www/'; // you only need to change this if you moved or renamed the public_html directory $_CONF['path_html'] = $_CONF['path'] . 'html/'; // you shouldn't need to edit the following $_CONF['path_system'] = $_CONF['path'] . 'system/'; $_CONF['path_log'] = $_CONF['path'] . 'logs/'; $_CONF['path_language'] = $_CONF['path'] . 'language/'; $_CONF['rdf_file'] = $_CONF['path_html'] . 'backend/geeklog.rdf'; $_CONF['backup_path'] = $_CONF['path'] . 'backups/'; I'm not sure of the CHMOD commands discussed in the installation directions.I do not have telnet access so I can only use FTP. If you have managed to read this far--thanks for your interest and help. Best Regards, Bob
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Your paths look okay, as far as I can tell. When the installation script asks for the "path to Geeklog" it refers to the path where the config.php resides (I guess we should make that more clear). When the installation script complains that it "could not find config.php in the path you just entered", then it did a file_exists() on config.php in that path and was told that no such file exists. This function does not provide an error code, so it's possible that there is a problem with the access rights here. Suggestion: Create a directory "geeklog" in your www directory and move config.php and all the other Geeklog files which are NOT in your html directory into that new directory. Set the permissions for that directory to 775, adjust $_CONF['path'] to point to that directory and try again (which also means that you have to enter that new path in the install script). Oh, and you would have to adjust $_CONF['path_html'] so that it contains the absolute path to your html directory (not just the relative path), i.e. $_CONF['path'] = '/home/virtual/site208/fst/var/www/geeklog/'; $_CONF['path_html'] = '/home/virtual/site208/fst/var/www/html/'; Hope that helps. bye, Dirk
 Quote

Status: offline

keystone

Forum User
Chatty
Registered: 09/21/02
Posts: 50
Dirk, I do appreciate the help. I made your suggestions and (I used /olwig/ instead of /geeklog/) I haven't had much luck. I thought it was a permissions problem so I went through every file using my my WS_FTE program and made all of them read write execute for owner group & other. I really think that I'm not referring to the absolute location of the config.php file correctly. I'm assuming that my absolute path to my html files is correct: /home/virtual/site208/fst/var/www/html/ which is "equivalent" to /home/olwigb/mainwebsite_html/ From this, I'm deducing that a directory called olwig in /home/olwigb/olwig/ has an absolute reference as /home/virtual/site208/fst/var/www/olwig/ Is this correct? I may be getting out of the bounds of this discussion so forgive me. Best Regards, Bob
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You shouldn't need to change the permissions for any files other than the ones listed in the installation instructions. I don't know how your hosting service configured their webserver, so I can't assure you that your "deducted" paths are correct, but they sound sensible. So it might be worth a try. Another thing you could try out (if the above doesn't work) would be to move the "geeklog" (or "olwig"Wink directory, that now contains the config.php, into your html directory (adjusting the paths in config.php accordingly). This is not an ideal solution, of course, and if it works, you should restrict web access to that directory by using a .htaccess file with the appropriate restrictions. bye, Dirk
 Quote

Status: offline

richschmidt

Forum User
Junior
Registered: 11/12/02
Posts: 32
Location:Valparaiso, Indiana
I am having the exact same problem! Even down to the paths being similar. (Any chance you're hosted on AventureMedia / XMB Hosting?) Bob (or anyone) -- have you figured out how to fix this? Thanks, Rich
 Quote

Status: offline

richschmidt

Forum User
Junior
Registered: 11/12/02
Posts: 32
Location:Valparaiso, Indiana
Dang! I figured it out (I think). I had to change the permissions on my directory that was below the html level. The directory in which I'd installed the geeklog-1.3.6 directory. But doesn't that make me much less secure??? Oh well! The site is working...
 Quote

Anonymous

Anonymous
I feel as if I'm on the edge of success. I finally after a few months(I know you geeks can't believe that one but true for this wanna be geek)made it to step one. YES.. finally.. a page that says step one. It asks for a PATH. I'm unsure what my path is so I tried to one suggested. It provides this error message. Any help would so much be appreciated. thanks nanvr@attbi.com Geeklog Installation - Error Geeklog could not find config.php in the path you just entered: http://quarterbacks.biz/admin/install/install.php. Please check this path and try again.
 Quote

All times are EST. The time is now 01:13 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