Install hangs on "checking to see if database and table

Having trouble installing serendipity?
Post Reply
justscott
Posts: 3
Joined: Wed Oct 05, 2005 2:25 am

Install hangs on "checking to see if database and table

Post 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...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
justscott
Posts: 3
Joined: Wed Oct 05, 2005 2:25 am

Nope

Post by justscott »

phpPGAdmin works fine. I'm logged in right now.
justscott
Posts: 3
Joined: Wed Oct 05, 2005 2:25 am

also hangs in Firefox

Post 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)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: also hangs in Firefox

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply