Moodle

404 error after successful creation of a Microsoft SQL database at http://[sitename]/moodle/admin/index.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not a bug
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Installation
  • Labels:
    None
  • Environment:
    Windows 2003 Enterprise Service pack 1, IIS 6.0, MS SQL 2005 SP1

Description

404 error after successful creation of a Microsoft SQL database at http://[sitename]/moodle/admin/index.php

Successfully created the database tables and such then it gives me a 404 error at admin/index.php

Activity

Hide
James Allen added a comment -

I think that I have the same issue and after some digging around it would appear that the script is unable to insert values into the config table. If I manually add an entry for "version" and "release" then it will continue and setup the module tables.

Then it sets up the plugin tables but it appears that it again hasn't inserted the plugin version details into the config table and so it tries to upgrade the plugin tables again...and fails because they already exist in the database.

Show
James Allen added a comment - I think that I have the same issue and after some digging around it would appear that the script is unable to insert values into the config table. If I manually add an entry for "version" and "release" then it will continue and setup the module tables. Then it sets up the plugin tables but it appears that it again hasn't inserted the plugin version details into the config table and so it tries to upgrade the plugin tables again...and fails because they already exist in the database.
Hide
Petr Škoda (skodak) added a comment -

IIS by default uses custom error pages that override our error messages, please disable this feature in IIS.

Petr

Show
Petr Škoda (skodak) added a comment - IIS by default uses custom error pages that override our error messages, please disable this feature in IIS. Petr

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: