1
sad_kit
Blank page after install
  • 2004/1/21 3:41

  • sad_kit

  • Just popping in

  • Posts: 2

  • Since: 2004/1/20


The installation done, but I see only blank page when I try to go to my site. Something wrong? Need I make anything else before I can see my XOOPS pages?

2
cdunivan
Re: Blank page after install
  • 2004/1/21 3:51

  • cdunivan

  • Just popping in

  • Posts: 6

  • Since: 2003/7/25


I just got this same issue fixed on my site.

It had been installed and working just fine for several months. Then, suddenly, nothing. It turns out my hosting provider had done something on the server that houses my database, and it was denying access to my username & password. So it was also denying access to the XOOPS script running my site when it tried to access the database using that username & password.

Once they fixed the permissions problem, the site "magically" appeared once again.

3
sad_kit
Re: Blank page after install
  • 2004/1/21 4:27

  • sad_kit

  • Just popping in

  • Posts: 2

  • Since: 2004/1/20


I'll try to check data base settings, but if install program makes tables im my database, then it have access to database isn't it?

I also use PhpBB and it work normaly.

4
slate
Re: Blank page after install
  • 2004/2/8 12:27

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


I have a blank page after install, I dont understand why. I am beginning to think, this is a verry silly piece of software.
php_4.3.1-8 with mod_php for apache and php-mysql for mysql
apache_2.0.48-3
xoops_2.0.6
mysql_3.23.55-7 with client
What I did:
I copied the XOOPS 2.0.6/html to /var/www/html/xoops
I made a database(xoops) in MySQL with mysqlcc.
I made a user with select update delete and create permissions.
I ran the given sql files.
I ran the installer in $xoops_root/install, everything is fine.
Result: blank page.
I tried to change back permission on mainfile.php, as someone recommended, nothing happened
I checked another software on my PC (an addressbook) which is running PHP+mysql and its worked.
I checked, I can connect to the database with the given(in the mainfile.php) user and see the tables.
I checked the mode of the files that have to be writable.
I checked the apache access.log, code 200
I checked the apache error.log, nothing

BTW I checked out the cvs, with the same result.

5
robekras
Re: Blank page after install
  • 2004/2/8 16:31

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


As I have posted in an other thread:

For those which have problems (mostly blank page) after fresh install (or upgrading) on their websites....

You could download my Checker Module from the download area.

This module checks the XOOPS file structure and files (CRC).

You need to download the Checker Module:

https://xoops.org/modules/mydownloads/singlefile.php?cid=24&lid=582

and the checker.xml files (this is for XOOPS 2.0.5.2):

https://xoops.org/modules/mydownloads/singlefile.php?cid=24&lid=583

If you need the checker.xml files for XOOPS 2.0.6 try this one:

www.schuetzengau-freising.de/xoops/html/uploads/checker_xml_2_0_6.zip

6
slate
Re: Blank page after install
  • 2004/2/8 20:04

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


I have done it.
http://localhost/xoops/modules/checker/checkit.php
result: Blank Page
I dont think that the files are demaged. If yes then the official download page contains demaged files, or cp,tar,gunzip doesnt work, its unlikely:)
BTW I tried:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=4129&forum=1#forumpost16688
With the same result

7
robekras
Re: Blank page after install
  • 2004/2/8 20:20

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


I did not know that you have XOOPS running on your local machine.

So loading XOOPS to a local machine is normally not a problem.
But some people have sometimes problems when uploading XOOPS to their website (But this has nothing to do with XOOPS).

It is curious that you get a blank page with the checkit.php.
The only XOOPS file which is included by that script is the mainfile.php.

Please take a look at the mainfile.php. Is the information within mainfile.php ok?

When you take a look at the blank page html source output, is there something (header?), or is it really empty?


8
slate
Re: Blank page after install
  • 2004/2/8 20:35

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


Yes its really empty. No header, nothing.
On the link mentioned before I saw that nonvalid database connection can cause that, I tried to shut down the MySQL server, in this case there is a
PHP Fatal error: Call to undefined function: mysql_connect() in ... bla bla
Error in the apache error.log.
I have a few domain names I tried these as XOOPS_URL, but nothing happens. The same applies for XOOPS_DB_HOST. I hope that this is no problem. Anyway MySQL client can connect with these, copy and paste, data to the database, so I think it should be ok. Anyway I did not try all the combinations.

Why are there no error messages in this program?

I made a mistake
The main index.php gives back empty page.
Checkit looks like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="content-language" content="en" />
<title>Check XOOPS</title>
<link rel="stylesheet" type="text/css" media="all" href="style.css" />
</head>
<body>

9
robekras
Re: Blank page after install
  • 2004/2/8 20:58

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


It seems to be that the mainfile.php is corrupt.

It's the first thing checkit.php does: include the mainfile.php.
If mainfile.php gives an parse error or something, you will not see the error if error display is off (within php.ini).

So open the mainfile.php and do a visual inspection.
Compare it with mainfile.dist.php.





10
slate
Re: Blank page after install
  • 2004/2/8 21:07

  • slate

  • Just popping in

  • Posts: 9

  • Since: 2004/2/7 2


diff mainfile.php mainfile.dist.php
33c33
< define('XOOPS_ROOT_PATH', '/var/www/html/xoops');
---
> define('XOOPS_ROOT_PATH', '/path/to/xoops/directory');
37c37
< define('XOOPS_URL', 'http://localhost/xoops');
---
> define('XOOPS_URL', 'http://url_to_xoops_directory');
53c53
< define('XOOPS_DB_USER', 'xoops');
---
> define('XOOPS_DB_USER', '');
57c57
< define('XOOPS_DB_PASS', 'latomas');
---
> define('XOOPS_DB_PASS', '');
61c61
< define('XOOPS_DB_NAME', 'xoops');
---
> define('XOOPS_DB_NAME', '');
75c75
< ?>
---
> ?>
\ No newline at end of file

Login

Who's Online

229 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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