Welcome to Geeklog, Anonymous Friday, May 03 2024 @ 05:33 pm EDT

Geeklog Forums

Install gl_blocks doesn't exist problem


Status: offline

frisco3

Forum User
Junior
Registered: 02/06/04
Posts: 23
Location:Burlington Vermont
confused
I have been trying to install GL for two days now...need some help.

First, I am a total newb at this...no php, sql, or cms experience. I have read all the posts I could find regarding these issues and have not found an answer.

I am using Win XP. I am uploading to a Unix server.

The error on check.php is
1146: Table 'iburlington_com_-_geeklog.gl_blocks' doesn't exist


The install has not been run successfully, and I'm trying to figure out why. Currently, I am getting a
Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /home/virtual/site177/fst/home/gl/config.php
Please check this path and try again.


I then run check.php and get the first message above.

Before the Geeklog installation error, I was receiving a permissions error, and cleared it up by changing the permissions on config.php to 777 (this was not an instruction in the 'Installing Geeklog' doc btw).

I created a database called 'iburlington_com_-_geeklog'. My webhost instructed to not use 'localhost', but to use 127.0.0.1 instead.

I changed the 'admin' folder to 'myadmin' per instructions because my host (top web solutions) uses 'admin' as a default for their stuff.

I uploaded all the files using leechftp, and also changed permissions using this program. I was sure to change permissions not only on the folders, but the docs inside the folders as well.

The public_html files were loaded into my website's public folder simply called html. The non-public_html files were loaded into a folder labelled 'gl' three tiers above my html folder. In other words:
html_public= /home/virtual/site177/fst/var/www/html/
non-html_public= /home/virtual/site177/fst/home/gl/


My webhost does not allow me to create a folder one step up from the html folder, but I could go three steps up as you can see. Could this be a source of my problems?

Finally, I have changed the config.php and lib-common.php files as follows:

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

$_DB_host = '127.0.0.1'; // host name or IP address of your DB server
$_DB_name = 'iburlington_com_-_geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'iburlington'; // MySQL user name
$_DB_pass = 'MYPASSWORD'; // MySQL password

// The table prefix is prepended to each table used be 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/virtual/site177/fst/home/gl/'; // 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'] = '/path/to/your/public_html/';
$_CONF['path_html'] = '/home/virtual/site177/fst/var/www/html/';


// +---------------------------------------------------------------------------+
// | (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.iburlington.com';

// 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'] . '/myadmin';

// This is the return address for all email sent by Geeklog:
$_CONF['site_mail'] = 'design@pajamamarket.com';

$_CONF['site_name'] = 'iBurlington';
$_CONF['site_slogan'] = 'Burlington Vermont Community Website';


/**
* Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/

require_once( '/home/virtual/site177/fst/home/gl/config.php' );


I know this is a lot to look at, but I'm really stuck and fear I'm making a really simple mistake. If someone out there can help me, please let me know. Any advice is greatly appreciated.
 Quote

Status: offline

frisco3

Forum User
Junior
Registered: 02/06/04
Posts: 23
Location:Burlington Vermont
OMG. This has been bugging me for almost three days, and just to show you how much of a newb I am, here's the answer to my fix...

In the installation page (domain_name/admin/install/install.php), I was giving too much information in the "Path to Geeklog" box. I was typing
/home/virtual/site177/fst/home/gl/config.php
instead of
/home/virtual/site177/fst/home/gl/
Now I realize GL only wanted the path to config, not including config.php. BTW, leaving in the trailing / didn't seem to hurt, the database was set up just fine.
 Quote

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