Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:59 pm EST

Geeklog Forums

Installation problem: Template Error: set_root: install_templates is not a directory


Fossy

Anonymous
Hello:

When I try to install Geeklog, I have this error:

Template Error: set_root: install_templates is not a directory
Halted.

I have check and recheck all paths and all that I have read in this forum. I can guarantee that ALL my paths are OK.

I have installed other two Geeklog systems and I never had problems. I have check the config.php and lib-common.php of my others Geeklog and is identical to the files of new installation (only changes a word of path because both are installed in different directory obviously).

Why I have this error in this installation?.

The other two Geeklog was installed in my server few months ago.

Thanks.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
So do you have a system/install_templates directory?

Also make sure you entered the path correctly during the installation. Unless you removed something from the error message, it should actually mention a path in there ...

bye, Dirk
 Quote

Fossy

Anonymous
Thanks for your reply...

Yes, I have a system/install_templates directory, and inside I have one file named databasesettings.tpl.

I'm very sure that all my paths are OK. This is my paths:

/home/www/huelvaprotesta.com/ (path where resides config.php, and directories backups, data, language... and more).

/home/www/huelvaprotesta.com/html/ (path to public html pages, Apache point to this directory when any user access to www.huelvaprotesta.com) (I have renamed public_html to html)

This is my config.php:

$_CONF['path'] = '/home/www/huelvaprotesta.com/';
$_CONF['path_html'] = $_CONF['path'] . 'html/';
$_CONF['site_url'] = 'http://www.huelvaprotesta.com';
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
$_CONF['site_mail'] = 'info@huelvaprotesta.com';
$_CONF['site_name'] = 'Huelva Protesta';
$_CONF['site_slogan'] = 'Tu voz si que cuenta';

This is the line 93 of my html/lib-common.php:

require_once( '/home/www/huelvaprotesta.com/config.php' );

When I try to install, shows the first page (Geeklog Installation (Step 1 of 2)), I can see the installation options:

Installation Type: New MySQL Database
Path to Geeklog's config.php: /home/www/huelvaprotesta.com

And this is the Hint:

Hint: The complete path to this file is /home/www/huelvaprotesta.com/html/admin/install/install.php
and it appears your Path to Geeklog is /home/www/huelvaprotesta.com

Ok..., I click to Next button and....

Template Error: set_root: install_templates is not a directory.
Halted.

I guarantee to you that all my paths are OK (you can see my prior copy/paste of my files). I'm sure that this is a bug of Geeklog.

I again say that I have two Geeklog systems installed in my server from a few months ago, and I never had problems. I'm no novice in Linux and I have much experence installing web portals.

If you like, I can open a FTP account to you for check the problem.

Thanks for all!!!
 Quote

Fossy

Anonymous
SOLVED!!!!

In config.php define vars I have find this:

// you shouldn't need to edit theses['path_system'] = $_CONF['path'] . 'system/';
$_CONF['path_log'] = $_CONF['path'] . 'logs/';
$_CONF['path_language'] = $_CONF['path'] . 'language/';
$_CONF['backup_path'] = $_CONF['path'] . 'backups/';
$_CONF['path_data'] = $_CONF['path'] . 'data/';


And the correct code is:

// you shouldn't need to edit theses
$_CONF['path_system'] = $_CONF['path'] . 'system/';
$_CONF['path_log'] = $_CONF['path'] . 'logs/';
$_CONF['path_language'] = $_CONF['path'] . 'language/';
$_CONF['backup_path'] = $_CONF['path'] . 'backups/';
$_CONF['path_data'] = $_CONF['path'] . 'data/';

I don't know if the file was with comment line collapsed, but is certain that the error was not in my paths definition.

Thanks Dirk.


 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Glad to hear you figured it out.

Quote by: Fossy

I don't know if the file was with comment line collapsed, but is certain that the error was not in my paths definition.


That must have happened when you first edited the file - there certainly is a line break in the config.php at that place.

This also explains why there was no path in the error message - since it uses $_CONF['path_system'] there, which wasn't defined for you. Should have noticed that earlier ...

bye, Dirk
 Quote

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