Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, June 19 2013 @ 10:20 AM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 Please help me out with this error
   
Anonymous: Stolidus
 09/16/07 02:54PM (Read 979 times)  



Parse error: syntax error, unexpected T_STRING in C:\geeklog\config.php on line 72

PHP Formatted Code

$_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         = 'username';    // MySQL user name
$_DB_pass         = 'password';    // 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']            = 'C:\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']         = 'C:\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://localhost';

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


I have tried everything recommended including replacing the config.php file with a fresh copy in case of corruption

Thanks for the help.

 
 Quote
Dirk
 09/16/07 03:05PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13035
PHP Formatted Code
// 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!

If you insist on using backslashes you have to duplicate every one of them

bye, Dirk

 
Profile Email Website
 Quote
Content generated in: 2.70 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content