41
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/5 8:13

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Hi everyone!
First of all thanks for all the support! It's great to know that Xoops-support is not just a fancy name!

Quote:

stefan88 wrote:
Also check the cache folder if you have module / block cache enabled.

How exactly do I do this Stefan?

Quote:

stefan88 wrote:
Did you have set some of the SEO futures or path rewriting hacks?

As far as I know, i did NOT changed any of these settings.

-Just a sideline question:
Will setting the block to
"isactive - 0 and visible - 0"
still have any effect if I already done this for the whole module? (see your previous advise)

Thanks again!

Edwin



42
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/4 13:46

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


I am using the spotlight block, but how to disable it when I have no acces to my admin ?

Txs,

Edwin



43
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/4 12:52

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Yes, I've cleared the template_c files

About the admin acces:
usinghttp://stlucia-southafrica.com/web/admin.php , the admin page resolves, but as Im not logged in, acces is being denied whereafter I get redirected to the home page straight away.

Other suggestions?

Edwin



44
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/4 10:55

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Hi Quest,

Thanks for your reply, but this is the part where things start to look like Chinese to me.

The one thing I can definately confirm is that i did NOT have to set any path while installing Smartsection.

This is the mainfile.php:

<?php
// $Id: mainfile.dist.php 507 2006-05-26 23:39:35Z 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 //
//  ------------------------------------------------------------------------ //

if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
    
define("XOOPS_MAINFILE_INCLUDED",1);

    
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/home/stlucadm/public_html/web');
    
define('XOOPS_ROOT_PATH''/home/stlucadm/public_html/web');

    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://stlucia-southafrica.com/web');
    
define('XOOPS_URL''http://stlucia-southafrica.com/web');

    
define('XOOPS_CHECK_PATH'1);
    
// Protect against external scripts execution if safe mode is not enabled
    
if ( XOOPS_CHECK_PATH && !@ini_get('safe_mode') ) {
        if ( 
function_exists('debug_backtrace') ) {
            
$xoopsScriptPath debug_backtrace();
            if ( !
count($xoopsScriptPath) ) {
                 die(
"XOOPS path check: this file cannot be requested directly");
            }
            
$xoopsScriptPath $xoopsScriptPath[0]['file'];
        } else {
            
$xoopsScriptPath = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] :  $_SERVER['SCRIPT_FILENAME'];
        }
        if ( 
DIRECTORY_SEPARATOR != '/' ) {
            
// IIS6 may double the  chars
            
$xoopsScriptPath str_replacestrpos$xoopsScriptPath'\\') ? '\\' DIRECTORY_SEPARATOR'/'$xoopsScriptPath);
        }
        if ( 
strcasecmpsubstr($xoopsScriptPath0strlen(XOOPS_ROOT_PATH)), str_replaceDIRECTORY_SEPARATOR'/'XOOPS_ROOT_PATH)) ) {
             exit(
"XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
        }
    }

    
// Database
    // Choose the database to be used
    
define('XOOPS_DB_TYPE''mysql');

    
// Table Prefix
    // This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.
    
define('XOOPS_DB_PREFIX', [color=3300FF]XXX[/color]);

    
// Database Hostname
    // Hostname of the database server. If you are unsure, 'localhost' works in most cases.
    
define('XOOPS_DB_HOST''localhost');

    
// Database Username
    // Your database user account on the host
    
define('xxxxxxxxxxxx', [color=3300FF]XXX[/color]);

    
// Database Password
    // Password for your database user account
    
define(xxxxxxxxxxx, [color=3300FF]XXX[/color]);

    
// Database Name
    // The name of database on the host. The installer will attempt to create the database if not exist
    
define(' xxxxxxxxx', [color=3300FF]XXX[/color]);

    
// Use persistent connection? (Yes=1 No=0)
    // Default is 'Yes'. Choose 'Yes' if you are unsure.
    
define('XOOPS_DB_PCONNECT'0);

    
define('XOOPS_GROUP_ADMIN''1');
    
define('XOOPS_GROUP_USERS''2');
    
define('XOOPS_GROUP_ANONYMOUS''3');

    foreach ( array(
'GLOBALS''_SESSION''HTTP_SESSION_VARS''_GET''HTTP_GET_VARS''_POST''HTTP_POST_VARS''_COOKIE''HTTP_COOKIE_VARS''_REQUEST''_SERVER''HTTP_SERVER_VARS''_ENV''HTTP_ENV_VARS''_FILES''HTTP_POST_FILES''xoopsDB''xoopsUser''xoopsUserId''xoopsUserGroups''xoopsUserIsAdmin''xoopsConfig''xoopsOption''xoopsModule''xoopsModuleConfig''xoopsRequestUri') as $bad_global ) {
        if ( isset( 
$_REQUEST[$bad_global] ) ) {
            
header'Location: '.XOOPS_URL.'/' );
            exit();
        }
    }

    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
}
?>


Hoping you can have a look at it!

Thanks,

Edwin



45
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/4 10:41

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Hi Stefan,

I've made the change as you told me too, but still the same problem!
I've double checked PHPMyAdmin and the Smartsection isactive value is on "0" now.

This is still the error:

Fatal error: Call to a member function getCategoryPath() on a non-object in /home/stlucadm/public_html/web/modules/smartsection/class/item.php on line 446

Sooo...What's next now ?

BTW: I've requested my host if they could update PHP but that's out of the question as it is a shared hosting server.

Thanks for your tips to all of you!

Edwin



46
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/3 7:59

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Quote:

stefan88 wrote:
Hi,
To start somewhere, you may try to disable smartsection module in MySQL. That should bring back the site for your users whitout articles ...


Hi Stefan,

Thanks for your reply.
I will just give it a few more days to see if someone comes up with another idea. If not I will try to do it your way.
I'm not so clued up on MySQL, so if there's something I'm not sure about, can I get back to you ?

Thanks
Edwin



47
Edwinspie
Re: Still trying to get my blank website going again
  • 2007/1/3 7:55

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Sorry,
Forgot to mention that one:

smartsection_2.12_rc_1
Thanks for your reaction.

Edwin



48
Edwinspie
Still trying to get my blank website going again
  • 2007/1/2 11:58

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Sorry to bring this one up again but I really don't know what else to do anymore.

My website www.stlucia-southafrica.com went blank some 3 weeks ago and after putting so much effort into it, I'm with my head in my hands because nothing seems to work.

At least Im getting an error now if I call my home page:

Fatal error: Call to a member function getCategoryPath() on a non-object in /home/stlucadm/public_html/web/modules/smartsection/class/item.php on line 446


The configuration stuff:

xoops version 2.0.15
smartsection_2.12_rc_1
Operating system Linux
Kernel version 2.6.9-42.0.3.ELsmp
Apache version 1.3.36 (Unix)
PERL version 5.8.5
PHP version 5.0.4
MySQL version 4.1.21-standard
Windows XP prof
Custom template: No
7-Dana round theme
The issue: Site went completely blank while adding articles in smartsection

Is there anyone who could please help me getting my website on again?

Thanks for any assistance

Edwin



49
Edwinspie
Re: Site gone blank!
  • 2006/12/22 13:58

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Sorry that I seemed do forgot the most important info : XOOPS version 2.0.15

Could you explain in a few more words what and how I could do whatever you refer too?

Thanks

Edwin
I



50
Edwinspie
Re: Site gone blank!
  • 2006/12/22 12:35

  • Edwinspie

  • Just popping in

  • Posts: 84

  • Since: 2006/8/18


Finally got debug runnning!

This is the error if I call my home page:
Fatal error: Call to a member function getCategoryPath() on a non-object in /home/stlucadm/public_html/web/modules/smartsection/class/item.php on line 446

Looks like it has got something to do with smartsection after all .

Any Suggestions now?

Edwin




TopTop
« 1 2 3 4 (5) 6 7 8 9 »



Login

Who's Online

131 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 131


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