Jump to content

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

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.