General help

 
 
Picture of Mauricio Moreira Junior
Error File Not Found
 

Hello.


I have a problem when editing the summary section of the course. After clicking on the button save changes, an error occurs. The error display a message: Error 404 - File not found, but it doesn´t always happen.

What might be happening?

Server specification:
Moodle 2.3.3
SQL Server 2008
IIS 7
Win server 2008
1 GB Ram.

Thank you for your attention!

 
Average of ratings: -
Picture of Howard Miller
Re: Error File Not Found
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Switch on Debugging. Reproduce the fault.

Check your web server error log (at the end). What do you find?

 
Average of ratings: -
Picture of Mauricio Moreira Junior
Re: Error File Not Found
 

Debugging is on. The error is attached.

On the image the red text read as follow:
Error reading the database.

Thank you for your attention.


 
Average of ratings: -
Picture of Howard Miller
Re: Error File Not Found
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

If you do a Google search on "moodle the data types  ntext and nvarchar"....

I suppose this is a bug then....

 
Average of ratings: -
Picture of Mauricio Moreira Junior
Re: Error File Not Found
 

Thank, Howard.

I believe find the solution. Apparently some tables, in my case:
-mdl_files;
-mdl_files_reference;
-mdl_repository_instance_config.

Have an outdated datatype on MSSQL 2008, ntext.
Changing it to nvarchar(max) seems to have solved this problem.

The datatype ntext is deprecated by Microsoft.

Thank you.

 

 

 
Average of ratings: -