1
dnprossi
help lost site...
  • 2009/1/27 16:26

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Help...

Xoops 2.3.2b upgraded. Working fine. and now cant get in anywhere.

I now get:

* @author Skalpa Keo  * @author Taiwen Jiang * @version $Idindex.php 1988 2008-08-30 10:34:38Z phppp $ */ /** * redirects to installation, if XOOPS is not installed yet **/ include "mainfile.php"//check if start page is defined if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) { // Temporary solution for start page redirection define("XOOPS_STARTPAGE_REDIRECTED", 1); global $xoopsModuleConfig; $module_handler =& xoops_gethandler('module'); $xoopsModule =& $module_handler->getByDirname($xoopsConfig['startpage']); if (!$xoopsModule || !$xoopsModule->getVar('isactive')) { include_once XOOPS_ROOT_PATH . "/header.php"; echo " " . _MODULENOEXIST . " "; include_once XOOPS_ROOT_PATH . "/footer.php"; exit(); } $moduleperm_handler =& xoops_gethandler('groupperm'); if ($xoopsUser) { if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) { redirect_header(XOOPS_URL, 1, _NOPERM, false); exit(); } $xoopsUserIsAdmin = $xoopsUser->isAdmin($xoopsModule->getVar('mid')); } else { if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), XOOPS_GROUP_ANONYMOUS)) { redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); exit(); } } if ($xoopsModule->getVar('hasconfig') == 1 || $xoopsModule->getVar('hascomments') == 1 || $xoopsModule->getVar( 'hasnotification' ) == 1) { $xoopsModuleConfig = $config_handler->getConfigsByCat(0, $xoopsModule->getVar('mid')); } chdir( 'modules/' . $xoopsConfig['startpage'] . '/' ); xoops_loadLanguage('main', $xoopsModule->getVar('dirname', 'n')); $parsed = parse_url(XOOPS_URL); $url = isset($parsed['scheme']) ? $parsed['scheme'].'://' : 'http://'; if ( isset( $parsed['host'] ) ) { $url .= $parsed['host']; if ( isset( $parsed['port'] ) ) { $url .= ':' . $parsed['port']; } } else { $url .= $_SERVER['HTTP_HOST']; } $_SERVER['REQUEST_URI'] = substr(XOOPS_URL, strlen($url)) . '/modules/' . $xoopsConfig['startpage'] . '/index.php'; include XOOPS_ROOT_PATH . '/modules/' . $xoopsConfig['startpage'] . '/index.php'; exit(); } else { $xoopsOption['show_cblock'] =1; include "header.php"; include "footer.php"; } ?>


and can't do anything...

The site is:
ARAL

Any Idea... Has it been hacked... Does not seem from logs but can be mistaken.

Please help.

2
cadelite
Re: help lost site...
  • 2009/1/27 16:41

  • cadelite

  • Just popping in

  • Posts: 86

  • Since: 2008/1/15


What are the PHP versions supported in your hosting company? Both PHP 4 and 5? Please list the full configuration of your hosting machine.

Please also list the steps you performed your upgrade? What version of XOOPS did you upgrade from? 2.0.x or 2.2.x or others?

3
McDonald
Re: help lost site...
  • 2009/1/27 16:46

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Did you overwrite your mainfile.php during the upgrade?

If so, try to restore the file mainfile.php from your backup (you made one, did you?).

4
dnprossi
Re: help lost site...
  • 2009/1/27 17:03

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Thanks guys,

Found out..

Database busted on hosting provider... They will restore...

Thanks to all

Login

Who's Online

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


Members: 0


Guests: 252


more...

Donat-O-Meter

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

Latest GitHub Commits