Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:48 pm EST

Geeklog Forums

path problem


cinkcool

Anonymous
Im using geeklog-1.4.0b1, and im having a problem with paths. My problem is listed under 'Common Problems', its the

Template Error: set_root: /home/cinkcool/geeklog/layout/professional is not a directory.
Halted.

My web root dir path is /home/cinkcool/public_html/

I've tried setting $_CONF['path'] . '/public_html/' to everything i could think of, including leaving it blank, and i still get the same message. Also, when doing an install check, i get the same problem...

Testing backend directory /home/cinkcool/geeklog/backend/

Its substitutiing 'geeklog' for 'public_html' and im not sure why or where that setting is located. I'll keep poking around but hopefully someone here can help...

Thanks
 Quote

cinkcool

Anonymous
One other thing...

Substituting is the wrong word, that example was merley copied from when $_CONF['path'] . '' was empty. When it look like $_CONF['path'] . '/public_html/', the error message is then

Testing backend directory /home/cinkcool/geeklog/public_html/backend/.
 Quote

cinkcool

Anonymous
Fixed. I was digging through past forum posts and eventually found the solution, changing

$_CONF['path_html'] = $_CONF['path'] . 'public_html/';

to simply

$_CONF['path_html'] = '/home/cinkcool/public_html/';

I recommend this to be put into the FAQ as this seems to cause problems. Thanks
 Quote

cinkcool

Anonymous
Nevermind it is...

Still, a mention should be made in the common problems section.

Ill try to leave you guys alone now...
 Quote

ldfoo

Anonymous
Hi

It is a bit tricky for a new user - good to see you worked it out.

I agree it seems better if the default is changed in config.php

from
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';

to
$_CONF['path_html'] = '/path/to/public_html/';
 Quote

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