1
F3ign
After Restore Blank Page on Modules set as Startup Module
  • 2004/10/6 17:53

  • F3ign

  • Just popping in

  • Posts: 10

  • Since: 2003/12/17


I restored my XOOPS installation (both SQL and files) yesterday. My XOOPS site seems to be running fine, with one exception. If I set any of the modules to be the module for the start page I get a blank page on my start page. If I use ‘none’ for the start page my site comes up fine. I am able to access all these modules and their content fine otherwise.

Here’s what I’ve tried so far.

1. Repairing all tables via phpMyAdmin.
2. Optimizing all tables via phpMyAdmin
3. Inspected group permissions
4. Inspected file permissions
5. Ran ‘update’ on the news module from the Admin Page and tried setting that as the start page.
6. Changing the theme to default.
7. Did some searching here. I seen a couple similar issues, but the symptoms didn’t really match mine. This occurs in any module that is set as startup.

The server is running PHP 4.3.9. I am running XOOPS 2.0.7.

Any ideas?

2
ackbarr
Re: After Restore Blank Page on Modules set as Startup Module

Does anything display on the blank pages if you turn on PHP debugging in the System Preferences?

3
F3ign
Re:After Restore Blank Page on Modules set as Startup Module
  • 2004/10/6 18:12

  • F3ign

  • Just popping in

  • Posts: 10

  • Since: 2003/12/17


ackbarr, thanks for the quick reply. I should of thought to turn debugging on.

Error is:
Warning [PHP]: Cannot modify header information headers already sent by (output started at /home/xxxxxxx/public_html/familyconnect/mainfile.php:77in file index.php line 39


xxxxxxx = my username on host

Line 39 of the index.php at my site root is:
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');


I found this post which seems similar, but I don't quite follow the explanation (https://xoops.org/modules/newbb/viewtopic.php?topic_id=23547&forum=27&post_id=102834#forumpost102834).

4
ackbarr
Re:After Restore Blank Page on Modules set as Startup Module

that error means that there are some blank lines in the file /mainfile.php

a blank line will be outside these blocks:

"<?php" and "?>"

Remove those lines and try viewing the home page again.

5
F3ign
Re:After Restore Blank Page on Modules set as Startup Module
  • 2004/10/6 18:35

  • F3ign

  • Just popping in

  • Posts: 10

  • Since: 2003/12/17


Thanks, that fixed it.

Login

Who's Online

253 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 253


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