[Xerte] Xerte Setup

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Tue Jul 14 16:56:16 BST 2009


Pages 1,2 and 3 create database.php out of setup/database.txt

This is then saved into the root folder as database.php

I am guessing the setup folder wasn't chmod 0777

The error message you have there is the "no database details specified"
error message when you try to do mysql without telling it where to go,
so it tries locally and fails.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Niall Watts
Sent: 14 July 2009 16:51
To: 'Xerte discussion list'
Subject: RE: [Xerte] Xerte Setup


I have reset permissions on root to 777 
There is a file called data.php (but not the others)
Now I get an error 
"The sitedetails site ID query insert into sitedetails(site_id) VALUES (
"1") has failed due to Can't connect to local MySQL server through
socket
'/var/lib/mysql/mysql.sock' (2)"

Any more suggestions appreciated

Thanks

Niall



-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 2009-07-14 16:31
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Setup

You should have a file called database.txt or database.php in the root.

I am guessing you didn't make the root writable to?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Niall Watts
Sent: 14 July 2009 16:29
To: 'Xerte discussion list'
Subject: RE: [Xerte] Xerte Setup


It happens when I click submit query on page3.php which links to
page4.php
As far as I know I have entered the data correctly on page1.php &
page2.php
Looking on my control panel I can see that a DB has been setup with 11
tables (so I must be doing something right! I think?)

Any further advice

Thanks


Niall


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 2009-07-14 16:19
To: Xerte discussion list
Subject: RE: [Xerte] Xerte Setup

Hello,

Page 3 as in page3.php?

It's been a while since I've been in setup but page3.php doesn't go the
database.

Page2.php connects to the database using the details from page1.php

Page1.php doesn't connect to the database.

Page4.php does a load of database stuff.

In terms of mysql you need to use

On the first page

Admin username
Admin password (with such permissions as to be be able to create
databases)
Host
Database name
Table prefix

On the second page you enter the database account set up for site users.

Hope this helps

Pat

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Niall Watts
Sent: 14 July 2009 16:10
To: 'Xerte discussion list'
Subject: [Xerte] Xerte Setup


 
What details do you need to add on page 3 of setup?

I just added admin username and password. Do I need to add or change
anything else?

However, I get an error "No database selected" despite seemingly having
successfully connected to DB on previous setup pages

Hope you can help

Thanks


Niall Watts
Educational Technology Officer
Media Services (Audio Visual Centre)
UCD IT Services
Library Building
Belfield
University College Dublin
Dublin 4
Ireland
 
T. + 353-1-716 7035
niall.watts at ucd.ie
http://www.ucd.ie/itservices/mediaservices

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list