Got my web provider to make all the necessary changes so the pre install screen had no errors and only 2 warnings about space mismatches..
Upon doing the install
Checking to see if the database and tables already exists... they do not
Creating default database setup... Done
Creating primary author 'francisco'...
And it doesn't go any further.
Where is the install code?
Tried grep for .php files in several directories for the "Creating primary author" string and did not see any files with that string.
Stuck at Creating Primary author...
I think I found the problem..
Looking at the apache logs I see
Call to undefined function: pg_escape_string()
The php is 4.2.3 and that function is supposed to exist since 4.2.0 so I don't understand why it's missing.
Also... I noticed the tables were created even though the install failed .. I think the tables should be done within a transaction so in case of failure nothing gets done in the DB.
Looking at the apache logs I see
Call to undefined function: pg_escape_string()
The php is 4.2.3 and that function is supposed to exist since 4.2.0 so I don't understand why it's missing.
Also... I noticed the tables were created even though the install failed .. I think the tables should be done within a transaction so in case of failure nothing gets done in the DB.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The transaction is done within one part, only the insert later on fails. We can't combine those queries in one transaction easily and it helps other people to have the tables built so that they can make manual error fixing instead of having nothing to start with...
About the missing function you'll definitely have to talk to your system admin.
Regards,
Garvin
About the missing function you'll definitely have to talk to your system admin.
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
In fact you're right, we do have those "transaction" functions, but with "easily" I was more talking about the effect it might have on wrong installations. I'm not really sure if it's better to be able to start from scratch, or to be able to see which tables were created and manually fix errors... :-/
Regards,
Garvin
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/
# 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/