Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Xerte OT 2.0 - installation problems

  • maxnorton
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
13 jaren 1 maand geleden #369 door maxnorton
Xerte OT 2.0 - installation problems werd gestart door maxnorton
I am stuck trying to install the Xerte Online Toolkits onto a webserver.

When I get to page4.php on the setup I get this error:

Sorry, the system cannot connect to the database at present

This may be because the database server is offline, or this instance of Xerte has not been setup (see /setup).

The mysql error is Can't connect to local MySQL server through socket '/No-MySQL-hostname-was-specified' (2)


I had warnings on previous pages:

page2.php

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/shabur35/rsclondon.net/xerte/setup/page2.php:3) in /home/shabur35/rsclondon.net/xerte/setup/page2.php on line 70

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/shabur35/rsclondon.net/xerte/setup/page2.php:3) in /home/shabur35/rsclondon.net/xerte/setup/page2.php on line 70


page_password.php:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/shabur35/rsclondon.net/xerte/setup/page_password.php:3) in /home/shabur35/rsclondon.net/xerte/setup/page_password.php on line 7

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/shabur35/rsclondon.net/xerte/setup/page_password.php:3) in /home/shabur35/rsclondon.net/xerte/setup/page_password.php on line 7


Any help in sorting this out would be much appreciated.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 1 maand geleden #375 door ronm
Beantwoord door ronm in topic Xerte OT 2.0 - installation problems
Hi Max
Before submitting page3 to page4 check database.php in the root of your install and edit that if not correct.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 1 maand geleden #381 door Pgogy
Beantwoord door Pgogy in topic Xerte OT 2.0 - installation problems
Sounds like the root folder wasn't writable too?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • maxnorton
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
13 jaren 1 maand geleden #392 door maxnorton
Beantwoord door maxnorton in topic Xerte OT 2.0 - installation problems
database.php has not been created at this point

The permission checks were all passed earlier in the installation:

The root folder for this install ([REMOVED]/xerte) must be writable during setup. OK
The setup folder for this install ([REMOVED]/xerte/setup) must be writable during setup. OK
The user files folder for this install ([REMOVED]/xerte/USER-FILES) must be writable. OK
The error log folder for this install ([REMOVED]/xerte/error_logs) must be writable. OK
The import folder for this install ([REMOVED]/xerte/import) must be writable. OK

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 1 maand geleden #397 door JohnSmith
Beantwoord door JohnSmith in topic Xerte OT 2.0 - installation problems
Hmm there seems to have been a blip with your install - not sure why. My advice would be to go back through /setup and see if it works this time. Follow Ron's advice above and see if database.php is written to root before moving page3->page4. If not then copy database.txt from /setup to / and edit all 5 placeholders manually with the correct values (5 might just be "")

Then change the extension from .txt to .php and go back to the setup pages and submit page3.

We aren't sure why this happens (albeit very rarely) and are investigating, so any warnings that you see on the setup pages may be relevant and we'd really appreciate if you could feed them back to us.

Regards,

John

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • maxnorton
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
13 jaren 3 weken geleden #436 door maxnorton
Beantwoord door maxnorton in topic Xerte OT 2.0 - installation problems
Thanks for all the help. I have XOT 2.0 it working now!

I started again with a clean install.

This time database.php was created - I'm sure I didn't do anything different.

However database_host and database_name were set to "" so I had to add these manually.

I encountered the same warnings on page2 and page_password as I described in my first post.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.128 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo