Search found 8 matches

by NicZak
Tue Jan 16, 2007 7:08 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

Garvin: Sorry for replying to myself here, but I just thought I'd save you from wasting your time, I spoke w/ our sysadmin here and he informed me that the Pg PHP modules are installed on the public server but not on the development server. As you may have already guessed I want to host my blog on ...
by NicZak
Tue Jan 16, 2007 6:04 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

Garvin: Good idea, I agree it makes sense to establish that PHP is working in conjunction with Postgres prior to modifying the code. Is there a standard method of testing to determine whether or not we are good to go? Thanks Garvin, you do great work.

- Nick
by NicZak
Fri Jan 12, 2007 6:01 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

Sorry for double post! Not sure how I managed to do that!

- Nick
by NicZak
Fri Jan 12, 2007 6:00 pm
Forum: Installation
Topic: Installation on non-standart port PostgreSQL
Replies: 5
Views: 3685

I appreciate the reply, unfortunately that didn't solve it meaning I have a bigger issue at hand. I think it may have something to do with the fact that I need to use psqld rather than psql for the command. Any thoughts on this one?
by NicZak
Fri Jan 12, 2007 5:40 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

I really don't know PHP, but I thought I would have no problem hacking the code below to connect on 5434, what am I doing wrong? What needs to be added and where?

function serendipity_db_connect() {
global $serendipity;

if (isset($serendipity['dbPersistent']) && $serendipity['dbPersistent ...
by NicZak
Fri Jan 12, 2007 5:40 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

I really don't know PHP, but I thought I would have no problem hacking the code below to connect on 5434, what am I doing wrong? What needs to be added and where?

function serendipity_db_connect() {
global $serendipity;

if (isset($serendipity['dbPersistent']) && $serendipity['dbPersistent ...
by NicZak
Thu Jan 11, 2007 8:53 pm
Forum: Installation
Topic: Installation on non-standart port PostgreSQL
Replies: 5
Views: 3685

I don't know PHP, what exactly did you change to specify a non-default port? I assume it would just be adding a port='5434' in the sprintf( line but I tried that and it didn't work, what am I missing?


$serendipity['dbConn'] = $function(
sprintf(
'%sdbname=%s user=%s password=%s',
strlen ...
by NicZak
Thu Jan 11, 2007 8:22 pm
Forum: Installation
Topic: Non-Default DB Port!
Replies: 8
Views: 4326

Non-Default DB Port!

During my Serendipity installation I keep getting the error msg: "Could not connect to database; check your settings." I am sure this is because I am running Postgres on a non-standard port. I tried putting "localhost:5434" in the 'Database Host' section of the config, but no luck. How can I ...