11
tl
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/8 23:38

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

I'm having exactly the same problem...
i have stepped through the code and printed out "hello"'s and found out that it's crapping out on the following line:

ob_start();

in header.php

I'm assuming that it will die anywhere that statement occurs, or anywhere where output buffering is done?

Any ideas?


Did you have a blank page after install or before you finish install?


12
rrettich
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 0:04

  • rrettich

  • Just popping in

  • Posts: 9

  • Since: 2004/6/8 1


I just did another installation on a Fedora Core-2 box and had none of these problems so I'm assuming (silly me) that there must be either a verion conflict or some missing dependant files that are not being echoed in any error messages?

Just as an aside, I also successfully installed "JetBox" on the Fedora Core-2 box which also gave me blank pages on the Core-1 system.

Since the Core-1 system does not create any tables, perhaps there is a problem with the version of MySQL?

Core-1 box (not original any more, butchered pretty well...)
: MySQL-server-4.0.20-0
: php-4.3.6-1.3
: php-mysql-4.3.6-1.3

Core-2 box (pretty much install condition)
: mysql-server-3.23.58-9
: php-4.3.4-11
: php-mysql-4.3.4-11

13
tl
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 0:17

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Did you check the phpinfo of your core-1 system?

14
rrettich
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 0:53

  • rrettich

  • Just popping in

  • Posts: 9

  • Since: 2004/6/8 1


Yes, PHPInfo on the Core-1 box is fine. I can include the listing if you like.. it's rather long.

I've run phpino from test.php under /var/www/html as well as under /var/www/html/xoops/html with same results.

15
tl
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 0:58

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Is MySQL listed under phpinfo? I am trying to figure out if the compiled php-mysql is the cause of the problem. If it has been compiled properly, there should be a section on mysql.

16
rrettich
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 16:03

  • rrettich

  • Just popping in

  • Posts: 9

  • Since: 2004/6/8 1


MySQL entries in PHPInfo:

On the Core-1 box:
In Configure Command section: '--with-mysql=shared,/usr'
In dbx Supported Databases: MySQL

On the Core-2 box:
In Configure Command section: '--with-mysql=shared,/usr'
In Additional INI Information parsed: /etc/php.d/mysql.ini,
In Apache2Handler - loaded modules: mod_auth_mysql
In dbx Supported Databases: MySQL
In MySQL - 2 blocks (MySQL Support and Directives) describing MySQL variables.

As you can see, there is a significant difference between the way these two boxes implemented PHP with MySQL.

17
tl
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 16:09

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

rrettich wrote:
MySQL entries in PHPInfo:

On the Core-1 box:
In dbx Supported Databases: MySQL

On the Core-2 box:
In dbx Supported Databases: MySQL
In MySQL - 2 blocks (MySQL Support and Directives) describing MySQL variables.


This is what I was looking for.
Quote:
In MySQL - 2 blocks (MySQL Support and Directives) describing MySQL variables.


Your core-1 did not have MySQL compiled correctly, so you can't see the section on MySQL.


RedHat has the tendency of producing crappy RPMs.

18
rrettich
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 16:58

  • rrettich

  • Just popping in

  • Posts: 9

  • Since: 2004/6/8 1


So then is it safe to assume (silly me) that I should re-compile PHP4 with MySQL support in order to fix this situation?

I think you might be onto something here. I just installed XOOPS onto one of my hosting boxes in Vancouver and it worked pefectly there too. That system is a (old) Cobalt RaQ, 2.2.16 kernel, MySQL 3.23, and PHP 4.1.2. Again, the MySQL support is compiled in to PHP.

19
tl
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 17:08

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

rrettich wrote:
So then is it safe to assume (silly me) that I should re-compile PHP4 with MySQL support in order to fix this situation?


Yes. If possible, it is always a good idea compiling php your self. Doing this way, you can eliminate many options that you really don't need and you will be sure that it will work (of course assuming you have compiled correctly! )

Maybe the core developer will develop a detecting mechanism in the future install script, so the script can automatically detecting MySQL support. Maybe it is not possible to detect, not totally sure about that.

20
JackJ
Re: Blank Page - xoops are you guys going to respond to these?
  • 2004/6/9 17:18

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I assume when you say in your first post you have no php errors that you have already switched on phpdebug in XOOPS and no errors reported? XOOPS does not report these errors till you switch on debug, but if you have another site you may well be aware of this.

just checking..

edit: just noticed the global errors bit..

Login

Who's Online

109 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 109


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits