Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:41 pm EST
Geeklog Forums
Help a newbee .......Please
I am new to installinging PHP scripts, but I am learning
I have downloaded and un rar'ed the files uploaded as ascii and edited the config.php as instructed, well all except for the part below that is in bold. I have tried every combination I can think of, I have included a copy of my path at the end of this post for your info.
Please help.......
// +----------------------------------------------------------------+
// | (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'] = '/path/to/geeklog/'; // 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'] = $_CONF['path'] . 'public_html/';
mywebdiary.net/backups
mywebdiary.net/docs
mywebdiary.net/language
mywebdiary.net/logs
mywebdiary.net/mail
mywebdiary.net/plugins
mywebdiary.net/public_ftp
mywebdiary.net/public_html
mywebdiary.net/sql
mywebdiary.net/system
mywebdiary.net/tmp
mywebdiary.net/www
mywebdiary.net/config.php
mywebdiary.net/emailgeeklogstories
mywebdiary.net/Index.html
mywebdiary.net/INSTALL
mywebdiary.net/readme
Yafster (
If it dont work ------Kick it )
I have downloaded and un rar'ed the files uploaded as ascii and edited the config.php as instructed, well all except for the part below that is in bold. I have tried every combination I can think of, I have included a copy of my path at the end of this post for your info.
Please help.......
// +----------------------------------------------------------------+
// | (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'] = '/path/to/geeklog/'; // 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'] = $_CONF['path'] . 'public_html/';
mywebdiary.net/backups
mywebdiary.net/docs
mywebdiary.net/language
mywebdiary.net/logs
mywebdiary.net/mail
mywebdiary.net/plugins
mywebdiary.net/public_ftp
mywebdiary.net/public_html
mywebdiary.net/sql
mywebdiary.net/system
mywebdiary.net/tmp
mywebdiary.net/www
mywebdiary.net/config.php
mywebdiary.net/emailgeeklogstories
mywebdiary.net/Index.html
mywebdiary.net/INSTALL
mywebdiary.net/readme
Yafster (
If it dont work ------Kick it )
5
7
Quote
Status: offline
vbgunz
Forum User
Full Member
Registered: 01/24/03
Posts: 169
I've personally always had problems with the following line.
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
Instead try this and see what happens...
$_CONF['path_html'] = 'public_html/';
Good luck!
Victor B. Gonzalez -
http://aeonserv.com
Text Formatted Code
// $_CONF['path_html'] = '/path/to/your/public_html/';$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
Text Formatted Code
// $_CONF['path_html'] = '/path/to/your/public_html/';$_CONF['path_html'] = 'public_html/';
Victor B. Gonzalez -
http://aeonserv.com
9
11
Quote
Status: offline
yafster
Forum User
Newbie
Registered: 11/26/03
Posts: 13
is this the correct syntax for theconfig.php and lib-common.php file and the
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'diary_diary'; // name of your database,
// must exist before running the installer!
$_DB_user = 'diary_yafster'; // MySQL user name
$_DB_pass = '**********'; // 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/diary/'; // 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'] = $_CONF['path'] . 'public_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.mywebdiary.net';
// 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'] = 'admin@mywebdiary.net';
$_CONF['site_name'] = 'My Web Diary';
$_CONF['site_slogan'] = 'Post and be Dammed';
// ****************************************************************************
// * 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.*
// ****************************************************************************
require_once ('/home/diary/config.php');
because if it is then I am completly stumped......
Yafster (
If it dont work ------Kick it )
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'diary_diary'; // name of your database,
// must exist before running the installer!
$_DB_user = 'diary_yafster'; // MySQL user name
$_DB_pass = '**********'; // 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/diary/'; // 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'] = $_CONF['path'] . 'public_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.mywebdiary.net';
// 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'] = 'admin@mywebdiary.net';
$_CONF['site_name'] = 'My Web Diary';
$_CONF['site_slogan'] = 'Post and be Dammed';
// ****************************************************************************
// * 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.*
// ****************************************************************************
require_once ('/home/diary/config.php');
because if it is then I am completly stumped......
Yafster (
If it dont work ------Kick it )
7
4
Quote
Status: offline
vbgunz
Forum User
Full Member
Registered: 01/24/03
Posts: 169
If you're on a windows installation, trying to install Geeklog onto your system you can give Aeonserv a whirl located at http://aeonserv.com. This is the quickest way to deploy geeklog on a windows system.
If you're on another system or trying to get geeklog to run on a remote server, contact me and I will see what I can do to get you up and running. Simply visit http://aeonserv.com and make contact.
I am only saying this as every host is different in so many ways. Without telling us what your paths are it would be almost impossible to validate or suggest exactly what the values should be.
Geeklog basically requires a working knowledge in regards to ftp and the knowledge of your paths when trying to install it. You also need to know for a fact your server supports PHP and the creation of a MySQL database.
Good luck!
Victor B. Gonzalez -
http://aeonserv.com
If you're on another system or trying to get geeklog to run on a remote server, contact me and I will see what I can do to get you up and running. Simply visit http://aeonserv.com and make contact.
I am only saying this as every host is different in so many ways. Without telling us what your paths are it would be almost impossible to validate or suggest exactly what the values should be.
Geeklog basically requires a working knowledge in regards to ftp and the knowledge of your paths when trying to install it. You also need to know for a fact your server supports PHP and the creation of a MySQL database.
Good luck!
Victor B. Gonzalez -
http://aeonserv.com
9
6
Quote
Status: offline
yafster
Forum User
Newbie
Registered: 11/26/03
Posts: 13
I am on a *nux server and I do have access to MySql and can create databases ( I have setup other databases for xoops, phpnuke and others ) so I do have access to that and my server does support PHP.
I am with www.page-zone.com which has pre-installed scripts on them that can be setup.
I know the instructions seem simple to follow and they are, but its the path thing that is screwing with my head. I have shell access and when I use pwd it gives me the path /home/diary .
I have put the public_html files of geeklog into my public_html dir and the other files and dir's and files into the root.
I have used ftp to try and set up the site and using the instructions in the geeklog have also tried installing through the shell. Both of which work up to the damm path statment that I am hitting my head through.
Looking through the past Q's on installation I am not alone and all I see is very quick and I may add curt replies such as " follow the instructions" "your path is wrong" not excatly what I expected in a PHP community but hey what do I know ---- nothing by the look of things if I cant follow simple instructions and dont know my path......
anyhoo enough ranting. All I ask if is there is anyone out there who has any idea apart from "read the instructions" and "your path is wrong" please let me me know how to fix this problem.......
Thanks
Yafster
Yafster (
If it dont work ------Kick it )
I am with www.page-zone.com which has pre-installed scripts on them that can be setup.
I know the instructions seem simple to follow and they are, but its the path thing that is screwing with my head. I have shell access and when I use pwd it gives me the path /home/diary .
I have put the public_html files of geeklog into my public_html dir and the other files and dir's and files into the root.
I have used ftp to try and set up the site and using the instructions in the geeklog have also tried installing through the shell. Both of which work up to the damm path statment that I am hitting my head through.
Looking through the past Q's on installation I am not alone and all I see is very quick and I may add curt replies such as " follow the instructions" "your path is wrong" not excatly what I expected in a PHP community but hey what do I know ---- nothing by the look of things if I cant follow simple instructions and dont know my path......
anyhoo enough ranting. All I ask if is there is anyone out there who has any idea apart from "read the instructions" and "your path is wrong" please let me me know how to fix this problem.......
Thanks
Yafster
Yafster (
If it dont work ------Kick it )
8
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I must have explained "the path thing" (literally) hundreds of times by now and still some people fail to understand what I tend to think is a pretty basic and simple concept. So I'm really at a loss here ...
Anyway, I'll try one more time:
Geeklog needs to know where your config.php (and the other non-public files and directories) resides. So go to the directory where you've put config.php and type pwd. What pwd returns is your "path to Geeklog".
Hope that helps.
bye, Dirk
Anyway, I'll try one more time:
Geeklog needs to know where your config.php (and the other non-public files and directories) resides. So go to the directory where you've put config.php and type pwd. What pwd returns is your "path to Geeklog".
Hope that helps.
bye, Dirk
5
7
Quote
Status: offline
yafster
Forum User
Newbie
Registered: 11/26/03
Posts: 13
Well I got that part done........ the problem was the ftp client i was using did not save any editing to the file only made a copy of the edited file in the local folder......
Oh hum .... well we all live and learn
Yafster
Yafster (
If it dont work ------Kick it )
Oh hum .... well we all live and learn
Yafster
Yafster (
If it dont work ------Kick it )
5
6
Quote
All times are EST. The time is now 02:41 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