BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

#1 08.01.2005 05:34

diffused
newbie...
Registered: 08.01.2005
Posts: 5

wiki config problem

hi there,
recently installed blogcms, but checking out the wiki functionality i got this error, any ideas on where i can start troubleshooting?

Code:

System is not configured properly - globalfunctions.php / 2.

Offline

 

#2 08.01.2005 13:30

Radek Hulán
Site Admin
From: Prague, Czech Republic
Registered: 17.03.2004
Posts: 2509
Website

Re: wiki config problem

did you do ALL procedures described in the Installation Manual?
http://blogcms.com/?item=installation-manual


--= BLOG:CMS developer =--

Offline

 

#3 09.01.2005 02:26

diffused
newbie...
Registered: 08.01.2005
Posts: 5

Re: wiki config problem

Yes
url: http://vasko.perceptionmedia.biz/

i completed all steps except for going through each individual plugin and editign options, as the installation manual says they are pre-configured?

Offline

 

#4 09.01.2005 02:32

hcgtv
BLOG:CMS PhD
From: Charlotte, NC
Registered: 09.07.2004
Posts: 234
Website

Re: wiki config problem

Check your config parameters because your news link also takes you to your articles, there seems to be something amiss.

Offline

 

#5 09.01.2005 14:39

diffused
newbie...
Registered: 08.01.2005
Posts: 5

Re: wiki config problem

this is my cfg file - withiout the db stuff:

// main BLOG:CMS directory
    $DIR_ADMIN = '/hsphere/local/home/vaskoc/vasko.perceptionmedia.biz/admin/';

    //path to media directory
    $DIR_MEDIA = '/hsphere/local/home/vaskoc/vasko.perceptionmedia.biz/media/';

    // extra skin files for imported skins
    $DIR_SKINS = '/hsphere/local/home/vaskoc/vasko.perceptionmedia.biz/skins/';

    $DIR_PLUGINS = $DIR_ADMIN . 'plugins/';
    $DIR_LANG = $DIR_ADMIN . 'language/';
    $DIR_LIBS = '/hsphere/local/home/vaskoc/vasko.perceptionmedia.biz/admin/libs/';

    //include libs

    include($DIR_LIBS . 'globalfunctions.php');
    $CONF['alertOnHeadersSent']=0;
?>



and this is my news.php file source:

$CONF = array();
$CONF['Self'] = "index.php";
include('./cfg.php');
selectSkin('news');
selector();
?>

Offline

 

#6 17.01.2005 18:29

Chris..S
BLOG:CMS Senior
Registered: 14.01.2005
Posts: 78

Re: wiki config problem

In my version of BLOG:CMS, that error fires after checking whether the $DIR_LIBS value is an accessible directory.

Code:

admin/libs/globalfunctions.php
...
#36: if (!is_dir($DIR_LIBS)) die('System is not configured properly - globalfunctions.php / 2.');

.

Wierd thing is, from the look of your cfg.php, your webserver shouldn't be able to include globalfunctions.php if $DIR_LIBS has a bad value.  I guess you could try making the $DIR_LIBS value similar to its siblings, eg. $DIR_LIBS=$DIR_ADMIN.'libs/';

Offline

 

#7 15.02.2005 17:06

pablog
newbie...
Registered: 15.02.2005
Posts: 2

Re: wiki config problem

I've recent install BLOG:CMS and I have the same problem with Wiki engine :

"System is not configured properly - globalfunctions.php / 2"

On my cfg.php, the $DIR_LIBS seems to be right ($DIR_LIBS = $DIR_ADMIN . 'libs/'wink and I've chmoded all the folders correctly. So where is the problem? is in the line "include($DIR_LIBS . 'globalfunctions.php');"?

thanks for your help

Offline

 

#8 07.04.2005 10:43

pablog
newbie...
Registered: 15.02.2005
Posts: 2

Re: wiki config problem

pablog wrote:

I've recent install BLOG:CMS and I have the same problem with Wiki engine :

"System is not configured properly - globalfunctions.php / 2"

On my cfg.php, the $DIR_LIBS seems to be right ($DIR_LIBS = $DIR_ADMIN . 'libs/'wink and I've chmoded all the folders correctly. So where is the problem? is in the line "include($DIR_LIBS . 'globalfunctions.php');"?

thanks for your help

I've found the solution by myself : when you install BLOG:CMS without an empty "cfg.php" (that's wath I did) and you make this file after the install process  with the exact text indicated in the install message, there are two important lines missing between "<?php" and " // database connection information" :

"    global $SQL_HOST,$SQL_USER,$SQL_PASSWORD,$SQL_DATABASE,$SQL_TYPE,$SQL_PREFIX;
    global $DIR_ADMIN,$DIR_MEDIA,$DIR_SKINS,$DIR_PLUGINS,$DIR_LANG,$DIR_LIBS;"

When you insert those lines the wiki engine works fine and other warning messages from the forum disappear!!

Hope tath helps

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist