Page 1 of 1

Install hangs on "checking to see if database and table

Posted: Wed Oct 05, 2005 2:29 am
by justscott
My install hangs here.

Serendipity Installation

Checking to see if the database and tables already exists...

Nothing happens, and nothing is happening on either box. I'm using PostgreSQL, and it does connect just fine from the command prompt. I'm using IE 6.0 to install this, and the XP "in process" icon is stopped. It seems to be complete, but the HTML page (source) just contains:

<html>
<head>
<title>Serendipity Administration Suite</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="serendipity.css.php?serendipity[css_mode]=serendipity_admin.css" />
<script type="text/javascript">

There appear to be no errors in my httpd error_log file.

Apache 1.3 on RH 7.3 with PHP 4.1 and PostgreSQL
function spawn() {
if (self.Spawnextended) {
Spawnextended();
}

if (self.Spawnbody) {
Spawnbody();
}

if (self.Spawnnugget) {
Spawnnugget();
}
}

function SetCookie(name, value) {
var today = new Date();
var expire = new Date();
expire.setTime(today.getTime() + (60*60*24*30));
document.cookie = 'serendipity[' + name + ']='+escape(value) + ';expires=' + expire.toGMTString();
}
</script>
</head>
<body id="serendipity_admin_page" onload="spawn()">
<table cellspacing="0" cellpadding="0" border="0" id="serendipityAdminFrame">
<tr>
<td colspan="2" id="serendipityAdminBanner">
<h1>Serendipity Installation</h1>
</td>
</tr>
<tr>
<td colspan="2" id="serendipityAdminInfopane">
</td>
</tr>
<tr valign="top">
<td class="serendipityAdminContent" colspan="2">
Checking to see if the database and tables already exists...

Re: Install hangs on "checking to see if database and t

Posted: Wed Oct 05, 2005 3:38 am
by garvinhicking
If the installation hangs there, then your postgresql functions or database does not properly connect.

Check if any other PHP applications like phpPGAdmin properly work with your database? Did you make sure that the host and user details are the right ones?

Best regards,
Garvin

Nope

Posted: Wed Oct 05, 2005 7:28 pm
by justscott
phpPGAdmin works fine. I'm logged in right now.

also hangs in Firefox

Posted: Wed Oct 05, 2005 7:56 pm
by justscott
A little more information.
The same thing happens in FireFox.

Also:
Server version: Apache/1.3.27

php-4.1.2-7.3.6
php-pgsql-4.1.2-7.3.6

(yes, I am getting the uname() errors in this version of php, but I noticed many other posts that says this is just warning)

Re: also hangs in Firefox

Posted: Wed Oct 05, 2005 10:03 pm
by garvinhicking
Hm, PHP 4.1.2 is *really* *really* *really* old. Maybe this is related.

There must be some error messages in the pgsql or php/apache error log, or maybe in your server's syslog - a process can't just die without information.
You might need to adjust the error_reporting value in your php.ini or enable the display_Errors directive?!

BTW, the bug should be independent to the used browser as it's a server issue. At the point where it is hanging, Serendipity would send database queries. If that doesn't happen, there's either a PHP problem or postgreSQL.

Did you specify the EXACT same DB user/account data for serendipity that you have configured in phpPgAdmin? This is very crucial that you use the exact same hostname etc.

Best regards,
Garvin