Welcome to Geeklog, Anonymous Wednesday, August 10 2022 @ 06:26 am EDT

Geeklog Forums

more installation problems

Page navigation


Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Could you copy your config.php line 1-125 into here again without password and database settings visible? There should be no double // at all.
 Quote

New to php

Anonymous
As requested. Is the problem in the last 4 lines ?? - not that I've got a clue, but it seems as if this may be wrong/need altering (as everything outside root is in 'idhsgb.com/web'

:banghead: :banghead:

Text Formatted Code
<?php

/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
// | Geeklog 1.4                                                               |
// +---------------------------------------------------------------------------+
// | config.php                                                                |
// |                                                                           |
// | Geeklog configuration file.                                               |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2001-2006 by the following authors:                         |
// |                                                                           |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com                           |
// |          Dirk Haun  - dirk AT haun-online DOT de                          |
// +---------------------------------------------------------------------------+
// |                                                                           |
// | This program is free software; you can redistribute it and/or             |
// | modify it under the terms of the GNU General Public License               |
// | as published by the Free Software Foundation; either version 2            |
// | of the License, or (at your option) any later version.                    |
// |                                                                           |
// | This program is distributed in the hope that it will be useful,           |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of            |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
// | GNU General Public License for more details.                              |
// |                                                                           |
// | You should have received a copy of the GNU General Public License         |
// | along with this program; if not, write to the Free Software Foundation,   |
// | Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.           |
// |                                                                           |
// +---------------------------------------------------------------------------+
// | See the docs/install.html and docs/config.html files for more information |
// | on configuration.                                                         |
// +---------------------------------------------------------------------------+
//
// $Id: config.php,v 1.240 2006/12/30 17:43:18 dhaun Exp $

// When setting up Geeklog for the first time, you need to make sure the
// settings in the following 3 sections are correct:
// (1) Database Settings
// (2) Paths
// (3) Site Settings
// You can adjust the other settings once your site is up and running.

// +---------------------------------------------------------------------------+
// | (1) Database Settings                                                     |
// +---------------------------------------------------------------------------+

$_DB_host         = 'localhost';   // host name or IP address of your DB server
$_DB_name         = '******';     // name of your database,
                                   // must exist before running the installer!
$_DB_user         = '******';    // MySQL user name
$_DB_pass         = '******';    // MySQL password

// The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_';         // e.g. 'gl_'


// +---------------------------------------------------------------------------+
// | (2) Paths                                                                 |
// +---------------------------------------------------------------------------+

// 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/users/uks59246/html/'; // should end in a slash
$_CONF['path']            =  '/home/users/uks59246/html/';

// 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/users/uks59246/html/idhsgb.com/web/';
$_CONF['path_html']         = '/home/users/uks59246/html/idhsgb.com/web/';


// +---------------------------------------------------------------------------+
// | (3) Site Settings                                                         |
// +---------------------------------------------------------------------------+

// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url']          = 'http://www.idhsgb.com/web';

// 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']    = $_CONF['site_url'] . '/admin';

// This is the return address for all email sent by Geeklog and contact info
// displayed in syndication feeds:
$_CONF['site_mail']         = 'admin@idhsgb.com';

// Name and slogan of your site
$_CONF['site_name']         = 'Irish Draught Horse Society (GB)';
$_CONF['site_slogan']       = 'Out of your Dreams.....Into your Life';


// ****************************************************************************
// * If you set up Geeklog for the first time, you shouldn't need to change   *
// * anything below this line. Come back here once the site is up and running.*
// ****************************************************************************


// Note: See the file docs/config.html for more information on the settings.

// +---------------------------------------------------------------------------+
// | OTHER PATH SETTINGS                                                       |
// |                                                                           |
// | All paths must have a trailing slash ('/').                               |
// +---------------------------------------------------------------------------+

// 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/';
[b]// If you set path_images to something other than the default, you will need to
// make sure that you add the following subdirectories to that directory:
// articles/, userphotos/
$_CONF['path_images']   = $_CONF['path_html'] . '/home/users/uks59246/html/idhsgb.com/web/images/';[/b]
 
 Quote

New to php

Anonymous
The and in the last four lines above is where I tried to make it bold !!!!!!!!!!!! :doh:
 Quote

New to php

Anonymous
happy
Big Grin Big Grin Big Grin YIPPPEEEEE !!! It's now installed - while I was waiting for a response I tried changing line 124 to what I thought it should be -- must be learning something here, it worked. That was also where the 2nd trailing (leading?) / was as well LOL LOL

Many, MANY thanks for all the help guys, its very appreciated. No doubt my next problem will be in the plug-ins forum !!!
:banana: :banana: :banana:

[code]$_CONF['path_images'] = $_CONF['path_html'] . '/home/users/uks59246/html/idhsgb.com/web/images/';
-changed it back to
$_CONF['path_images'] = images/';[/b]

 Quote

New to php

Anonymous
Oooops, just in case this confuses anyone else, I changed it back to ;
$_CONF['path_images'] = $_CONF['path_html'] . 'images/'
:banana: :banana:
 Quote

Page navigation

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