I did the Drupal 7.38 upgrade I have the following issue.

After updating I got this message

The version of Drupal you are updating from has been automatically detected.

12 Pending Updates

Apply Pending Updates

When I click on the "Apply Pending Updates" I got this error.

Fatal error: require_once(): Failed opening required '/home/a1ab/public_html/a1testing/sites/all/modules/course/plugins/content_types/course_take_course_button.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/php54/lib/php') in /home/a1ab/public_html/a1testing/sites/all/modules/ctools/includes/plugins.inc on line 475

I do not know what this error is telling me. . . Any suggestions will be great. . .Actually a solution is what I am looking for. Is a file missing ??

The 12 Pending Updates where:
course module

7130 - Install the new course_enrollment_type table for 7.x-1.3.
7131 - Add a coid column to the course report table.
7132 - Fix grade_result fields.
7133 - Add a serialized data field on enrollments.
ctools module

7000 - Enable the custom CSS cache handler.
7001 - Increase the length of the ctools_object_cache.obj column.
entity module

7003 - Create cache tables for entities that support Entity cache module.
file_entity module

7101 - Create the {image_dimensions} database table.
print module

7103 - Increase size of the path field in the print_page_counter table
print_mail module

7103 - Increase size of the path field in the print_mail_page_counter table
print_pdf module

7105 - Increase size of the path field in the print_pdf_page_counter table
webform module

7322 - Add index on {webform_submitted_data}.data.

Thanks.

Comments

Jaypan’s picture

The error tells you the error - you are missing the file it is saying you are missing. You need to add this file in the location being specified.

davidflash’s picture

Okay, I added the missing file. . I did not know "Failed Opening" means a missing file .. I wasn't sure.

However, thanks for reply. . ... However, I continued to update some out-of-date modules with great success EXCEPT.

The last two errors: I tried rename the table then ran the update.php still got the same errors. . .See below.

The below are the last updates the DB needed to run, but got the errors as listed below.

course module

7130 - Install the new course_enrollment_type table for 7.x-1.3.
7131 - Add a coid column to the course report table.
7132 - Fix grade_result fields.
7133 - Add a serialized data field on enrollments.
webform module

7322 - Add index on {webform_submitted_data}.data.

The following updates returned messages

course module

Update #7130
Failed: DatabaseSchemaObjectExistsException: Table course_enrollment_type already exists. in DatabaseSchema->createTable() (line 657 of /home/a1ab/public_html/a1testing/includes/database/schema.inc).
webform module

Update #7322
Failed: DatabaseSchemaObjectExistsException: Cannot add index data to table webform_submitted_data: index already exists. in DatabaseSchema_mysql->addIndex() (line 437 of /home/a1ab/public_html/a1testing/includes/database/mysql/schema.inc).

Should I ignored the Failed notices . . Again I tried renaming the course_enrollment_type to course_enrollment_type_OLD thinking that this would solve the issue, but I still got the same errors.

Any suggests will be appreciated.

Thanks

davidflash’s picture

I rename the file thinking . .that this would possibly solve the issue.. . But instead Drupal just created the table AND still give me the same error message !

Hope this will help the Drupal Grus out in solving this mystery.

Thanks.