1
jbwiv
XOOPS completely dead
  • 2004/6/17 19:21

  • jbwiv

  • Just popping in

  • Posts: 8

  • Since: 2003/12/17


I have run a XOOPS site now for sometime with no big problems.

However, recently, I opened to url and boom...blank page. Nothing. No indication of a problem.

If I view the source of the page that's displayed, I see:

<html><body></body></html>

That's it.

I'm not certain how to debug this problem. I obviously can't get to the admin panel.

One thing I do note is that no redirection to a modules page happens before this blank page is displayed, so it's probably not making it through the initial logic on index.php and the various included files.

Can someone please point me in the right direction? I'm not even sure where to begin. I have a lot of PHP experience but stepping through this problem has left me with a headache and blank page.

Thanks for your help!

2
Herko
Re: XOOPS completely dead
  • 2004/6/17 19:28

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1



3
jbwiv
Re: XOOPS completely dead
  • 2004/6/25 16:40

  • jbwiv

  • Just popping in

  • Posts: 8

  • Since: 2003/12/17


I've tried the two methods that don't require panel access: updating via mysql, editing include/common.php, and neither displays any more info whatsoever. I've also checked php.ini to make sure error reporting is on, and that I'm printing it to screen. No luck.

Any other ideas?

Thanks for the help!

jbwiv

4
tl
Re: XOOPS completely dead
  • 2004/6/25 16:49

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


try upload a file, let's name it phpinfo.php with the following lines

<?php
phpinfo();
?>

Let us know what if there is a MySQL section with description.

Just a guess - it seems that your php is working, your MySQL might not.

5
jbwiv
Re: XOOPS completely dead
  • 2004/6/25 16:52

  • jbwiv

  • Just popping in

  • Posts: 8

  • Since: 2003/12/17


Only thing listed is a configuration directive:

'--with-mysql=shared,/usr'

Thanks,

John

6
tl
Re: XOOPS completely dead
  • 2004/6/25 16:58

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Check to see in the middle of the page if you can see a section on MySQL.

7
jbwiv
Re: XOOPS completely dead
  • 2004/6/25 17:01

  • jbwiv

  • Just popping in

  • Posts: 8

  • Since: 2003/12/17


Sigh...you know...I've been trying to figure this thing out for a month (off and on...to busy). Turns out I somehow managed to not reinstall my php-mysql rpm after the last upgrade.

Seems there should have been a more telling error message, though, rather than just a blank page.

Anyway, thanks so much for that suggestion. I created another file with a simple call to mysql_connect() to test, and sure enough...mysql_connect not found.

Reinstalling the rpm fixed the issue.

Thanks again!
jbwiv

8
tl
Re: XOOPS completely dead
  • 2004/6/25 17:07

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


That was my initial suspicion as your php is working just fine.

Xoops regenerates everything from MySQL database. You would have a blank page without MySQL in php.

I agree with you that XOOPS should have an error reporting built in to detect MySQL connection. It assumes that you have MySQL built in.

Login

Who's Online

134 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 134


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