1
Tocpe
Mac user getting blank pages on loading a thread
  • 2004/2/27 15:43

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


Okay, I love Xoops, but just noticed this problem while checking my site at work.

When I click on a topic link to read a post, my browser sits there and sits there and then loads a blank page. It's a new site and I haven't checked out the problem fully at home on my PC. I'm using the default forum module that ships with XOOPS 2.0.6. I just noticed the problem on the macs at work. I've checked it on two systems. One was running OS X 10.2.8 the other OS X 10.3.2.

I got the same glitch using IE 5.2.3, Netscape 7.1 and Safari 1.2(v125). I dunno if it's a Mac thing or a firewall issue. Can some of you please check out my forums section and see if you get the same glitch in the test forum? Any ideas what's causing this?

Thanks,
Tocpe

http://www.deepwaterstudios.com/

2
El_Jordo
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 15:49

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


No blank page for me, but I don't see the actual post text. Here's a screenshot. I have Mac OS X 10.3.2 with Safari 125.

The first thing to do whenever encountering a blank page is to turn on PHP debugging and see what warnings you get on that page.

I'm guessing there's something wrong with the template for displaying post text. Have you modified your newbb templates?

3
Tocpe
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 16:06

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


I've been playing with the site trying to figure out what's causing the problem (haven't messed with any settings, just trying figure out when the prob occurs). And it appears that's the non-registered user gets a page but the thread is blank like your screenshot show. But if an admin or registered user accesses a link they get a completely blank page.

I haven't messed with the template for displaying post text. At least I don't think I have, I modified the CSS files for theXoops theme. Is that what you're refering to?

The PHP debugging is in the XOOPS admin settings? Or is it a server thing?

4
Tocpe
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 16:13

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


Okay I turned on the PHP debugging (sorry, XOOPS is still new to me. :)) and this is what I got:

Fatal error: Cannot pass parameter 4 by reference in /usr/home/deepwat/public_html/modules/newbb/viewtopic.php on line 256

ummm, what does that mean in plain English? :)

5
robekras
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 16:30

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


The line 256 shows the following function call:
$postsArray = ForumPosts::getAllPosts($topic_id, "ASC", $total_posts, 0);

and when I take a look at call.forumposts.php the function looks the following:
function getAllPosts($topic_id, $order="ASC", $perpage=0, $start=0){

nothing special with it, and no reference passing

6
Tocpe
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 19:15

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


Anybody have any ideas? Should I reinstall the forum module?

7
El_Jordo
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 19:25

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


Download a fresh copy of the latest version of XOOPS, then take the /modules/newbb directory from that one and replace yours. Maybe that will work.

8
robekras
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 19:26

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Maybe you upload the forum files and try again. (Maybe one is corrupt?).

To test the file/directory integrity you could also use my checker module which is available in the download area.

9
Tocpe
Re: Mac user getting blank pages on loading a thread
  • 2004/2/27 19:35

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


yeah, it looked like one of the files was corrupted...hmmm I wonder how that happened? Any ideas?

So I did like you guys suggested d/l'd the latest version, and overwrote the newbb/forum files and it looks okay now!

Thanks for the help guys!

Login

Who's Online

220 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 220


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