Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1
  • 2

TOPIC:

Xerte OT 2.0 - installation problems 11 years 4 months ago #369

  • maxnorton
  • maxnorton's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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.

Please Inloggen or Create an account to join the conversation.

Xerte OT 2.0 - installation problems 11 years 4 months ago #375

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
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/

Please Inloggen or Create an account to join the conversation.

Xerte OT 2.0 - installation problems 11 years 4 months ago #381

  • Pgogy
  • Pgogy's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
Sounds like the root folder wasn't writable too?

Please Inloggen or Create an account to join the conversation.

Xerte OT 2.0 - installation problems 11 years 4 months ago #392

  • maxnorton
  • maxnorton's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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

Please Inloggen or Create an account to join the conversation.

Xerte OT 2.0 - installation problems 11 years 4 months ago #397

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 397
  • Thank you received: 71
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

Please Inloggen or Create an account to join the conversation.

Xerte OT 2.0 - installation problems 11 years 4 months ago #436

  • maxnorton
  • maxnorton's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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.

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.052 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search