Welcome to Geeklog, Anonymous Tuesday, May 21 2024 @ 01:05 am EDT

Geeklog Forums

Installation Error


Toma

Anonymous
What am I doing wrong.
I placed the public_html into www/directory.
Then I placed everything else into another directory in the webserver called etc

I get the following error:


Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /etc/peter/config.php
Please check this path and try again.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, so is your config.php in that path? And if so, is that directory readable by your webserver?

bye, Dirk
 Quote

Toma

Anonymous
Yes, my config.php is there.

I will try moving the folder into www/directory!

I have installed numerous programs like this one before.
This one seems to give me a lot of run-around.
 Quote

Toma

Anonymous
I moved the folder to my root directory.
I still got the same error.

I even tried merging all the folders together in my root directory; yet the same problem occurs like this:

Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /www/config.php
Please check this path and try again.



Can I manually install mysql -- How?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog will need the config.php once you have it up and running, so doing the install manually won't help you.

Please tell us some more about your paths, your settings in config.php and the "hint" that the install script displayed on the first page. Without that information, it's next to impossible helping you ...

bye, Dirk
 Quote

Toma

Anonymous
Here is what I did:

1) I placed the contents of public_html/directory into my websever www/directory
2) I placed everything else into a folder called man
3) I configured config.php and lib-common as follows:




The following section is from my config.php


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

$_DB_host = 'mysql.gagotech.com'; // host name or IP address of your DB server
$_DB_name = 'gagot001'; // name of your database,
// must exist before running the installer!
$_DB_user = 'gagot001'; // MySQL user name
$_DB_pass = 'myrealpassword'; // 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'] = '/www/man/'; // 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'] = '/www/';


// +---------------------------------------------------------------------------+
// | (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.gagotech.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'] . '/admin';

// This is the return address for all email sent by Geeklog:
$_CONF['site_mail'] = 'naijaspin#hotmail.com';

$_CONF['site_name'] = 'gagotech';
$_CONF['site_slogan'] = 'Technologies';

// ****************************************************************************
// * 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.*
// ****************************************************************************





The following section is from my lib-common.php


/**
* Turn this on go get various debug messages from the code in this library
* @global Boolean $_COM_VERBOSE
*/

$_COM_VERBOSE = false;

/**
* 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( 'wwwm/man/config.php' );





Since I am doing new install, I had the following:

Installation Type: New Database
Path to Geeklog: /www/man/config.php

The following is the hint given:


Hint: The complete path to this file is /export/web20/alpha/gagot001/www/admin/install/install.php



Then, I will get this error:

Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /www/man/config.php
Please check this path and try again.
 Quote

Toma

Anonymous
I corrected a typo; the correct thin in my lib-common.php is as follows:


/**
* Turn this on go get various debug messages from the code in this library
* @global Boolean $_COM_VERBOSE
*/

$_COM_VERBOSE = false;

/**
* 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( 'www/man/config.php' );
 Quote

Tamo

Anonymous
Where are you Dirk?

The preceding typo is from typing into this forum, not in my lib-common.

I am still waiting for you to tell me why i get the error message.

Thanks Dirk.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try using the complete path as displayed in the "hint", i.e.

$_CONF['path'] = '/export/web20/alpha/gagot001/www/man/';

$_CONF['path_html'] = '/export/web20/alpha/gagot001/www/';

And for lib-common.php:

require_once('/export/web20/alpha/gagot001/www/man/config.php');

If that works, you may want to move the "man" directory one level up, so that it is not in the web root (you would only need to adjust $_CONF['path'] and the require_once without having to run the install script again). config.php and the other files in there shouldn't be accessible from the web.

bye, Dirk
 Quote

Tamo

Anonymous
Thanks Dirk!

I tried that, and I got this error:

Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /export/web20/alpha/gagot001/www/admin/install/install.php
Please check this path and try again.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, so assuming the paths are correct, what about the file and directory permissions? Are the files/directories owned by the user that is running the webserver? Does the webserver have read access to the directory the config.php is in and to the config.php itself?

bye, Dirk
 Quote

Toma

Anonymous
Thanks Dirk.

Sorry for my taking too long to reply; I had to go do something for my wife.

Yes, I have full permission to all in the site; it belongs to me. In fact, I have three hosting account with the same company.


Here is a link to the site:

http://www.eugotech.com
 Quote

Toma

Anonymous
Dirk, thanks for all your help!

Notice something from the error message:

Geeklog Installation - Error
Geeklog could not find config.php in the path you just entered: /export/web20/alpha/gagot001/www/admin/install/install.php
Please check this path and try again.



Why is the program looking for config.php in admin/install/ ?

I thought the config.php is located in another folder seperate from the public_html .

Does this has something to do with my problems?
In other words, should I place a copy of config.php into
admin/install/ ?

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No, leave config.php where it is.

The install script is looking for the config.php in the path you entered in the install script. Obviously, it can't know where it is until you tell it the path to that file. Once the install script has found the config.php, it will use the paths from that file.

So, in the install script, enter the same path again that you already used to set $_CONF['path'].

bye, Dirk
 Quote

Status: offline

manuba

Forum User
Newbie
Registered: 02/13/04
Posts: 5
Dirk,

This is Toma. I have registered here as manuba.
Thanks for all your help.

I am trying something right now. I should know the result in a few minutes.

But send me an email to: naijaspin@hotmail.com
I have something to talk to you about.
 Quote

Status: offline

manuba

Forum User
Newbie
Registered: 02/13/04
Posts: 5
Dirk,

I have made a successful installtion and would like to share what really helped me if you do not mind.

I could not have done it without your insightful suggestions though.

Thanks Dirk.
 Quote

Ed Newt

Anonymous
Manuba, please share with all of us what the secret is. Many of us still suffer path-ing issues.
 Quote

Status: offline

manuba

Forum User
Newbie
Registered: 02/13/04
Posts: 5
Here is the tutorial that I used in conjunction with Dirk's insights (http://forum3.midphasetalk.com/showthread.php?p=2485#post2485):


Topic: How to install geeklog to your midphase account


What is geeklog: (pasted from http://www.squatty.com)

Geeklog (or GL) is a 'blog', otherwise known as a Weblog. It allows you to create your own virtual community area, complete with user administration, story posting, messaging, comments, polls, calendar, weblinks, and more! It can run on many different operating systems, and uses PHP4 and MySQL.

Official site: http://www.geeklog.NET

Attractive features: (in my opinion)

1. Very simple to setup (now that you have my tutorial below Wink, simple to administer and use
2. No need to be a master of php scripting. A basic knowledge of html helps.
3. You can have a discussion forum, photo gallery, file management system (upload/download), shoutbox and more and everything is simple to plugin and control. You need FTP only for uploading new modules and themes, entire site control is done using just your browser.

Examples of geeklogged sites hosted on midphase:

http://jadiepoo.com/pics/index.php
http://www.pgtek.com
http://www.teluguvaariki.com


Assumptions:

1. Your computer's OS is Windows.

2. You have a FTP client that can CHMOD folders. Example: smartFTP (free).

3. You have winrar. Its free, get it from http://www.rarsoft.com.

4. We are about to install geeklog to a site whose URL is: http://www.yoursite.com. And your midphase account name is "joey".


Steps:

1. Install a FTP client and winrar if you dont have one already.

2. Download the latest version of geeklog from http://www.geeklog.net. At the time of writing, you would get Geeklog 1.3.8-1 from http://www.geeklog.net/filemgmt/singlefile.php?lid=202.

3. You should see that the downloaded file, geeklog-1.3.8-1.tar.gz.tar is associated with winrar. Open the rar file and extract the contents to any folder on your local harddisk.

4. Upload all the files in public_html folder to the corresponding folder in your midphase account via the FTP client. Go one level up in the directory structure in the FTP, create a folder named 'geeklog' and upload the remaining folders and files in there.

5. Set CHMOD 777 to each of the following folders and all the files within:

public_html/backend/,

public_html/images/articles,

public_html/images/userphotos,

geeklog/logs/.

6. Go into your cpanel, create a database, create a user and give rights for that user to the database. These would be the values you are going to need in the 8th step.

7. Go to http://www.yoursite.com/admin/install/install.php.
Note the path shown at the bottom of that page. Lets assume it is: /home/joey/public_html/admin/install/install.php.

8. In config.php,

change the values for $_DB_name, $_DB_user, $_DB_pass. Leave the $_DB_host as is.

set $_CONF['path'] to: /home/joey/geeklog/
set $_CONF['path_html'] to: /home/joey/public_html/

set $_CONF['site_url'] to: http://www.yoursite.com
set $_CONF['site_mail'] to: admin@yoursite.com [Note: you can give any e-mail address here]
set $_CONF['site_name'] and $_CONF['site_slogan']

Save the file and close it.

9. Open up lib-common.php in notepad, set require_once() like so:

require_once( '/home/joey/geeklog/config.php' );

Save the file and close it.

10. In the FTP, delete public_html/lib-common.php, geeklog/config.php.
Upload lib-common.php from your HD to public_html, upload config.php to geeklog.

Make sure the folder permissons of step 5 are intact.

11. Switch to http://www.yoursite.com/admin/install/install.php in your browser [Note: Using opera gave me weird results, so I suggest you use IE].

Enter this for the path to geeklog and press 'next': /home/joey/geeklog

12. Proceed w/ the rest of the installation...pretty straight forward.

=====================================

Should you have any questions or feel any information in here is incorrect or could be better, reply to this post.

trigger_my_passion,

September 10, 2003.

To the moderators of this forum: It will be cool if theres a section titled something like "How I did it" where the users can contribute to their stories of how they have installed or setup something on their midphase accounts. If you do create one such, pls move this there.



 Quote

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