1
Anonymous
404 Errors and the like... Please help
  • 2005/1/20 20:33

  • Anonymous

  • Posts: 0

  • Since:


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/xoop

I 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

2
ackbarr
Re: 404 Errors and the like... Please help

Quote:
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

The key part of this error message is "Unknown Condition []". This is an indicator that your host is running PHP 4.3.10 with an older version of Zend Optimizer (older than 2.5.7). AFAIK the only fix is for the host to upgrade their version of Zend Optimizer.

References:
Original discussion of problem in php-bugs list
Zend Optimizer Product Page
XOOPS Faq: discussion on Unknown Condition [] error

Login

Who's Online

252 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits