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

Xerte OT 2.0 - installation problems

Plus d'informations
il y a 13 ans 2 semaines #369 par maxnorton
Xerte OT 2.0 - installation problems a été créé par 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 2 semaines #375 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 2 semaines #381 par Pgogy
Réponse de Pgogy sur le sujet Xerte OT 2.0 - installation problems
Sounds like the root folder wasn't writable too?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 2 semaines #392 par maxnorton
Réponse de maxnorton sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 2 semaines #397 par JohnSmith
Réponse de JohnSmith sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 2 semaines #436 par maxnorton
Réponse de maxnorton sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.237 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo