nev25 Posted January 2, 2009 Share Posted January 2, 2009 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 Quote Link to comment Share on other sites More sharing options...
lokie538 Posted January 2, 2009 Share Posted January 2, 2009 Depends on what websever app your using, its probably apanche? Or are u using a package like wamp? Quote Link to comment Share on other sites More sharing options...
nev25 Posted January 2, 2009 Author Share Posted January 2, 2009 Thanks Im using WAMP Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted January 2, 2009 Share Posted January 2, 2009 A variable named $data_path, used for a configuration file, is like supposed to be a file system path and not a URL. Quote Link to comment Share on other sites More sharing options...
nev25 Posted January 2, 2009 Author Share Posted January 2, 2009 IM now confused What should it be I think Ive tried everything now Quote Link to comment Share on other sites More sharing options...
Solar Posted January 2, 2009 Share Posted January 2, 2009 Should it be? $data_path = "/voc/chat/data/"; Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted January 2, 2009 Share Posted January 2, 2009 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? Quote Link to comment Share on other sites More sharing options...
nev25 Posted January 2, 2009 Author Share Posted January 2, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.