Jump to content
xisto Community
Sign in to follow this  
iGuest

Help - Not Sure if its a cpanel Problem or not

Recommended Posts

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://forums.xisto.com/no_longer_exists/ to: http://forums.xisto.com/no_longer_exists/ . This occurs on line 37 on mainfile.php in my editor. IT WAS:


   // XOOPS Virtual Path (URL)    // Virtual path to your main XOOPS directory WITHOUT trailing slash/*line 37*/ define('XOOPS_URL', '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://forums.xisto.com/no_longer_exists/ >>>>> get index page http://forums.xisto.com/no_longer_exists/ >>>>> get index page http://forums.xisto.com/no_longer_exists/index.html >>>>> get index page http://forums.xisto.com/no_longer_exists/ >>>>> get fire page However, when I try to call xoops through: http://forums.xisto.com/no_longer_exists/ or http://forums.xisto.com/no_longer_exists/ 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://forums.xisto.com/no_longer_exists/ I GET: http://forums.xisto.com/no_longer_exists/could not be found. (FireFox) I am at the bottom of the learning curve in php. Assistance would be greatly appreciated. Thanks, Pete 8)


Share this post


Link to post
Share on other sites

Because the IP address is a shared IP address for Cpanel or what ever just use your current domain for MI hosting. As that IP is pointing to Cpanel and not your proper workspace!
 



Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.