Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:27 am EDT

Geeklog Forums

Help define config.php


CDC

Anonymous
I am new to PHP, but trying...

i have installed the files and created the db but i get this error: http://www.bamsedyr.dk

I have setup the path in config.php :
$_CONF['path'] = '/STORE/bamsedyr_dk/'; // should end in a slash

Is there a way to check the path...
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
You also need to fix the path in your /STORE/bamsedyr_dk/lib-common.php file.
 Quote

CDC

Anonymous
Thanks, now i have a new error:

Parse error: parse error in /STORE/bamsedyr_dk/public_html/lib-common.php on line 4210

Fatal error: Call to undefined function: plg_showcenterblock() in /STORE/bamsedyr_dk/public_html/index.php on line 67
 Quote


Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

CDC

Anonymous
Thank you. Big Grin
 Quote

CDC

Anonymous
In admin: "The password is password" I got a new error:

Warning: main(): Unable to access ../config.php in /STORE/bamsedyr_dk/public_html/lib-common.php on line 69

Warning: main(../config.php): failed to open stream: No such file or directory in /STORE/bamsedyr_dk/public_html/lib-common.php on line 69

Fatal error: main(): Failed opening required '../config.php' (include_path='.:/usr/local/lib/php') in /STORE/bamsedyr_dk/public_html/lib-common.php on line 69
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Always use absolute paths (i.e. the complete path name, starting at the root of the file system). "../config.php" is a relative path.

bye, Dirk
 Quote

vegeta9870

Anonymous
What he means is the WebServer directory to config.php(ex: "mysite's" config file is located at this position to the webserver: /data/mysite/geeklog/config.php) Not located in the http://mysite.com/config.php
 Quote

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