I am attempting to install XOOPS through fantastico on cpanel. I have yet to point the DNS to the site. To compensate for this I changed the vitual pathe from the installed: Http://www.ruidosotoday.com/xoops to:
http://216.32.75.234/~donpet/xoops . This occurs on line 37 in my editor.
IT WAS:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
/*line 37*/ define('XOOPS_URL', 'Http://www.ruidosotoday.com/xoops/~donpet/xoops');
IT IS NOW:
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
/*line 37*/ define('XOOPS_URL', 'http://216.32.75.234/~donpet/xoops');
When I call individual pages index through the IP link they appear.
http://216.32.75.234/~donpet >>>>> get index page
http://216.32.75.234/~donpet/ >>>>> get index page
http://216.32.75.234/~donpet/index.html >>>>> get index page
http://216.32.75.234/~donpet/fire.html >>>>> get fire page
However, when I try to call XOOPS through:
http://216.32.75.234/~donpet/xoops/ or
http://216.32.75.234/~donpet/xoops/index.php I GET:
Fatal error: Call to a member function on a non-object in /home/donpet/public_html/xoops/kernel/config.php on line 222
Unknown Condition []: in file line
Here's Line 222:
function &getConfigsByCat($category, $module = 0)
{
if (!empty($this->_cachedConfigs[$module][$category])) {
return $this->_cachedConfigs[$module][$category];
} else {
$ret = array();
$criteria = new CriteriaCompo(new Criteria('conf_modid', intval($module)));
if (!empty($category)) {
$criteria->add(new Criteria('conf_catid', intval($category)));
}
$configs =& $this->getConfigs($criteria, true);
if (is_array($configs)) {
foreach (array_keys($configs) as $i) {
/* Line 222 */ $ret[$configs[$i]->getVar('conf_name')] = $configs[$i]->getConfValueForOutput();
}
}
$this->_cachedConfigs[$module][$category] =& $ret;
return $ret;
}
}
When I type:
http://216.32.75.234/~donpet/xoopI GET:
http://www.localhost.localdomain could not be found. (FireFox)
I am at the bottom of the learning curve in php. Assistance would be greatly appreciated.
Thanks,
pete