document_root
Posted by: harvey115
Posted on: 2007-04-13 07:14:00
Hello everyone,
I am quite rusty in the php part so would really appreciate your help.
I have been trying to install this free calender script written in php (http://winged.info/project/calendar). In the installation part it tells to load the folder and do all the chmod's and after that view the file in the browser. In step 4 it mentions about the error someone might get, guess what I am that person getting this error.
It does give any hint what this variable may hold and only tells me to ask from my host, I thought it might be better to also ask the forum. So, here is the url of the script on my domain (http://www.gurunanakdarbar.org.uk/calender/). It shows me that the document root is set incorrect, so I decided to test $cal_cfg['document_root'] = ''; with inserting my http://www.domain.org.uk. but it does not likes it. What it does when I click on any date from the calender url it tries to open pages with this url(http://www.gurunanakdarbar.org.uk/home/.moppy/harvey115/gurunanakdarbar.org.uk/calender/calendar_handle.php?add=14-4-2007)
I am actually running out of ideas, and don't know what there should be entered.
Really appreciate any help thanks!