1
cydud3
Blank top page
  • 2004/6/16 14:38

  • cydud3

  • Just popping in

  • Posts: 50

  • Since: 2004/6/10


Somebody please help me with this problem:

I installed XOOPS before on an intranet site and it worked fine. Now, I am installing it on a hosted server (Lunarpages). During installation, I chmod the 3 folders (cache, template_c, upload) to 666 and mainfile to 777 as specified. However, after installation, I only get a blank page when I visit the site. So, I changed the 666 permissions to 777 for the 3 folders. Now the top page loads up fine.

Now, I installed the news module and by itself it works fine. But if I put it as the starting module, I get the blank page on top page again. Does anybody know how to fix this. Maybe I need to chmod some folder to 777 again. What folder? I really need to set news as starting module.

2
tl
Re: Blank top page
  • 2004/6/16 14:54

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


FYI
Quote:

755 - all directories which dont require writing from the web server
777 - all directories which do require writing from the web server
644 - all files which dont require writing from the web server
666 - all files which do require writing from the web server
444 - mainfile.php


Turn the debug on to see what error messages you are getting
System Admin->Preferences->General Settings

3
cydud3
Re: Blank top page
  • 2004/6/16 15:36

  • cydud3

  • Just popping in

  • Posts: 50

  • Since: 2004/6/10


I turned on PHP debug and I get the following message:

Quote:
Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/myfolder/public_html/mainfile.php:80) in file index.php line 39


Have anybody seen this before.

4
tl
Re: Blank top page
  • 2004/6/16 15:55

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


why 80?
/home/myfolder/public_html/mainfile.php:80

did you change index.php in the root directory?

It would be help if we can take a look of your website.

5
cydud3
Re: Blank top page
  • 2004/6/16 16:25

  • cydud3

  • Just popping in

  • Posts: 50

  • Since: 2004/6/10


"myfolder" of course is not the real name of my folder. I did not change index.php in the root directory. You probably cannot look at the website yet since dns isn't fully propagated. To set XOOPS up, I cheated by using a host file on my computer. Just in case you can already, the website is at www.taerzone.net. Any more ideas?

6
tl
Re: Blank top page
  • 2004/6/16 16:34

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Re-upload the index.php file in the root directory, it probably won't help, but give a try anyway. Other than that, not much I can suggest.

7
cydud3
Re: Blank top page
  • 2004/6/16 17:44

  • cydud3

  • Just popping in

  • Posts: 50

  • Since: 2004/6/10


I reloaded index.php but the error is still there. It doesn't really matter which module I set as the start module it gives the same error. Any more ideas anybody?

8
cydud3
Re: Blank top page
  • 2004/6/16 19:35

  • cydud3

  • Just popping in

  • Posts: 50

  • Since: 2004/6/10


I finally solved this problem. After looking through all the forums, I ran across a similar problem. The problem was caused by extra spaces after the <?php and ?> tags in mainfile.php. Just in case anybody's interested, the post is here.

9
dummy
Re: Blank top page
  • 2004/7/22 8:26

  • dummy

  • Just popping in

  • Posts: 12

  • Since: 2004/7/16


yea this helped in last lines of mainfile.php i removed empty lines.

Login

Who's Online

213 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 213


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