11
robekras
Re: Blank page after install
  • 2004/2/8 21:38

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


That's really strange.
But the last compare is suspicious!

The ?> on line 75. Why does the diff show a changed line?
Maybe there is a non printable character before?


12
slate
Re: Blank page after install
  • 2004/2/8 21:52

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


I deleted and retyped the characters to no avail, I dont think this is the problem.
I tried to debug it by adding print '123' things.
It halts execution in include/common.php line 78
$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();
Never gives back the control.

13
robekras
Re: Blank page after install
  • 2004/2/8 22:00

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


I thought the include/common.php isn't called because the first command within the checkit.php is setting $xoopsOption['nocommon'] = 1; ????

It works that way with my installation.


14
slate
Re: Blank page after install
  • 2004/2/8 22:07

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


Yes you are right, and it works.
This is the end of the code.
print '1';
if (!isset($xoopsOption['nocommon'])) {
include XOOPS_ROOT_PATH."/include/common.php";}}
print '2';

?>

The http://localhost/xoops/modules/checker/checkit.php pageend is:


12

And nothing more.

15
robekras
Re: Blank page after install
  • 2004/2/8 22:15

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Put something after the ?> and look whether this is outputted.

If this doesn't help, activate the error display via php.ini

16
slate
Re: Blank page after install
  • 2004/2/8 22:18

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


Yes its outputted. Your code is hanging on the lines:
print '3';
if (!($db = mysql_connect (XOOPS_DB_HOST, XOOPS_DB_USER, XOOPS_DB_PASS))) {
echo "no connection to the MySQL database
\n";
die ("");
}
else {
echo "connection to MySQL database is ok
\n";
}
print '4';

4 is not printed.

17
slate
Re: Blank page after install
  • 2004/2/8 22:26

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


I think something is wrong with php-mysql, wich is otherwise working.
I reinstall it, and come back later.

18
robekras
Re: Blank page after install
  • 2004/2/8 22:32

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


A really good question....
Why is it hanging here????

Nothing special with a mysql_connect!?

Sorry but I have no more idea at the moment.


19
slate
Re: Blank page after install
  • 2004/2/15 20:02

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


Thanks for the help. I resolved it. It was a broken install with funny features. It works now.

Login

Who's Online

874 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 874


more...

Donat-O-Meter

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

Latest GitHub Commits