1
Ronaldus
Blank screen in Smartfaq 1.04
  • 2006/11/16 14:51

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Hello Folks,

It seems smartfaq 1.04 also doesn't work in my current XOOPS config. I made a q&a, and now I get a blank screen when I surf to the faq section on my site (www.nvshv.nl).
I put on php debug:
NoticeOnly variable references should be returned by reference in /www/htdocs/hellup/class/module.textsanitizer.php on line 519

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/class/module.textsanitizer.php on line 519

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/class/module.textsanitizer.php on line 519

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/class/module.textsanitizer.php on line 519

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/class/category.php on line 413

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/include/functions.php on line 588

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/include/functions.php on line 588

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/include/functions.php on line 588

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/include/functions.php on line 588

Notice
Only variable references should be returned by reference in /www/htdocs/hellup/modules/smartfaq/include/functions.php on line 588

Notice
Undefined index0 in /www/htdocs/hellup/modules/smartfaq/class/faq.php on line 547

Fatal error
Call to a member function on a non-object in /www/htdocs/hellup/modules/smartfaq/class/faq.php on line 549

All errors 
(39queries (43blocks (12extra (0timers (5)


Now, besides I don't know what this all means, it is strange that the debug info show similarity with a previous post of me, in which I say that CBB 3.07 also gives blank screens.

No I'm beginning to think that the problem is perhaps not the in 1 or 2 modules, but in xoops, or my xoops?
My site uses:
-XOOPS 2.0.15 + new form.php + editors and Frameworks (latest versions)
-smartfaq 1.04
-news 1.44
-multimenu 1.82
-newbb 1.12 (my old backup)
-liaise 1.26
-wf-section 2.06
-wf-links 1.03b
-piCal 0.89
-wf-channel 1.07
-xc gal 2.03

Server:
-Apache 1.3.34
-PHP 4.4.0
-MySQL 4.0.15


Any help would be appreciated.

Thx and greetings,

2
de_muis
Re: Blank screen in Smartfaq 1.04
  • 2006/11/16 15:28

  • de_muis

  • Just popping in

  • Posts: 15

  • Since: 2004/11/8


I see hellup in the dir witch is not proper dutch. Maybe that is the problem?
I am dutch to
the_mouse

3
JCDunnart
Re: Blank screen in Smartfaq 1.04
  • 2006/11/16 20:25

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


Fatal errorCall to a member function on a non-object in /www/htdocs/hellup/modules/smartfaq/class/faq.php on line 549


It's the fatal error that's causing the blank page. Can you paste the code from line 549 of /smartfaq/class/faq.php ? Someone could probably help you then.

My guess, without seeing the code or knowing anything about the module, is that it's specific to your php version.

4
Ronaldus
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 6:34

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


This is line 549 of /smartfaq/class/faq.php.

$faq['categoryname'] = $categoryObj->getVar('name');


Hope you can telle me what's wrong!

Thx and grtz,

5
irmtfan
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 8:23

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I think i solved that by change the view of FAQ in module preferences to abstract or something like that.
give it a try there

6
Ronaldus
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 8:50

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


You're right irmtfan!!
Playing with the settings solved the blank screen problem.
Still: Can't post new Q&A's. They do not appear in any part of admin section, EXCEPT in the module summary in the admin index. There I see the number of Q&A's increase on each post of a Q&A.

When I post a Q&A I get a message that the database is succesfully adjusted, and the follwing message in PHP debug:

Fatal errorCall to a member function on a non-object in /www/htdocs/hellup/modules/smartfaq/include/displayfaqs.php on line 52


That is indeed the problem: displaying the (new) faqs.
Line 52 of modules/smartfaq/include/displayfaqs.php shows:

echo "<td class='even' align='left'>" $categoryObj->name() . "</td>";


What can I do about this?

Thx in advance and greetings,

7
Anonymous
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 10:21

  • Anonymous

  • Posts: 0

  • Since:


Don't know if this will help but the "Smart" peeps have released an updated version of the module.

It's labelled as v1.08 and its still a beta release but they sound quite "bullish" about it being very close to a full release version and it having sorted out quite a few bugs. I'm going to give it a try.

John V
Cardiff - UK

8
Ronaldus
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 10:43

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Let me know about your findings, JAVesey.
Do you have a download link for me?

9
msdana
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 11:13

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


You can find a download link here.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

10
Ronaldus
Re: Blank screen in Smartfaq 1.04
  • 2006/11/17 16:19

  • Ronaldus

  • Friend of XOOPS

  • Posts: 389

  • Since: 2004/5/8 1


Thx msdana!!

Found it, downloaded and installed.
Guess what: problem soved!!

Everything's working as it should be.
I'll post to the peeps at Smartfactory as well.

Thx and greetz,

Login

Who's Online

254 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 254


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