Welcome to Geeklog, Anonymous Tuesday, October 04 2022 @ 06:53 am EDT

Geeklog Forums

What in the Heck am I doing Wrong, I know I have my path correct!!!


davidan

Anonymous
I had an older install of Geeklog 1.3.8 sr4 I think. It was working perfectly. I have attempted an upgrade the the newest release tonight, and I can't figure out my path issue, I have read multiple posts in here checked the FAQ's, etc but I still can't figure out which thing to set.

First of all I know this is my proper path where things are installed.

/home/httpd/vhosts/780bradford.com/httpdocs/

Here is the error I get
Template Error: set_root: /home/httpd/vhosts/780bradford.com/httpdocs//home/httpd/vhosts/780bradford.com/httpdocs/layout/professional is not a directory.
Halted.

so, I obviously have it duplicated someplace. Here is my config.php lines

+---------------------------------------------------------------------------+

// Note for Windows users: It's safe to use the forward slash '/' instead of
// the backslash '' in paths. Make sure each path starts with a drive letter!

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/httpd/vhosts/780bradford.com/httpdocs/'; // 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'] = '/home/httpd/vhosts/780bradford.com/httpdocs/';
$_CONF['path_html'] = $_CONF['path'] . '/home/httpd/vhosts/780bradford.com/httpdocs/';


//



What should I change, I have tried putting the config.php back to it's original location, etc. I don't have my stuff in a public_html folder. Everything is installed in httpdocs

 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
This is the idea. First you have set the $_CONF['path'] = something.

Then you set the $_CONF['path_html'] = $_CONF['path'] + something.

So the second setting become something + something. That's what you are getting.

Another problem. You put the same path for the first and second. I don't think they should be the same. The first one is asking for where your "Config.php" is loacted. And the second is looking for where you put the files that comes in the Public_html folder.

Hope this helps!

Sam
 Quote

davidan

Anonymous
Thanks very much, reading your post and drinking a fresh coke did the trick. Nothing a little caffeine can't fix for a geek Very Happy
 Quote

All times are EDT. The time is now 06:53 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