anyone know php?
Feb. 4th, 2006 01:44 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I am trying to put a non-mySQL chat room on my website. I am getting the following error:
Fatal error: The xajax uncompressed Javascript file could not be found in the ../../../../ome/.ira/eclecticfan/archives.kimlys.com/kimlysplace/phpfreechat-0.3/data/public/xajax_js folder. Error in /home/.ira/eclecticfan/archives.kimlys.com/kimlysplace/phpfreechat-0.3/lib/xajax_0.2_stable/xajax.inc.php on line 557
I think I'm having a folder reference problem as I have my permissions set correctly.
this is the 'instructions' from the xajax.inc.php file:
// $sJsURI is the relative address of the folder where xajax has been installed.
// For instance, if your PHP file is "http://www.myserver.com/myfolder/mypage.php"
// and xajax was installed in "http://www.myserver.com/anotherfolder", then
// $sJsURI should be set to "../anotherfolder". Defaults to assuming xajax is in
// the same folder as your PHP file.
// $sJsFile is the relative folder/file pair of the xajax Javascript engine located
// within the xajax installation folder. Defaults to xajax_js/xajax.js.
// usage:
// <head>
// ...
// < ?php $xajax->printJavascript(); ? >
function printJavascript($sJsURI="", $sJsFile=NULL, $sJsFullFilename=NULL)
{
print $this->getJavascript($sJsURI, $sJsFile, $sJsFullFilename);
}
// getJavascript() returns the xajax javascript code that should be added to
// your HTML page between the <head> </head> tags. See printJavascript()
// for information about the function arguments.
// usage:
// < ?php $xajaxJSHead = $xajax->getJavascript(); ? >
// <head>
// ...
// < ?php echo $xajaxJSHead; ? >
function getJavascript($sJsURI="", $sJsFile=NULL, $sJsFullFilename=NULL)
anyone have suggestions?