1
basil
Site no longer displaying - HELP????????
  • 2008/1/15 6:07

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


Hi

I manage a site (http://www.maranoa.org.au/xoops/) and today I noticed the site was displaying just a white page.

Can anyone suggest a troubleshooting path to return the site to being active. I haven't done anything much to the site in a while - most changes require moderation.

Are there any logs to view what may have gone wrong with it.

I can access it via the user.php page.

All your suggestions will be welcome.

Basil

2
stefan88
Re: Site no longer displaying - HELP????????
  • 2008/1/15 6:32

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

as you can login, go to the admin and enable PHPDebug mode...

Go back to page and look for Warnings and Fatal Errors (ignore notices if any)...
..

3
BlueStocking
Re: Site no longer displaying - HELP????????

Basil,
It appears your index.php file in your root/xoops sub-directory has been damaged.

I looked at it just now and it doesn't have any code - just zero bytes.

Everything else is visible on your site to me after entering in via the user area.

See if you have a backup copy of the index.php that came from the http //www.maranoa.org.au/xoops/ not any other directory.

<?php
// $Id: index.php 2 2005-11-02 18:23:29Z skalpa $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <https://xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
/**
 * Catch new users and redirect them to the start page, if any
 * @copyright © 2000 xoops.org
 **/
 
/**
 * 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'] != "--" ) {
    
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
    exit();
} else {
    
$xoopsOption['show_cblock'] =1;
    include 
"header.php";
    include 
"footer.php";
}
?>


IF not then use notepad and copy the code into it and save as index.php and upload it to your XOOPS sub-directory. That may get you back in business.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

4
basil
Re: Site no longer displaying - HELP????????
  • 2008/1/15 10:00

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


Thanks Blue Stocking
I uploaded a new index.php file to /xoops directory, with the code shown in your post.
The file had permissions of 644. In fact the file on the server had the code in it.
I used shift+refresh, yet it still doesn't appear.
I also used debug mode as stefan88 suggested - no major errors there.

Thoughts??

Basil

5
stefan88
Re: Site no longer displaying - HELP????????
  • 2008/1/15 10:11

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

you may try to clear the template_c folder (delete all files except index.html) and maybe cache folder too.

Also try to disable all blocks for Top Page and enable them one by one while checking the page to see if there is a problem with some of them.
..

6
basil
Re: Site no longer displaying - HELP????????
  • 2008/1/15 10:32

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


The template_c folder looks promising.
The files (over 400) have odd names - %%00^009^00945393%%db%3Asystem_block_notification.html.php

When I try to delete using filexilla ftp - I get an error.
550 /var/www/html/xoops/templates_c/%%7B^7BE^7BE7ACC8%%db%3Axcgal_footer.html.php: Forbidden command argument

How can I get around that??

Basil

7
Shine
Re: Site no longer displaying - HELP????????
  • 2008/1/15 13:05

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Those files in cachedir are normal.
I see it concerns only the index of your homepage. If I do:
http://www.maranoa.org.au/xoops/register.php
I get on your website and surf around (except for the home!)

What are your settings concerning blocks visibility etc?
And try to upload xoopscore again (except mainfile and uploads) update your admin/system and see what happens.

8
Shine
Re: Site no longer displaying - HELP????????
  • 2008/1/15 13:06

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Ow btw: I see you are using
XoopsGallery v1.3.3.6

See the vulnerability mesg here in news about this module and version!

9
stefan88
Re: Site no longer displaying - HELP????????
  • 2008/1/15 13:42

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

as Shine pointed, the filenames are OK.

But the fact you can't delete a file is not so. Check the permitions for the file (CHMOD).


Maybe in your hosting control panel you have File Manager ...
..

Login

Who's Online

210 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits