Skip to content

repair_settings.php issues with 2.1 #41

@illori

Description

@illori

Notice: Use of undefined constant TIME_START - assumed 'TIME_START' in C:\wamp64\www\github2.1\Sources\Subs-Db-mysql.php on line 480

1 | 0.0000 | 392312 | {main}( ) | ...\repair_settings124589.php:0
2 | 0.0002 | 392336 | initialize_inputs( ) | ...\repair_settings124589.php:20
3 | 0.0117 | 405600 | smf_db_list_tables( ) | ...\repair_settings124589.php:381
4 | 0.0117 | 405976 | smf_db_query( ) | ...\DbExtra-mysql.php:243

Warning: A non-numeric value encountered in C:\wamp64\www\github2.1\Sources\Subs-Db-mysql.php on line 480

1 | 0.0000 | 392312 | {main}( ) | ...\repair_settings124589.php:0
2 | 0.0002 | 392336 | initialize_inputs( ) | ...\repair_settings124589.php:20
3 | 0.0117 | 405600 | smf_db_list_tables( ) | ...\repair_settings124589.php:381
4 | 0.0117 | 405976 | smf_db_query( ) | ...\DbExtra-mysql.php:243

https://i.imgur.com/9FhVw4M.png

repair_settings.php does change some of the attachment paths but not all are changed hence causing issues with running the upgrade as the paths cannot be found. the path that is correct is the lower path that has correct status but the top base directory paths are wrong and cannot be changed. even when using the option to restore all settings apparently some are missing.

given in this case i have renamed repair_settings.php but that should not cause this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions