Page not found when adding new disussion topic in Moodle 2

Page not found when adding new disussion topic in Moodle 2

by John Fitchett -
Number of replies: 4

I recently upgraded from 1.9 to 2.0.7. Now, when anyone (admin / student etc) tries to 'add a new discussion topic' to the forum, they are able to type in their new message, but when they click the 'Post to forum' button, it goes to 'page not found / HTTP 404 - File not found ' (with the url being '/forum/post.php')

The strange thing is, that replies to an existing forum post made by clicking 'reply' work just fine.

How can I fix this? I have checked my server and the file /forum/post.php is definitely there! I even tried reuploaded that file to see if it had become corrupted or something, but that didn't help...

Please help!!

 

p.s - I turned debugging on and there were no onscreen error messages

Average of ratings: -
In reply to John Fitchett

Re: Page not found when adding new disussion topic in Moodle 2

by John Fitchett -

I really need help with this. I have look through the forum and really don't know where to start in fixing this.

Can anyone help?

In reply to John Fitchett

Re: Page not found when adding new disussion topic in Moodle 2

by John Fitchett -

I went into my database and checked my tables and got the following messages. How can I fix this? Seems to be a commone problem:

Problems with indexes of table `mdl_backup_ids_template`
UNIQUE and INDEX keys should not both be set for column `backupid`
More than one INDEX key was created for column `backupid`
Problems with indexes of table `mdl_backup_logs`
UNIQUE and INDEX keys should not both be set for column `backupid`
Problems with indexes of table `mdl_block_positions`
UNIQUE and INDEX keys should not both be set for column `blockinstanceid`
Problems with indexes of table `mdl_cohort_members`
UNIQUE and INDEX keys should not both be set for column `cohortid`
Problems with indexes of table `mdl_filter_active`
UNIQUE and INDEX keys should not both be set for column `contextid`
Problems with indexes of table `mdl_filter_config`
UNIQUE and INDEX keys should not both be set for column `contextid`
Problems with indexes of table `mdl_forum_read`
More than one INDEX key was created for column `userid`
Problems with indexes of table `mdl_grade_grades`
UNIQUE and INDEX keys should not both be set for column `userid`
Problems with indexes of table `mdl_grade_outcomes`
UNIQUE and INDEX keys should not both be set for column `courseid`
Problems with indexes of table `mdl_grade_outcomes_courses`
UNIQUE and INDEX keys should not both be set for column `courseid`
Problems with indexes of table `mdl_grade_settings`
UNIQUE and INDEX keys should not both be set for column `courseid`
Problems with indexes of table `mdl_post`
PRIMARY and INDEX keys should not both be set for column `id`
Problems with indexes of table `mdl_question_datasets`
More than one INDEX key was created for column `question`
Problems with indexes of table `mdl_question_numerical_units`
UNIQUE and INDEX keys should not both be set for column `question`
Problems with indexes of table `mdl_question_sessions`
UNIQUE and INDEX keys should not both be set for column `attemptid`
Problems with indexes of table `mdl_role_allow_assign`
UNIQUE and INDEX keys should not both be set for column `roleid`
Problems with indexes of table `mdl_role_allow_override`
UNIQUE and INDEX keys should not both be set for column `roleid`
Problems with indexes of table `mdl_role_allow_switch`
UNIQUE and INDEX keys should not both be set for column `roleid`
Problems with indexes of table `mdl_role_capabilities`
UNIQUE and INDEX keys should not both be set for column `roleid`
Problems with indexes of table `mdl_role_names`
UNIQUE and INDEX keys should not both be set for column `roleid`
Problems with indexes of table `mdl_role_sortorder`
UNIQUE and INDEX keys should not both be set for column `userid`
Problems with indexes of table `mdl_scorm_scoes_track`
UNIQUE and INDEX keys should not both be set for column `userid`
Problems with indexes of table `mdl_scorm_seq_mapinfo`
UNIQUE and INDEX keys should not both be set for column `scoid`
Problems with indexes of table `mdl_scorm_seq_objective`
UNIQUE and INDEX keys should not both be set for column `scoid`
Problems with indexes of table `mdl_scorm_seq_rolluprule`
UNIQUE and INDEX keys should not both be set for column `scoid`
Problems with indexes of table `mdl_scorm_seq_rolluprulecond`
UNIQUE and INDEX keys should not both be set for column `scoid`
Problems with indexes of table `mdl_scorm_seq_rulecond`
PRIMARY and INDEX keys should not both be set for column `id`
Problems with indexes of table `mdl_scorm_seq_ruleconds`
UNIQUE and INDEX keys should not both be set for column `scoid`
Problems with indexes of table `mdl_user_enrolments`
UNIQUE and INDEX keys should not both be set for column `enrolid`
Problems with indexes of table `mdl_user_lastaccess`
UNIQUE and INDEX keys should not both be set for column `userid`
Problems with indexes of table `mdl_wiki_locks_old`
UNIQUE and INDEX keys should not both be set for column `wikiid`
Problems with indexes of table `mdl_wiki_pages`
UNIQUE and INDEX keys should not both be set for column `subwikiid`
Problems with indexes of table `mdl_wiki_subwikis`
UNIQUE and INDEX keys should not both be set for column `wikiid`
Problems with indexes of table `mdl_workshopform_numerrors_map`
UNIQUE and INDEX keys should not both be set for column `workshopid`
Problems with indexes of table `mdl_workshop_aggregations`
UNIQUE and INDEX keys should not both be set for column `workshopid`
Problems with indexes of table `mdl_workshop_grades`
UNIQUE and INDEX keys should not both be set for column `assessmentid`

In reply to John Fitchett

Re: Page not found when adding new disussion topic in Moodle 2

by John Fitchett -

Well, I installed a brand new Moodle 2.0.7 on my server and its database had the same errors as above, whilst posting to forum etc all worked fine.. So that tells me it is not those errors above...

But still don't know what the problem is,.,

Have now found that when users try to sign up to become a member of my moodle site, they fill in the form, click 'submit' and then they also get a file not found 404 error message.

 

PLEASE HELP!!