Jump to content

Local Server Newbie Question


nev25

Recommended Posts

I'm trying to run Voodoo chat on Local server

 

Installed and when I go to chat folder I get the following message

 

We got the error

Cannot open voc.conf file, please check your DATA PATH parameter

at line 71 in the file \chat\inc_common.php

 

Think the problem is

 

line 16

$data_path = "http://localhost/voc/chat/data/";

 

Is this right for a local host

 

Can anyone see a problem with this

Link to comment
https://forums.phpfreaks.com/topic/139164-local-server-newbie-question/
Share on other sites

The setting must be the file system path to where you put the data folder. The recommendation is to put it outside of your document root folder? Where is it relative to your document root folder or where is it relative to the root of your disk drive?

OK Thanks

As I said Im a complette newbie at this and very confused LOL

Im trying to access a file in the Chat Folder that is at Q:\wamp\www\voc\chat

When I load it though Localhost I get the following message

 

We got the error

Cannot open voc.conf file, please check your DATA PATH parameter

at line 71 in the file \chat\inc_common.php

 

Line 70 and 71 is

if (!($conf_content = implode("",file($data_path."voc.conf")))) {

trigger_error("1000\tCannot open voc.conf file, please check your DATA PATH parameter",E_USER_ERROR);

}

 

 

I assume it trying to call up the String data_path."voc.conf

 

Currently is

 

$data_path = "/voc/chat/";

 

What should it be

 

 

Thanks in advance

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.