Welcome to Geeklog, Anonymous Sunday, November 27 2022 @ 11:48 pm EST

Geeklog Forums

path errors


Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
I'm still getting the error:

Template Error: set_root: /home/content/w/h/e/wheels/html/site2/layout/professional is not a directory.
Halted.

I'm not sure I'm doing this correctly. I'll post what I did.

in config:

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/content/w/h/e/wheels/html/site2/'; // 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/content/w/h/e/wheels/html/';
$_CONF['path_html'] = $_CONF['path'] . '';


in libcommon:

* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/
require_once( '/home/content/w/h/e/wheels/html/site2/config.php' );


 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by wheelsofterror:/home/content/w/h/e/wheelsot/html/sitev2/layout/professional is not a directory.

$_CONF['path'] = '/home/content/w/h/e/wheels/html/site2/'; // should end in a
The bold bits don't match. Is that the problem?
 Quote

Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
No. Sorry, I edited the paste to hide actual info. I fixed the paste in my post but still need help.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by wheelsofterror: // $_CONF['path_html'] = '/home/content/w/h/e/wheels/html/';
$_CONF['path_html'] = $_CONF['path'] . '';

Note that the first of these two lines is commented out, so it's using the second line. And the second line is identical to saying that 'path' and 'path_html' are the same, which should never be the case.

So, uncomment the first line (assuming it has the correct path) and remove the second.

bye, Dirk
 Quote

Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
Yes fixed it. Got the front page up but now there's no graphics or bgs. *sigh* What now?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You should know about our lovely FAQ by now Wink

Read the FAQ The images don't load
 Quote

Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
still no go..probably wrong spot again?

// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = '/home/content/w/h/e/wheelsot/html/';
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That's a path, not a URL. And unless you changes the name of the "admin" directory, you don't even need to touch that variable and leave it at

$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';

bye, Dirk
 Quote

Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
you pointed me to the faq which said:

The images don't load
If the installation script went through successfully but the site then comes up without the images (i.e. you see the browser's "broken image" icon instead of Geeklog's images) then the URL for your site is not correct.

Make sure you changed $_CONF['site_url'] such that it points to the directory where Geeklog's index.php (and lib-common.php) file resides.




I have admin in the root dir...so what should I try now?

I tried http://www.wheelsofterror.com too.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Actually, looking at your site, the paths for the images are correct. It appears the images were corrupted. You had some upload problems earlier - seems like the images were also affected.

For example, http://www.wheelsofterror.com/layout/professional/images/logo.png gives me a "The image “...” cannot be displayed, because it contains errors." message in Firefox. So the path is correct (or you have gotten a 404), but the image is defective.

bye, Dirk
 Quote

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