1
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

2
Shine
Re: Still trying to get my blank website going again
  • 2007/1/2 14:04

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Which smartsection version? Or have you lately upgraded smartsection?

3
stefan88
Re: Still trying to get my blank website going again
  • 2007/1/2 14:09

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


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

4
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

5
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

6
stefan88
Re: Still trying to get my blank website going again
  • 2007/1/3 11:20

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Sure ...

In short, you will need some tool (like phpmyadmin - may be part from your hosting control panel, wizmysqladmin and so on)to edit your database, or some way to execute SQL query.
You need to change only one value. Open your XOOPS database and look for PREFIX_modules table (PREFIX is the one you chose when installing xoops). Browse the table and look in 'dirname' to find the record for smartsection. Then you need to change the value in 'isactive' field from '1' to '0' for that record.
..

7
JCDunnart
Re: Still trying to get my blank website going again
  • 2007/1/3 12:53

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


Can you still access the login page at [yoursite]/user.php? If so, login, then go to [yoursite]/admin.php and turn off any smartsection blocks. Or if smartsection is set as the module on the homepage, then change that setting.

If it doesn't help, then you'll probably have make changes directly in the database, as stefan88 suggested.

8
vaughan
Re: Still trying to get my blank website going again
  • 2007/1/3 18:10

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


i would seriously think about updating your PHP aswell.

php 5.0.4 has many well known bugs (and yes these bugs can seriously affect a previously working site), which is why PHP is now on 5.1.x

9
JCDunnart
Re: Still trying to get my blank website going again
  • 2007/1/3 18:20

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


(off-topic) Good advice, but the latest version is 5.2 - which as they said in the release announcement obsoletes previous versions

10
Quest
Re: Still trying to get my blank website going again
  • 2007/1/3 21:13

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Have you checked your mainfile.php to ensure your Physical Path and Virtual Paths are still correct?

// 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://www.stlucia-southafrica.com/web');
define('XOOPS_URL', 'http://www.stlucia-southafrica.com/web');

Was or is there any where in the Smartsection Module that required you to set either of these paths for the module? Specifically the top path-Physical Path?

Quest

Login

Who's Online

139 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 139


more...

Donat-O-Meter

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

Latest GitHub Commits