Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:13 am EST

Geeklog Forums

Installation


Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
I have tried to install the Geeklog-1.4.0sr3 in CentOS 4,3 but http://localhost/public_html/admin/install/check.php gives the following error me:
Template Error: set_root: professional is not to directory.
Halted

that I have done badly? Sad

I have guided itself by http://barnadriva.net/staticpages/index.php?page=20050828003503372
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure you're using absolute paths in your config.php

bye, Dirk
 Quote

Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
This is what appears in my error.log file

- 1146:Table ´geeklog.gl_plugins´ doesn´t exist. SQL in question:SELECT pi_name FROM gl_plugins WHERE pi_enabled = 1

Please help me Crying or Very sad
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Did you run the install script? Did it succeed? Doesn't look like it ...

bye, Dirk
 Quote

Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
It continues giving he himself error to me of before (Template Error: set_root: professional is not to directory.Halted) , I can see:

http://localhost/admin/install/install.php and
http://localhost/admin/install/chek.php

I have reviewed config.php several times and I do not see the error, I believe that the problem is in theme
------------------------------------------------------
http://localhost/admin/install/chek.php
-----------------------------------------------------
Testing your Geeklog installation ...
Testing logs directory /usr/local/geeklog/geeklog-1.4.0sr3/logs/ ...
logs directory and the error.log and access.log files are okay.

Testing backend directory /var/www/html/public_html/backend/ ...
backend directory and the geeklog.rss file are okay.

Testing userphotos directory /var/www/html/public_html/images/userphotos/ ...
userphotos directory is okay.

Testing articles directory /var/www/html/public_html/images/articles/ ...
articles directory is okay.

Testing topics directory /var/www/html/public_html/images/topics/ ...
topics directory is okay.

Testing backups directory /usr/local/geeklog/geeklog-1.4.0sr3/backups/ ...
backups directory is okay.

Testing data directory /usr/local/geeklog/geeklog-1.4.0sr3/data/ ...
data directory is okay.

Results: 7 of 7 tests performed: 7 successful, 0 failed.

Test passed
Congratulations! Your Geeklog site is set up properly and ready to go.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
config.php
--------------------------------------------------------------------------------------------------
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'root'; // MySQL user name
$_DB_pass = 'test'; // MySQL password

$_DB_table_prefix = 'gl_'; // e.g. 'gl_'

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/usr/local/geeklog/geeklog-1.4.0sr3/'; // should end in a slash

$_CONF['path_html'] = $_CONF['/var/www/html/'] . 'public_html/';

$_CONF['site_url'] = 'http://localhost';

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

$_CONF['site_mail'] = 'webmaster@mi_dominio.com';

// Name and slogan of your site
$_CONF['site_name'] = 'Geeklog Site';
$_CONF['site_slogan'] = 'Another Nifty Geeklog Site';


// 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/';

$_CONF['path_images'] = $_CONF['path_html'] . 'images/';

$_CONF['have_pear'] = false;

$_CONF['path_pear'] = $_CONF['path_system'] . 'pear/';

$_CONF['mail_settings'] = array (
'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp'

// sendmail parameters (only needed for 'backend' => 'sendmail')
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',

// SMTP parameters (only needed for 'backend' => 'smtp')
'host' => 'smtp.example.com',
'port' => '25',
'auth' => false,
'username' => 'smtp-username',
'password' => 'smtp-password'
);

$_DB_dbms = 'mysql'; // Do not change (currently, only MySQL is supported)

// optional settings for making database backups from within Geeklog
$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off

// full path to mysqldump executable (Windows users: add ".exe"!)
$_DB_mysqldump_path = '/usr/bin/mysqldump';

$_CONF['mysqldump_options'] = '-Q';

$_CONF['theme'] = 'professional'; // default theme

$_CONF['menu_elements'] = array
(
// 'home', // link to homepage
'contribute', // contribute / "submit a story" link
'calendar', // link to the site calendar
'search', // link to advanced search
'stats', // link to site stats
'directory', // link to list of past stories
// 'prefs', // link to user's preferences
'plugins' // links added by plugins, like {plg_menu_elements}
// 'custom' // for custom links (see lib-custom.php)
);

// you shouldn't need to edit the following
$_CONF['layout_url'] = $_CONF['site_url'] . '/layout/' . $_CONF['theme'];
$_CONF['path_themes'] = $_CONF['path_html'] . 'layout/';
$_CONF['path_layout'] = $_CONF['professional'] . $_CONF['theme'] . '/';

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by burjans: $_CONF['path_html'] = $_CONF['/var/www/html/'] . 'public_html/';

Change that back to what it was originally, i.e.

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

bye, Dirk
 Quote

Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
It did not give result, continues he himself error

I believe that the error is here

$_CONF['path_layout'] = $_CONF['professional'] . $_CONF['theme'] . '/';

praying it will work
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by burjans:I believe that the error is here

$_CONF['path_layout'] = $_CONF['professional'] . $_CONF['theme'] . '/';

Indeed - I missed that. Why did you even change that?

Change it back to

$_CONF['path_layout'] = $_CONF['path_themes'] . $_CONF['theme'] . '/';

bye, Dirk
 Quote

Status: offline

burjans

Forum User
Chatty
Registered: 06/03/06
Posts: 52
Location:Santiago de Cuba. Cuba
I already have I am everything, thank you very much

$_CONF['site_url'] = 'http://localhost/public_html'

Razz
 Quote

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